public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "roger dot larsson at norran dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/13685] Building KDE3.2 clock applet with -march=pentium3 -O1 gives SIGSEGV Date: Wed, 14 Jan 2004 23:50:00 -0000 [thread overview] Message-ID: <20040114235044.15553.qmail@sources.redhat.com> (raw) In-Reply-To: <20040114182833.13685.roger.larsson@norran.net> ------- Additional Comments From roger dot larsson at norran dot net 2004-01-14 23:50 ------- Code is not from a lib, it is generated by gcc. => I do not think this is a DUP of bug 10395 I did a little script to search for the problems. # /bin/bash # Filename: objdump_find_problematic grep_sse () { grep $1 "\(\(mov\(ap\|up\|ntp\)\|shufp\|unpck\(hp\|lp\)\|\(add\|\mul\| div\|and\|andn\|or\|xor\|max\|min\|cmp\.\.\|sqrt\|rsqrt\|rcp\)p\)s\| \(cvt\(ps2pi\|ss2pi\)\)\)" } if objdump -d $1 | grep_sse -q ; then echo $1 objdump -d $1 | grep_sse fi and run my complete installation of kdecvs (-Os -march=pentium3) through it. # find /opt/kdecvs/ -type f -perm +111 | xargs -n 1 bin/objdump_find_problematic | tee problematic.sse Among those found where kfiresaver3d starting it will crash at a unaligned movaps (actual code from glibc-2.3) Complete list, some are OK with aligned offset: # more problematic.sse | grep "0x\|opt" /opt/kdecvs/bin/kdm_greet 805e5ac: 0f 29 85 98 fc ff ff movaps %xmm0,0xfffffc98(%ebp) /opt/kdecvs/bin/keuphoria.kss 804fe6e: 0f 29 45 e0 movaps %xmm0,0xffffffe0(%ebp) 80500fd: 0f 29 45 d0 movaps %xmm0,0xffffffd0(%ebp) /opt/kdecvs/bin/kfiresaver3d 80502ac: 0f 29 85 7c ff ff ff movaps %xmm0,0xffffff7c(%ebp) 8050529: 0f 29 85 64 ff ff ff movaps %xmm0,0xffffff64(%ebp) /opt/kdecvs/lib/libartsflow.so.1.0.0 /opt/kdecvs/lib/kde3/kdeprint_cups.so 4042d: 0f 29 45 8c movaps %xmm0,0xffffff8c(%ebp) /opt/kdecvs/lib/kde3/kcm_clock.so e294: 0f 29 85 20 fe ff ff movaps %xmm0,0xfffffe20(%ebp) /opt/kdecvs/lib/kde3/libkiviopart.so f8a94: 0f 29 45 a8 movaps %xmm0,0xffffffa8(%ebp) f8d47: 0f 29 45 80 movaps %xmm0,0xffffff80(%ebp) f90ad: 0f 29 85 5c ff ff ff movaps %xmm0,0xffffff5c(%ebp) fa0ac: 0f 29 45 a8 movaps %xmm0,0xffffffa8(%ebp) fa305: 0f 29 45 a4 movaps %xmm0,0xffffffa4(%ebp) /opt/kdecvs/lib/kde3/libkpovmodelerpart.so.0.0.0 /opt/kdecvs/lib/libkdefx.so.4.2.0 /opt/kdecvs/lib/libnoatunarts.so 576d8: 0f 10 51 10 movups 0x10(%ecx),%xmm2 576dc: 0f c6 d2 00 shufps $0x0,%xmm2,%xmm2 576e0: 0f 10 61 14 movups 0x14(%ecx),%xmm4 576e4: 0f 10 69 24 movups 0x24(%ecx),%xmm5 57720: 0f c6 c8 b1 shufps $0xb1,%xmm0,%xmm1 57737: 0f c6 c5 24 shufps $0x24,%xmm5,%xmm0 5773b: 0f c6 e8 81 shufps $0x81,%xmm0,%xmm5 57743: 0f c6 db 39 shufps $0x39,%xmm3,%xmm3 57747: 0f c6 f6 39 shufps $0x39,%xmm6,%xmm6 57752: 0f 11 69 24 movups %xmm5,0x24(%ecx) 60ea4: 0f c6 c9 00 shufps $0x0,%xmm1,%xmm1 60ee6: 0f c6 c2 00 shufps $0x0,%xmm2,%xmm0 60ef5: 0f c6 c0 02 shufps $0x2,%xmm0,%xmm0 This is a BIG problem! (kivio, and kfiresaver3d have been verified to crash) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13685
next prev parent reply other threads:[~2004-01-14 23:50 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-01-14 18:28 [Bug c++/13685] New: " roger dot larsson at norran dot net 2004-01-14 18:33 ` [Bug c++/13685] " roger dot larsson at norran dot net 2004-01-14 18:34 ` [Bug target/13685] " pinskia at gcc dot gnu dot org 2004-01-14 19:51 ` roger dot larsson at norran dot net 2004-01-14 23:50 ` roger dot larsson at norran dot net [this message] 2004-01-16 16:00 ` thiagom at mail dot com 2004-01-18 18:07 ` dhazeghi at yahoo dot com 2004-01-19 6:38 ` roger dot larsson at norran dot net 2004-01-19 8:11 ` roger dot larsson at norran dot net 2004-01-19 10:42 ` Jan Hubicka 2004-01-19 10:42 ` hubicka at ucw dot cz 2004-01-19 12:48 ` roger dot larsson at norran dot net 2005-01-07 9:49 ` [Bug target/13685] Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction) roger dot larsson at norran dot net
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040114235044.15553.qmail@sources.redhat.com \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).