egcs-19980425 breaks linux-2.1.98!
H.J. Lu
hjl@lucon.org
Sun Apr 26 18:55:00 GMT 1998
>
> I just compiled linux-2.1.98 with egcs-19980425 (works fine with
> egcs-980321). The result Oopses immediately, and panics(" Attempted to kill
> idle task! in swapper - not syncing"). The oops is at the first line of
> register_proc_table, the assembly generated by both compilers here is the
> same. Somehow it is called with wrong args somewhere.
>
> Will try to analyse further, staying at 980321 for the time being.
The current egcs in CVS doesn't even pass "make check" in libstdc++
on Linux/x86.
--
H.J. Lu (hjl@gnu.org)
--
Executing on host: /home/work/gnu/bin/egcs/gcc/xgcc -B/home/work/gnu/bin/egcs/gcc/ /home/work/gnu/src/egcs/libstdc++/testsuite/libstdc++.tests/../../tests/tstring.cc -I.. -I/home/work/gnu/src/egcs/libstdc++/testsuite/.. -I/home/work/gnu/src/egcs/libstdc++/testsuite/../stl -I. -I/home/work/gnu/src/egcs/libio -I/home/work/gnu/bin/egcs/libraries/libio -g -L/home/work/gnu/bin/egcs/libraries//libstdc++ -lstdc++ -lm -o /home/work/gnu/bin/egcs/libraries/libstdc++/testsuite/tstring
PASS: tstring.cc compilation
spawn [open ...]
an empty string:
A string initialized to Hello:Hello
A string initialized to previous string:Hello
A string initialized to (previous string, 1, 2):el
A string initialized to @:@
A string initialized to 20:20
n = 20 atoi(n) = 20 atof(n) = 20
is = Hello
tstring: /home/work/gnu/src/egcs/libstdc++/testsuite/libstdc++.tests/../../tests/tstring.cc:144: void substrtest(): Assertion `x == "Hero"' failed.
z = x + y = Helloworld
x += y; x = Helloworld
y.insert (0, x); y = Helloworld
x = x + y + x; x = HelloworldHello
x = y + x + x; x = worldHelloHello
z = x + s + + y.substr (y.find (w), 1) + y.substr (y.find (w) + 1) + . = Hello, world.
ch = x[0] = H
z = x.substr (2, 3) = llo
x.replace (2, 2, r); x = Hero
More information about the Gcc
mailing list