------- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-01-26 13:16 ------- Created an attachment (id=12960) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12960&action=view) Preprocessed source for file a.c
Minimal testcase using the xgcc binary made before the bootstrap fails: $ cat a.c #include <signal.h> int main (void) { return 0; } $ cat b.c #include <signal.h> void foo(void) { ; } $ /home/fxcoudert/debug/ibin/./gcc/xgcc -B/home/fxcoudert/debug/ibin/./gcc/ -B/home/fxcoudert/debug/ibin/../irun/i386-unknown-netbsdelf2.0.2/bin/ -B/home/fxcoudert/debug/ibin/../irun/i386-unknown-netbsdelf2.0.2/lib/ -isystem /home/fxcoudert/debug/ibin/../irun/i386-unknown-netbsdelf2.0.2/include -isystem /home/fxcoudert/debug/ibin/../irun/i386-unknown-netbsdelf2.0.2/sys-include -std=c99 a.c b.c /var/tmp//ccbQwhuy.o(.text+0x0): In function `__sigaddset14': : multiple definition of `__sigaddset14' /var/tmp//ccqlPWOi.o(.text+0x0): first defined here /var/tmp//ccbQwhuy.o(.text+0x67): In function `__sigdelset14': : multiple definition of `__sigdelset14' /var/tmp//ccqlPWOi.o(.text+0x67): first defined here /var/tmp//ccbQwhuy.o(.text+0xd0): In function `__sigismember14': : multiple definition of `__sigismember14' /var/tmp//ccqlPWOi.o(.text+0xd0): first defined here /var/tmp//ccbQwhuy.o(.text+0x127): In function `__sigemptyset14': : multiple definition of `__sigemptyset14' /var/tmp//ccqlPWOi.o(.text+0x127): first defined here /var/tmp//ccbQwhuy.o(.text+0x158): In function `__sigfillset14': : multiple definition of `__sigfillset14' /var/tmp//ccqlPWOi.o(.text+0x158): first defined here collect2: ld returned 1 exit status -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30058