[Bug 261831] [NEW] gcc-4.2 cannot compile bind 9.5.0.P2 on i386

Launchpad Bug Tracker 261831 at bugs.launchpad.net
Mon May 11 23:05:58 BST 2009


You have been subscribed to a public bug:

Binary package hint: gcc-4.2

On i386 (amd64 is fine) bind9 9.5.0.P2 (and higher) stops with:

/bin/bash /tmp/buildd/bind9-9.5.0.dfsg.P2/libtool --mode=compile gcc  -I/tmp/buildd/bind9-9.5.0.dfsg.P2 -I. -Iinclude -I/tmp/buildd/bind9-9.5.0.dfsg.P2/lib/dns/include -I../../lib/dns/include -I/tmp/buildd/bind9-9.5.0.dfsg.P2/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include  -I/usr/include  -D_REENTRANT -DUSE_MD5 -DOPENSSL -DGSSAPI -DUSE_ISC_SPNEGO  -fno-strict-aliasing  -O2 -I/usr/include/libxml2  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  -c stats.c
 gcc -I/tmp/buildd/bind9-9.5.0.dfsg.P2 -I. -Iinclude -I/tmp/buildd/bind9-9.5.0.dfsg.P2/lib/dns/include -I../../lib/dns/include -I/tmp/buildd/bind9-9.5.0.dfsg.P2/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include -I/usr/include -D_REENTRANT -DUSE_MD5 -DOPENSSL -DGSSAPI -DUSE_ISC_SPNEGO -fno-strict-aliasing -O2 -I/usr/include/libxml2 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c stats.c  -fPIC -DPIC -o .libs/stats.o
/tmp/ccPORbv2.s: Assembler messages:
/tmp/ccPORbv2.s:555: Error: suffix or operands invalid for `xadd'
/tmp/ccPORbv2.s:659: Error: suffix or operands invalid for `xadd'
make: *** [stats.lo] Error 1


Strange thing is that x86_64 and x86_32 share same configuration (lib/isc/x86_32/include/isc/atomic.h) on platforms where gcc is available (configure.in overrides platform in this case) and x86_64 compiles just fine.

I also have checked diff between P1 and P2 (P1 compiled fine some time
ago) and I didn't discovered any changes which should affect this.

I am trying this in clean pbuilder environment (hardy, hardy-security
and hardy-updates enabled).

gcc-4.2 version is:

gcc:
  Installed: 4:4.2.3-1ubuntu6
  Candidate: 4:4.2.3-1ubuntu6
  Version table:
 *** 4:4.2.3-1ubuntu6 0
        500 http://cz.archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     4:4.2.3-1ubuntu3 0
        500 http://cz.archive.ubuntu.com hardy/main Packages
root at howl:/# apt-cache policy gcc-4.2
gcc-4.2:
  Installed: 4.2.3-2ubuntu7
  Candidate: 4.2.3-2ubuntu7
  Version table:
 *** 4.2.3-2ubuntu7 0
        500 http://cz.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

** Affects: bind9 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gcc-4.2 (Ubuntu)
     Importance: Undecided
         Status: Incomplete

-- 
gcc-4.2 cannot compile bind 9.5.0.P2 on i386
https://bugs.launchpad.net/bugs/261831
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in ubuntu.



More information about the Ubuntu-server-bugs mailing list