From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: compiling a kernel
Date: Fri, 2 Aug 1996 15:45:15 -0500 (CDT) [thread overview]
Message-ID: <m0umR5x-0001vzC@atheist.tamu.edu> (raw)
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
next prev parent reply other threads:[~1996-08-02 20:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m0umAW7-0001x3C@atheist.tamu.edu>
1996-08-02 20:17 ` compiling a kernel Brett McCormick
1996-08-02 20:45 ` Richard Henderson [this message]
1999-06-08 20:41 Compiling " Kevin
[not found] <Pine.LNX.3.91.971126135439.30999B-100000@eagle.auc.laurentian.ca>
1997-11-27 11:16 ` Roman Martonak
1997-11-27 14:43 ` Niklas Anderzon
-- strict thread matches above, loose matches on Subject: below --
1997-11-26 19:04 Tack
[not found] <smorris@midwest.net>
1997-05-18 23:35 ` Compiling A Kernel Bryan W. Headley
[not found] <3.0.1.32.19970517090226.0094caa0@mail.midwest.net>
1997-05-17 14:19 ` Rick Windham
1997-05-17 14:05 Hein Roehrig
1997-05-17 14:02 Shawn Morris
[not found] <199607312252.PAA27194@eve.speakeasy.org>
1996-08-01 15:39 ` compiling a kernel Richard Henderson
1996-08-01 19:17 ` Brett McCormick
1996-08-01 20:53 ` Brett McCormick
1996-08-01 23:34 ` Richard Henderson
1996-08-02 2:49 ` Brett McCormick
1996-08-02 3:03 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox