This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20046] New: [3.3 regression] [powerpc-linux] 3.3 CVS miscompiles bind 9.3.0
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Feb 2005 00:58:33 -0000
- Subject: [Bug target/20046] New: [3.3 regression] [powerpc-linux] 3.3 CVS miscompiles bind 9.3.0
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[forwarded from http://bugs.debian.org/292958]
seen with CVS 3.3 20050130, works with 3.2.3 and 3.4 CVS 20050207
gcc 3.3 -O2 apparently does not compile correctly lib/dns/rbt.c from
BIND 9.3 and bind9-9.3.1beta2, which then will die on startup with an assertion
failure.
Workarounds known to fix this:
- compiling rbt.c without -O2
- removing "inline" from rotate_left() and rotate_right()
gcc -g -O2 -I/VAR2/tmp/bb/bb/bind9-9.3.1beta2 -I. -Iinclude
-I/VAR2/tmp/bb/bb/bind9-9.3.1beta2/lib/dns/include -I../../lib/dns/include
-I/VAR2/tmp/bb/bb/bind9-9.3.1beta2/lib/isc/include -I../../lib/isc
-I../../lib/isc/include -I../../lib/isc/unix/include
-I../../lib/isc/nothreads/include -DUSE_MD5 -DOPENSSL -W -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -save-temps -c rbt.c
-o rbt.o
preprocessed files attached (taken from http://www.bofh.it/~md/TEMPS/)
--
Summary: [3.3 regression] [powerpc-linux] 3.3 CVS miscompiles
bind 9.3.0
Product: gcc
Version: 3.3.6
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20046