From: Randolph Chung <randolph@tausq.org>
To: parisc-linux@parisc-linux.org
Cc: debian-gcc@lists.debian.org
Subject: [parisc-linux] hppa gcc bug?
Date: Sun, 11 Nov 2001 16:07:12 -0800 [thread overview]
Message-ID: <20011111160712.D391@tausq.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1540 bytes --]
Looks like there's a strength-reduce optimization bug in g++-3.0.2 on
hppa....
Trying to compile qt-x11 gives a segmentation fault when compiling
src/kernel/qurl.cpp. (willy and lamont also saw this I believe...). Turning
off strength-reduction (-fno-strength-reduce) allows the file to
compile to completion.
It's dying inside a loop_iterations call, but I don't know enough to
say why...
Can someone more knowledgable please take a look?
Preprocessed source attached. Compilation flags:
g++ -D_REENTRANT -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include
-I/usr/src/new/qt-x11-2.3.2/include -I/usr/X11R6/include -pipe
-fno-exceptions -O2 -Wall -Wpointer-arith -Wwrite-strings
-Wmissing-prototypes -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT
-o kernel/qurl.o kernel/qurl.cpp
This is using the latest binutils/gcc that are in the Debian archive.
(binutils 20011021 and gcc 3.0.2 w/ Alan's patches)
sh-2.05# gcc -v
Reading specs from /usr/lib/gcc-lib/hppa-linux/3.0.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,f77,proto,objc --prefix=/usr
--infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as
--with-gnu-ld --with-system-zlib --enable-long-long --enable-nls
--without-included-gettext --disable-checking --enable-threads=posix
--with-cpp-install-dir=bin hppa-linux
Thread model: posix
gcc version 3.0.2 (Debian)
sh-2.05# ld -v
GNU ld version 2.11.92.0.10 20011021 Debian/GNU Linux
randolph
--
@..@ http://www.TauSq.org/
(----)
( >__< )
^^ ~~ ^^
[-- Attachment #2: qurl.ii.gz --]
[-- Type: application/octet-stream, Size: 24324 bytes --]
next reply other threads:[~2001-11-12 0:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-12 0:07 Randolph Chung [this message]
2001-11-12 7:53 ` [parisc-linux] hppa gcc bug? Alan Modra
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=20011111160712.D391@tausq.org \
--to=randolph@tausq.org \
--cc=debian-gcc@lists.debian.org \
--cc=parisc-linux@parisc-linux.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: link
Be 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