No luck building GCC on sparc-linux using --with-gc=zone

Jim Wilson wilson@specifixinc.com
Tue Mar 30 08:18:00 GMT 2004


Art Haas wrote:
> failed. Is the '--with-gc=zone' option something that non-X86 builds
> should avoid?

It should work for any target with mmap I think.  However, it is fairly 
new, so it may still have some portability problems.

The default is for gcc to not dump core when it ICEs.  Core files just 
confuse average users.  We only generate a core file if we have an 
unhandled signal that causes a core dump.  To debug the problem, you 
need to run cc1 (or cc1plus or whatever) under gdb, and put a breakpoint 
on fancy_abort.  The gcc .gdbinit file will do this for you 
automatically if you run gdb in the build tree.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list