This bug can also be reproduced without systemtap. Simple demo attached.
Usage (on i386):
% gcc-4.0 -g -mregparm=2 -O2 driver.c 1.c
% gdb ./a.out
GNU gdb 6.4.90-debian
...cut...
(gdb) br sys_open
Breakpoint 1 at 0x8048363: file 1.c, line 5.
(gdb) run
Starting program: /tmp/out/a.out
Breakpoint 1,
On Mon, Jul 17, 2006 at 10:56:54PM +0200, Falk Hueffner wrote:
> Stephen R Marenka <[EMAIL PROTECTED]> writes:
>
> > On Mon, Jul 17, 2006 at 09:08:42PM +0200, Falk Hueffner wrote:
> >> Stephen R Marenka <[EMAIL PROTECTED]> writes:
> >
> > So you're saying the only way is to compile, link, and test
LAST_UPDATED: Obtained from SVN: trunk revision 115451
Native configuration is powerpc-unknown-linux-gnu
=== g++ tests ===
Running target unix
=== g++ Summary ===
# of expected passes12841
# of expected failures 65
# of unsupported tests
LAST_UPDATED: Obtained from SVN: trunk revision 115451
Native configuration is alpha-unknown-linux-gnu
=== libffi tests ===
Running target unix
FAIL: libffi.call/float4.c -O0 -W -Wall execution test
FAIL: libffi.call/float4.c -O2 execution test
FAIL: libffi.call/float4.c -O3 exe
LAST_UPDATED: Sat Jul 15 14:57:20 UTC 2006 (revision 115474)
=== acats tests ===
FAIL: c64201b
=== acats Summary ===
# of expected passes2316
# of unexpected failures1
Native configuration is s390-ibm-linux-gnu
=== g++ tests =
LAST_UPDATED: Sat Jul 15 14:57:20 UTC 2006 (revision 115474)
=== acats tests ===
=== acats Summary ===
# of expected passes2317
# of unexpected failures0
Native configuration is sparc-unknown-linux-gnu
=== g++ tests ===
Runnin
LAST_UPDATED: Sat Jul 15 14:57:20 UTC 2006 (revision 115474)
=== acats tests ===
FAIL: cxac001
=== acats Summary ===
# of expected passes2316
# of unexpected failures1
Native configuration is powerpc-unknown-linux-gnu
=== g++
LAST_UPDATED: Sat Jul 15 14:57:20 UTC 2006 (revision 115474)
=== acats tests ===
FAIL: c96005d
FAIL: cc3120a
=== acats Summary ===
# of expected passes1959
# of unexpected failures2
# of unsupported tests 356
Native configuration is
LAST_UPDATED: Sat Jul 15 14:57:20 UTC 2006 (revision 115474)
=== acats tests ===
FAIL: c96005d
FAIL: cc3120a
=== acats Summary ===
# of expected passes1959
# of unexpected failures2
# of unsupported tests 356
Native configuration is
LAST_UPDATED: Sat Jul 15 14:57:20 UTC 2006 (revision 115474)
=== acats tests ===
FAIL: c65003b
=== acats Summary ===
# of expected passes2316
# of unexpected failures1
Native configuration is x86_64-pc-linux-gnu
=== g++ tests
LAST_UPDATED: Sat Jul 15 14:57:20 UTC 2006 (revision 115474)
=== acats tests ===
FAIL: cxf3a01
FAIL: cxf3a02
=== acats Summary ===
# of expected passes2315
# of unexpected failures2
Native configuration is i486-pc-linux-gnu
LAST_UPDATED: Fri Jun 30 10:39:17 UTC 2006 (revision 115087)
Native configuration is s390-ibm-linux-gnu
=== g++ tests ===
Running target unix
XPASS: g++.old-deja/g++.other/init5.C execution test
=== g++ Summary ===
# of expected passes11453
# of une
LAST_UPDATED: Sat Jul 15 14:57:20 UTC 2006 (revision 115474)
Native configuration is alpha-unknown-linux-gnu
=== libffi tests ===
Running target unix
=== libffi Summary ===
# of expected passes228
# of unsupported tests 2
==
LAST_UPDATED: Fri Jun 30 10:39:17 UTC 2006 (revision 115087)
Native configuration is powerpc-unknown-linux-gnu
=== g++ tests ===
Running target unix
=== g++ Summary for unix ===
# of expected passes11551
# of expected failures 69
# of unsup
LAST_UPDATED: Fri Jun 30 10:39:17 UTC 2006 (revision 115087)
Native configuration is sparc-unknown-linux-gnu
=== g++ tests ===
Running target unix
XPASS: g++.old-deja/g++.other/init5.C execution test
=== g++ Summary for unix ===
# of expected passes
LAST_UPDATED: Fri Jun 30 10:39:17 UTC 2006 (revision 115087)
Native configuration is i486-pc-linux-gnu
=== g++ tests ===
Running target unix
XPASS: g++.old-deja/g++.other/init5.C execution test
=== g++ Summary for unix ===
# of expected passes11525
LAST_UPDATED: Fri Jun 30 10:39:17 UTC 2006 (revision 115087)
Native configuration is hppa-unknown-linux-gnu
=== gcc tests ===
Running target unix
XPASS: gcc.dg/const-elim-1.c scan-assembler-not L\$?C[^A-Z]
XPASS: gcc.dg/tree-ssa/loop-1.c scan-assembler-times foo 5
LAST_UPDATED: Fri Jun 30 10:39:17 UTC 2006 (revision 115087)
Native configuration is alpha-unknown-linux-gnu
=== libffi tests ===
Running target unix
=== libffi Summary ===
# of expected passes219
# of unsupported tests 2
==
LAST_UPDATED: Fri Jun 30 10:39:17 UTC 2006 (revision 115087)
Native configuration is x86_64-pc-linux-gnu
=== g++ tests ===
Running target unix
XPASS: g++.old-deja/g++.other/init5.C execution test
=== g++ Summary for unix ===
# of expected passes1144
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is sparc-linux-gnu (mrpurply)
=== gpc tests ===
Running target any
FAIL: fjf980a.pas
FAIL: fjf980b.pas
FAIL: fjf998r.pas
=== gpc Summary ===
# of tests5
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is s390-linux-gnu (lxdebian.bfinv.de)
=== gpc tests ===
Running target any
FAIL: fjf998r.pas
=== gpc Summary ===
# of tests5057
# of expected passes
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is mipsel-linux-gnu (mayer)
=== gpc tests ===
Running target any
FAIL: fjf998r.pas
FAIL: prep2p.pas
=== gpc Summary ===
# of tests5057
# of expected pas
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is powerpc-linux-gnu (doko)
=== gpc tests ===
Running target any
FAIL: fjf998r.pas
FAIL: prep2p.pas
=== gpc Summary ===
# of tests5057
# of expected pas
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is i486-linux-gnu (salsa)
=== gpc tests ===
Running target any
FAIL: fjf998r.pas
=== gpc Summary ===
# of tests5057
# of expected passes 5055
# of
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is mips-linux-gnu (ball)
=== gpc tests ===
Running target any
FAIL: fjf998r.pas
FAIL: pack1.pas
FAIL: prep2p.pas
=== gpc Summary ===
# of tests5057
# of
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is hppa-linux-gnu (bld-3)
=== gpc tests ===
Running target any
FAIL: avo2a.pas
FAIL: avo2b.pas
=== gpc Summary ===
# of tests5057
# of expected passes
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is arm-unknown-linux-gnu
=== libstdc++ tests ===
Running target unix
WARNING: program timed out.
XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is alpha-unknown-linux-gnu
=== libstdc++ tests ===
Running target unix
FAIL: abi_check
XPASS: 22_locale/locale/cons/12658_thread.cc execution test
XPASS: 26_numerics/c99_classification_m
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785
Native configuration is x86_64-linux-gnu (nautilus)
=== gpc tests ===
Running target any
FAIL: awindte2.pas
FAIL: awindtes.pas
FAIL: chief40.pas
FAIL: chuck6.pas
FAIL: fieldw.pas
FAIL: fjf23.pas
FAIL: fjf30b
Package: gcc-4.0
Version: 4.0.3-1
Severity: normal
Linux kernels compiled with gcc 4.0.3 have invalid debuging information.
More information on this issue and how to verify this error can be
obtained in bug #378621. I'll also have to use gcc 4.0.3 to compile a
kernel with CONFIG_DEBUG_INFO, CON
Stephen R Marenka <[EMAIL PROTECTED]> writes:
> On Mon, Jul 17, 2006 at 09:08:42PM +0200, Falk Hueffner wrote:
>> Stephen R Marenka <[EMAIL PROTECTED]> writes:
>
> So you're saying the only way is to compile, link, and test each of the
> 55 source files? Yikes, that's going to take a while.
No, y
On Mon, Jul 17, 2006 at 09:08:42PM +0200, Falk Hueffner wrote:
> Stephen R Marenka <[EMAIL PROTECTED]> writes:
>
> > We now have about sixteen packages that end up with a segfault or an
> > illegal instruction. I haven't tried recompiling all these to verify that
> > this is the same problem, but
Processing commands for [EMAIL PROTECTED]:
> tags 378599 + moreinfo
Bug#378599: [m68k] gcc-4.1 -O2 optimization problem
There were no tags set.
Tags added: moreinfo
> thanks
Stopping processing here.
Please contact me if you need assistance.
Debian bug tracking system administrator
(administrat
tags 378599 + moreinfo
thanks
Stephen R Marenka <[EMAIL PROTECTED]> writes:
> We now have about sixteen packages that end up with a segfault or an
> illegal instruction. I haven't tried recompiling all these to verify that
> this is the same problem, but I will if it will help.
>
> The problem i
Package: gcc-4.1
Version: 4.1.1-8
Severity: important
gcc-4.1 seems to have an optimization problem at -O2 and -O1. If I
compile libgc -O2, then one of the tests segfaults. If I compile it -O0
then the self-tests run fine.
binutils showed a strange linker error until recompiled with -O0.
We now
gcc-snapshot_20060714-1_powerpc.changes uploaded successfully to localhost
along with the files:
gcc-snapshot_20060714-1_powerpc.deb
Greetings,
Your Debian queue daemon
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Accepted:
gcc-snapshot_20060714-1_powerpc.deb
to pool/main/g/gcc-snapshot/gcc-snapshot_20060714-1_powerpc.deb
Thank you for your contribution to Debian.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Processing commands for [EMAIL PROTECTED]:
> tags 376609 + fixed-upstream
Bug#376609: ICE: verify_stmts failed (invalid operand to unary operator)
Tags were: upstream
Tags added: fixed-upstream
> --
Stopping processing here.
Please contact me if you need assistance.
Debian bug tracking system a
38 matches
Mail list logo