* linux-2.3.[23] won't boot with egcs-2.93.22: Some progress
@ 1999-05-19 21:36 Horst von Brand
1999-05-31 21:36 ` Horst von Brand
0 siblings, 1 reply; 2+ messages in thread
From: Horst von Brand @ 1999-05-19 21:36 UTC (permalink / raw)
To: linux-kernel, egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
This is i586/100 UP, binutils-2.9.1.0.24, glibc-2.1.1pre3; most of the rest
is stock RedHat-6.0
It was reported that the above combination won't boot (it fails loading
block-major-3 even for IDE builtin!). egcs-1.1.2 (i.e., 2.91.66) works
fine.
I built several 2.3.3 kernels mixing *.o built with both compilers, and
found out that the offending file is drivers/block/ide.c: If just that one
is compiled with 1.1.2, the kernel works fine as far as my (limited!)
testing shows. If that file is compiled with egcs-2.93.19 the kernel
crashes too (I have no older egcs snapshots here to check).
Sadly, the file is quite big (I counted 160 functions), and the compilers
generate rather different code, so a simple diff(1) of the assembler
outputs doesn't help much. Mixing and matching functions out of both
listings cold help to narrow down the search, but some global labels don't
match and it's late now...
BTW, there is a bug in the file: An init_waitqueue_head() is duplicated in
init_hwif_data(), but that isn't the problem.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616
^ permalink raw reply [flat|nested] 2+ messages in thread
* linux-2.3.[23] won't boot with egcs-2.93.22: Some progress
1999-05-19 21:36 linux-2.3.[23] won't boot with egcs-2.93.22: Some progress Horst von Brand
@ 1999-05-31 21:36 ` Horst von Brand
0 siblings, 0 replies; 2+ messages in thread
From: Horst von Brand @ 1999-05-31 21:36 UTC (permalink / raw)
To: linux-kernel, egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
This is i586/100 UP, binutils-2.9.1.0.24, glibc-2.1.1pre3; most of the rest
is stock RedHat-6.0
It was reported that the above combination won't boot (it fails loading
block-major-3 even for IDE builtin!). egcs-1.1.2 (i.e., 2.91.66) works
fine.
I built several 2.3.3 kernels mixing *.o built with both compilers, and
found out that the offending file is drivers/block/ide.c: If just that one
is compiled with 1.1.2, the kernel works fine as far as my (limited!)
testing shows. If that file is compiled with egcs-2.93.19 the kernel
crashes too (I have no older egcs snapshots here to check).
Sadly, the file is quite big (I counted 160 functions), and the compilers
generate rather different code, so a simple diff(1) of the assembler
outputs doesn't help much. Mixing and matching functions out of both
listings cold help to narrow down the search, but some global labels don't
match and it's late now...
BTW, there is a bug in the file: An init_waitqueue_head() is duplicated in
init_hwif_data(), but that isn't the problem.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-05-31 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-19 21:36 linux-2.3.[23] won't boot with egcs-2.93.22: Some progress Horst von Brand
1999-05-31 21:36 ` Horst von Brand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).