patchThe GNU Hurd - Patches: patch #6508, Reassigned to another tracker...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6508: Reassigned to another tracker [was: Building with -g3]

Submitter:  Andrei Barbu <abarbu>
Submitted:  Fri 09 May 2008 03:45:19 PM UTC
   
 
Category:  GNU Mach Priority:  5 - Normal
Status:  In Progress Privacy:  Public
Assigned to:  tschwinge Open/Closed:  Closed
Planned Release:  None
Wiki-like text discussion box: 


Wed 28 May 2008 08:24:23 PM UTC, comment #2: 

THIS ITEM WAS REASSIGNED TO BUG #23417


Please, do not post any new comments to this item.

Thomas Schwinge <tschwinge>
Group administrator
Mon 19 May 2008 01:30:27 PM UTC, comment #1: 

Your analysis is correct, however I found a slightly more elegant solution to strip out the unwanted ``#define''s and installed that one instead.

    2008-05-19  Thomas Schwinge  <tschwinge@gnu.org>
   
    -- Building with -g3
    * Makefile.am (MIGCOM): Let it filter through CPP again.
    Suggested by Andrei Barbu <teval0@gmail.com>.


We now get warnings like these:

    <built-in>:1:1: warning: "__STDC__" redefined
    <built-in>: warning: this is the location of the previous definition
    <built-in>:1:1: warning: "__STDC_HOSTED__" redefined
    <built-in>: warning: this is the location of the previous definition

This needs to be tracked down before this case can be closed.

Thomas Schwinge <tschwinge>
Group administrator
Fri 09 May 2008 03:45:19 PM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO BUG #23417
Currently cpp runs over the headers with $CFLAGS and then the results are passed to mig. With -g3 cpp generates some #defines in the final output, mig is not happy with this situation. This patch just runs cpp over the headers again before passing them to mig without $CFLAGS in order to strip those #defines out. This lets you compile mach with -g3.

Andrei Barbu <abarbu>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tschwinge (Updated the item)
  • -email is unavailable- added by abarbu (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-28 tschwinge Reassign ItemThe GNU Hurd, patch #6508 The GNU Hurd, bug #23417
    2008-05-19 tschwinge StatusNone In Progress
    2008-05-11 tschwinge Assigned toNone tschwinge
    2008-05-09 abarbu Attached File- Added debugging.patch, #15648

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code