* The stock 2.2.10 does not compile right on Linux/Alpha
@ 1999-06-29 4:00 G. Hugh SONG
1999-06-29 4:00 ` Andrew Pochinsky
1999-06-30 4:00 ` rsimpson
0 siblings, 2 replies; 8+ messages in thread
From: G. Hugh SONG @ 1999-06-29 4:00 UTC (permalink / raw)
The stock 2.2.10 does not compile right on Linux/Alpha.
I get
gcc -D__KERNEL__ -I/home/usrlocal/src/linux-2.2.10/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs
-ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -c -o inode.o inode.c
make[3]: *** [inode.o] Illegal instruction
make[3]: *** Deleting file `inode.o'
make[3]: Leaving directory `/home/usrlocal/src/linux-2.2.10/fs/smbfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/usrlocal/src/linux-2.2.10/fs/smbfs'
make[1]: *** [_subdir_smbfs] Error 2
make[1]: Leaving directory `/home/usrlocal/src/linux-2.2.10/fs'
make: *** [_dir_fs] Error 2
It appears that they do not switch on sufficient number of features
for Linux/Alpha.
Thank you.
--
G. Hugh Song
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The stock 2.2.10 does not compile right on Linux/Alpha
1999-06-29 4:00 The stock 2.2.10 does not compile right on Linux/Alpha G. Hugh SONG
@ 1999-06-29 4:00 ` Andrew Pochinsky
1999-06-30 4:00 ` G. Hugh SONG
1999-06-30 4:00 ` rsimpson
1 sibling, 1 reply; 8+ messages in thread
From: Andrew Pochinsky @ 1999-06-29 4:00 UTC (permalink / raw)
"G. Hugh SONG" wrote:
> The stock 2.2.10 does not compile right on Linux/Alpha.
> I get
>
> gcc -D__KERNEL__ -I/home/usrlocal/src/linux-2.2.10/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs
> -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -c -o inode.o inode.c
> make[3]: *** [inode.o] Illegal instruction
You probably need to upgrade the gcc; I had exactly the same problem until
installing egcs-1.1.2
--andrew
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The stock 2.2.10 does not compile right on Linux/Alpha
1999-06-29 4:00 ` Andrew Pochinsky
@ 1999-06-30 4:00 ` G. Hugh SONG
0 siblings, 0 replies; 8+ messages in thread
From: G. Hugh SONG @ 1999-06-30 4:00 UTC (permalink / raw)
Andrew Pochinsky wrote:
>
> "G. Hugh SONG" wrote:
>
> > The stock 2.2.10 does not compile right on Linux/Alpha.
> > I get
> >
> > gcc -D__KERNEL__ -I/home/usrlocal/src/linux-2.2.10/include -Wall
> > -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs
> > -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -c -o inode.o inode.c
> > make[3]: *** [inode.o] Illegal instruction
>
> You probably need to upgrade the gcc; I had exactly the same problem until
> installing egcs-1.1.2
>
> --andrew
That was with egcs-1.1.2-12.
Regards,
--
G. Hugh Song
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The stock 2.2.10 does not compile right on Linux/Alpha
1999-06-29 4:00 The stock 2.2.10 does not compile right on Linux/Alpha G. Hugh SONG
1999-06-29 4:00 ` Andrew Pochinsky
@ 1999-06-30 4:00 ` rsimpson
1999-06-30 4:00 ` Toon Moene
1 sibling, 1 reply; 8+ messages in thread
From: rsimpson @ 1999-06-30 4:00 UTC (permalink / raw)
G. Hugh SONG <ghsong@nospam.com> wrote:
: gcc -D__KERNEL__ -I/home/usrlocal/src/linux-2.2.10/include -Wall
: -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs
: -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -c -o inode.o inode.c
: make[3]: *** [inode.o] Illegal instruction
: make[3]: *** Deleting file `inode.o'
: make[3]: Leaving directory `/home/usrlocal/src/linux-2.2.10/fs/smbfs'
: make[2]: *** [first_rule] Error 2
: make[2]: Leaving directory `/home/usrlocal/src/linux-2.2.10/fs/smbfs'
: make[1]: *** [_subdir_smbfs] Error 2
: make[1]: Leaving directory `/home/usrlocal/src/linux-2.2.10/fs'
: make: *** [_dir_fs] Error 2
: It appears that they do not switch on sufficient number of features
: for Linux/Alpha.
For some wierd reason the compiler keeps failing on the latest kernels
(or maybe its the compiler). Anyway, when you get the above message just type
'make boot' again and it should compile inode.o again and keep going.
I sometimes have to restart the make process 2 or 3 times before it gets to the
end.
Anyone know what could be causing this?
Thanks,
--
Richard Simpson
Farnborough, Hants, Uk Fax: 01252 392118
rsimpson@ewrcsdra.Cut_This_Out.demon.co.uk
I am not aware of any views shared by myself and my employers.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The stock 2.2.10 does not compile right on Linux/Alpha
1999-06-30 4:00 ` rsimpson
@ 1999-06-30 4:00 ` Toon Moene
1999-07-01 4:00 ` Michal Jaegermann
1999-07-01 4:00 ` David Huggins-Daines
0 siblings, 2 replies; 8+ messages in thread
From: Toon Moene @ 1999-06-30 4:00 UTC (permalink / raw)
rsimpson@ewrcsdra.CutThisOut.demon.co.uk wrote:
> For some wierd reason the compiler keeps failing on the latest kernels
> (or maybe its the compiler). Anyway, when you get the above message just type
> 'make boot' again and it should compile inode.o again and keep going.
> I sometimes have to restart the make process 2 or 3 times before it gets to the
> end.
> Anyone know what could be causing this?
Dying hardware :-(
Compiling is a deterministic process (at least when using gcc :-) You
cannot compile a given source file "50 % of the time".
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://world.std.com/~burley/g77.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The stock 2.2.10 does not compile right on Linux/Alpha
1999-06-30 4:00 ` Toon Moene
@ 1999-07-01 4:00 ` Michal Jaegermann
1999-07-01 4:00 ` Toon Moene
1999-07-01 4:00 ` David Huggins-Daines
1 sibling, 1 reply; 8+ messages in thread
From: Michal Jaegermann @ 1999-07-01 4:00 UTC (permalink / raw)
Toon Moene (toon@moene.indiv.nluug.nl) wrote:
: rsimpson@ewrcsdra.CutThisOut.demon.co.uk wrote:
: > For some wierd reason the compiler keeps failing on the latest kernels
: > (or maybe its the compiler). Anyway, when you get the above message just type
: > 'make boot' again and it should compile inode.o again and keep going.
: > I sometimes have to restart the make process 2 or 3 times before it gets to the
: > end.
: > Anyone know what could be causing this?
: Dying hardware :-(
This _could_ be a problem with ASNs causing apparently random failures
in vfork. Get and apply ftp://ftp.twiddle.net/pub/rth/d-asn-2.gz patch
and see what will happen after that. Remeber that rth likely wants
to know if it really helped or not.
I think that www.alphalinux.org has references to this patch.
Michal
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The stock 2.2.10 does not compile right on Linux/Alpha
1999-07-01 4:00 ` Michal Jaegermann
@ 1999-07-01 4:00 ` Toon Moene
0 siblings, 0 replies; 8+ messages in thread
From: Toon Moene @ 1999-07-01 4:00 UTC (permalink / raw)
Michal Jaegermann wrote:
>
> Toon Moene (toon@moene.indiv.nluug.nl) wrote:
> : > Anyone know what could be causing this?
>
> : Dying hardware :-(
>
> This _could_ be a problem with ASNs causing apparently random failures
> in vfork. Get and apply ftp://ftp.twiddle.net/pub/rth/d-asn-2.gz patch
> and see what will happen after that. Remeber that rth likely wants
> to know if it really helped or not.
You're right - I was jumping to conclusions - people who are using
bleeding edge kernels, C libraries and device drivers could see these
effects due to software errors, although not because of errors in the
_compiler_. The compiler is deterministic (perhaps we should make it
multithreaded and then throw in a race condition, just to remind people
when they're using a bleeding edge version of the compiler ;-)
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://world.std.com/~burley/g77.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: The stock 2.2.10 does not compile right on Linux/Alpha
1999-06-30 4:00 ` Toon Moene
1999-07-01 4:00 ` Michal Jaegermann
@ 1999-07-01 4:00 ` David Huggins-Daines
1 sibling, 0 replies; 8+ messages in thread
From: David Huggins-Daines @ 1999-07-01 4:00 UTC (permalink / raw)
Toon Moene <toon@moene.indiv.nluug.nl> writes:
> Dying hardware :-(
>
> Compiling is a deterministic process (at least when using gcc :-) You
> cannot compile a given source file "50 % of the time".
Strangely enough, compiling things on Linux 2.2.10 (both -linus and
-ac4) gave me exactly these sorts of non-deterministic errors, whereas
2.2.7 does not. I know of at least one other person who has had the
same experience. It's one of those things that shouldn't happen, but
does... possibly some sort of weird race condition or something (which
is about the only thing that could account for the randomness of the
failure)
If you can get 2.2.7 (with the net/ipv4/ip_options.c DoS patch of
course!) to compile, then you might be all right from that point on.
And yes, the 2.2.10 source code compiles flawlessly for me when
running 2.2.7 :-)
--
You do{} stuff. Then it's $done. Then you die().
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1999-07-01 4:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-29 4:00 The stock 2.2.10 does not compile right on Linux/Alpha G. Hugh SONG
1999-06-29 4:00 ` Andrew Pochinsky
1999-06-30 4:00 ` G. Hugh SONG
1999-06-30 4:00 ` rsimpson
1999-06-30 4:00 ` Toon Moene
1999-07-01 4:00 ` Michal Jaegermann
1999-07-01 4:00 ` Toon Moene
1999-07-01 4:00 ` David Huggins-Daines
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox