From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 2 Aug 1996 15:45:15 -0500 (CDT) From: Richard Henderson Subject: Re: compiling a kernel In-Reply-To: <199608022017.NAA03611@eve.speakeasy.org> > When I do a "make LANGUAGES=c", after configuring, compiling and > installing binutils-2.7 (straight from prep) for target > alpha-linuxecoff, i get: > > _muldi3 > In file included from config/alpha/xm-linux.h:4, > from tconfig.h:1, > from ./libgcc2.c:33: > config/alpha/xm-alpha.h:65: string.h: No such file or directory > make: *** [libgcc2.a] Error 1 Ah. I forgot about these. You can get get libgcc2 built by creating empty versions in ./gcc/include. Don't forget to get rid of them after you install gcc, though. Though really, you don't need libgcc.a to build the kernel, so you could get away with skipping that too. > "make LANGUAGES=c CFLAGS+=-I/usr/local/src/kernel/linux/include/asm-alpha" This is a bad idea, I think. Better to go with the empty files than risk including the wrong sorts of files. > or CFLAGS+=-Dinhibit_libc This is a good idea. I'd forgotten about __eprint as well. > _divdi3 > /tmp/cca08989.s: Assembler messages: > /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect > /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect > /tmp/cca08989.s:317: Error: macro requires $at while $at in use > /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect > /tmp/cca08989.s:317: Error: macro requires $at while $at in use > /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect > /tmp/cca08989.s:317: Error: macro requires $at while $at in use > /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect > /tmp/cca08989.s:317: Error: macro requires $at while $at in use > > and so and and so on, for about 30000 lines! > > and at the end: > > xgcc: Internal compiler error: program as got fatal signal 11 It looks like some sort of recursive badness I havn't encountered before. Could you please send me the assembly file that generates this? r~ -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null