I have an x86 NetBSD box and am attempting to build gcc for pdp11-dec-bsd. I have binutils 2.17 installed and configured for that target, and I have includes and libraries from the latest revision of 2.11BSD.
configure is run as ../configure --target=pdp11-dec-bsd --enable-languages=c --with-gmp=/usr/pkg Building gets to this point: /usr/src/gcc/vax/./gcc/xgcc -B/usr/src/gcc/vax/./gcc/ -B/usr/local/pdp11-dec-bsd/bin/ -B/usr/local/pdp11-dec-bsd/lib/ -isystem /usr/local/pdp11-dec-bsd/include -isystem /usr/local/pdp11-dec-bsd/sys-include -O2 -g -O2 -msoft-float -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -O2 -mfloat32 -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../.././gcc -I../../../../libgcc -I../../../../libgcc/. -I../../../../libgcc/../gcc -I../../../../libgcc/../include -I../../../../libgcc/../libdecnumber -I../../../libdecnumber -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../../libgcc/../gcc/libgcc2.c \ cc1: warning: target system does not support debug output cc1: warning: target system does not support debug output cc1: warning: target system does not support debug output /var/tmp//ccSoMtqq.s: Assembler messages: /var/tmp//ccSoMtqq.s:323: Error: junk at end of line, first unrecognized character is `0' /var/tmp//ccSoMtqq.s:324: Error: junk at end of line, first unrecognized character is `0' /var/tmp//ccSoMtqq.s:325: Error: junk at end of line, first unrecognized character is `0' /var/tmp//ccSoMtqq.s:326: Error: junk at end of line, first unrecognized character is `0' /var/tmp//ccSoMtqq.s:329: Error: junk at end of line, first unrecognized character is `0' /var/tmp//ccSoMtqq.s:330: Error: junk at end of line, first unrecognized character is `0' gmake[4]: *** [_muldi3.o] Error 1 The mis-generated assembly is at the very end of the file, and looks like this: LC_0: 0 /* short */ 0 /* short */ 0 /* short */ 0 /* short */ .even LC_1: 0 /* short */ 0 /* short */ Unfortunately I have not the faintest clue as to what is happening here, or why. I would be happy to provide more details if someone can tell me what they need. -- Summary: pdp11-dec-bsd will not successfully build Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hbent at cs dot oberlin dot edu GCC build triplet: i386-unknown-netbsdelf4.99.9 GCC host triplet: i386-unknown-netbsdelf4.99.9 GCC target triplet: pdp11-dec-bsd http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30974