public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/25404]  New: Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64
@ 2005-12-14  1:39 bero at arklinux dot org
  2005-12-14  1:43 ` [Bug libgcj/25404] " bero at arklinux dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2005-12-14  1:39 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/25404] Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64
  2005-12-14  1:39 [Bug java/25404] New: Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64 bero at arklinux dot org
@ 2005-12-14  1:43 ` bero at arklinux dot org
  2005-12-14  1:44 ` bero at arklinux dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2005-12-14  1:43 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from bero at arklinux dot org  2005-12-14 01:43 -------
Created an attachment (id=10480)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10480&action=view)
preprocessed source


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/25404] Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64
  2005-12-14  1:39 [Bug java/25404] New: Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64 bero at arklinux dot org
  2005-12-14  1:43 ` [Bug libgcj/25404] " bero at arklinux dot org
@ 2005-12-14  1:44 ` bero at arklinux dot org
  2005-12-14  1:48 ` pinskia at gcc dot gnu dot org
  2006-08-09  1:02 ` bero at arklinux dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2005-12-14  1:44 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from bero at arklinux dot org  2005-12-14 01:44 -------
Created an attachment (id=10481)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10481&action=view)
Generated assembly code


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/25404] Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64
  2005-12-14  1:39 [Bug java/25404] New: Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64 bero at arklinux dot org
  2005-12-14  1:43 ` [Bug libgcj/25404] " bero at arklinux dot org
  2005-12-14  1:44 ` bero at arklinux dot org
@ 2005-12-14  1:48 ` pinskia at gcc dot gnu dot org
  2006-08-09  1:02 ` bero at arklinux dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-14  1:48 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-12-14 01:48 -------
I think it is picking up the wrong QT headers for the 32bit part of libgcj.

so you fix is not fully correct after all.


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/25404] Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64
  2005-12-14  1:39 [Bug java/25404] New: Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64 bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2005-12-14  1:48 ` pinskia at gcc dot gnu dot org
@ 2006-08-09  1:02 ` bero at arklinux dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2006-08-09  1:02 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from bero at arklinux dot org  2006-08-09 01:02 -------
Right, it's a matter of not getting the right includes -- I'm attaching a fixed
patch to bug 25404.


-- 

bero at arklinux dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-09  1:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-14  1:39 [Bug java/25404] New: Error: suffix or operands invalid for `xchg' while compiling classpath's qt peer on x86_64 bero at arklinux dot org
2005-12-14  1:43 ` [Bug libgcj/25404] " bero at arklinux dot org
2005-12-14  1:44 ` bero at arklinux dot org
2005-12-14  1:48 ` pinskia at gcc dot gnu dot org
2006-08-09  1:02 ` bero at arklinux dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).