------- Comment #6 from aoliva at gcc dot gnu dot org  2009-09-02 15:22 -------
Thanks.  Clearly stripping like that isn't going to be enough, and it's not
just a matter of skipping a few initial bytes with a timestamp or somesuch.

Oh well...  Back to the drawing board.  Unless we can find some way to get the
same object file out of compilations with and without -g, this platform (and
possibly others) will have to make do with the more expensive -fcompare-debug
:-(

Now I'm trying to figure out how to test whether this works.  Like, ideally we
should perform a compile-and-compare test using the stage1 compiler in order to
decide what flags to use for the stage2 and stage3 by default.

Meanwhile, please override the build with "BUILD_CONFIG=". 
config/bootstrap-debug-lean.mk should probably be tweaked to not do -gtoggle or
compare-debug, so that it adds to config/bootstrap-debug.mk, rather than
duplicating it in a way that would fail on darwin too.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41224

Reply via email to