Bug 20046 - [3.3 regression] [powerpc-linux] 3.3 CVS miscompiles bind 9.3.0
Summary: [3.3 regression] [powerpc-linux] 3.3 CVS miscompiles bind 9.3.0
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 3.3.6
: P2 critical
Target Milestone: 3.3.6
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2005-02-18 00:58 UTC by Debian GCC Maintainers
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host: powerpc-linux
Target: powerpc-linux
Build:
Known to work: 3.2.3 3.4.3
Known to fail: 3.3.5
Last reconfirmed:


Attachments
preprocessed source (gcc-3.3 -O2) (21.41 KB, application/gzip)
2005-02-18 01:01 UTC, Debian GCC Maintainers
Details
assembler (gcc-3.3 -O2) (42.78 KB, application/gzip)
2005-02-18 01:02 UTC, Debian GCC Maintainers
Details
preprocessed source (gcc-3.3 -O2, two functions not inlined) (21.41 KB, application/gzip)
2005-02-18 01:04 UTC, Debian GCC Maintainers
Details
assembler (gcc-3.3 -O2, two functions not inlined) (40.32 KB, application/gzip)
2005-02-18 01:05 UTC, Debian GCC Maintainers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Debian GCC Maintainers 2005-02-18 00:58:32 UTC
[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/)
Comment 1 Debian GCC Maintainers 2005-02-18 01:01:25 UTC
Created attachment 8220 [details]
preprocessed source (gcc-3.3 -O2)
Comment 2 Debian GCC Maintainers 2005-02-18 01:02:44 UTC
Created attachment 8221 [details]
assembler (gcc-3.3 -O2)
Comment 3 Debian GCC Maintainers 2005-02-18 01:04:44 UTC
Created attachment 8222 [details]
preprocessed source (gcc-3.3 -O2, two functions not inlined)
Comment 4 Andrew Pinski 2005-02-18 01:05:27 UTC
I don't know if there is anything we can do about 3.3.x but who knows.
Comment 5 Debian GCC Maintainers 2005-02-18 01:05:44 UTC
Created attachment 8223 [details]
assembler (gcc-3.3 -O2, two functions not inlined)
Comment 6 Gabriel Dos Reis 2005-04-28 08:36:18 UTC
(In reply to comment #4)
> I don't know if there is anything we can do about 3.3.x but who knows.

No PowerPC maintainer seems to be interested in this.  Will most likely
close as wontfix.

-- Gaby
Comment 7 Gabriel Dos Reis 2005-04-30 13:03:21 UTC
No maintainer is interested in fixing this.