When compiling libgcj with the Qt peer (after applying the workaround for bug
24403), the compiler barfs on x86_64 with binutils 2.16.91.0.4:

/usr/src/ark/BUILD/gcc-4.1.0/build/./gcc/xgcc -shared-libgcc
-B/usr/src/ark/BUILD/gcc-4.1.0/build/./gcc -nostdinc++
-L/usr/src/ark/BUILD/gcc-4.1.0/build/x86_64-ark-linux/32/libstdc++-v3/src
-L/usr/src/ark/BUILD/gcc-4.1.0/build/x86_64-ark-linux/32/libstdc++-v3/src/.libs
-B/usr/x86_64-ark-linux/bin/ -B/usr/x86_64-ark-linux/lib/ -isystem
/usr/x86_64-ark-linux/include -isystem /usr/x86_64-ark-linux/sys-include -m32
-DHAVE_CONFIG_H -I.
-I../../../../../../../../libjava/classpath/native/jni/qt-peer
-I../../../include -I../../../../../../../../libjava/classpath/include
-I../../../../../../../../libjava/classpath/native/jni/classpath
-I../../../../../../../../libjava/classpath/native/target/Linux
-I../../../../../../../../libjava/classpath/native/target/generic -DQT_SHARED
-I/usr/lib64/qt4/include -I/usr/lib64/qt4/include/QtGui -DQT_SHARED
-I/usr/lib64/qt4/include -I/usr/lib64/qt4/include/QtCore
-I../../../../../../../../libjava/classpath/../../build/x86_64-ark-linux/libstdc++-v3/include
-I../../../../../../../../libjava/classpath/../../build/x86_64-ark-linux/libstdc++-v3/include/x86_64-ark-linux
-I../../../../../../../../libjava/classpath/../../libstdc++-v3/libsupc++ -O2
-fomit-frame-pointer -fweb -frename-registers -fno-omit-frame-pointer
-D_GNU_SOURCE -m32 -MT qtlistpeer.lo -MD -MP -MF .deps/qtlistpeer.Tpo -c
../../../../../../../../libjava/classpath/native/jni/qt-peer/qtlistpeer.cpp 
-fPIC -DPIC -o .libs/qtlistpeer.o
/tmp/ccnJ15Xe.s: Assembler messages:
/tmp/ccnJ15Xe.s:627: Error: suffix or operands invalid for `xchg'


Everything works fine on x86_32.


-- 
           Summary: Error: suffix or operands invalid for `xchg' while
                    compiling classpath's qt peer on x86_64
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: x86_64-ark-linux
  GCC host triplet: x86_64-ark-linux
GCC target triplet: x86_64-ark-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25404

Reply via email to