[Bug 408131] New: Multiple problems compiling qt3 applications on 64bit platform
https://bugzilla.novell.com/show_bug.cgi?id=408131 Summary: Multiple problems compiling qt3 applications on 64bit platform Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: wwildey@satx.rr.com QAContact: qa@suse.de Found By: Customer For 32bit: Using the following to create the Makefile /usr/lib/qt3/bin/qmake -spec linux-g++-32 "CONFIG += thread debug" elfed.pro results in a missing -m32 flag This is the compile line when running make. "g++ -c -pipe -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -DUSE_LIB64_PATHES -fno-strict-aliasing -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/lib/qt3/mkspecs/linux-g++-32 -I. -I. -I/usr/include -I/usr/lib/qt3/include -o moc_view_dynamic.o moc_view_dynamic.cpp" The other issue is two -g switches which is caused by the line in qmake.conf QMAKE_CFLAGS_RELEASE = -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -DUSE_LIB64_PATHES -fno-strict-aliasing and QMAKE_CFLAGS = -pipe -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -DUSE_LIB64_PATHES -fno-strict-aliasing notice the -g after each line's fstack-protector switch. This extra -g switch is also in the file /usr/lib/qt3/mkspecs/linux-g++-64/qmake.conf Also, the build paths are incorrect from the file /usr/lib/qt3/mkspecs/linux-g++-32/qmake.conf (these settings are the same in the file /usr/lib/qt3/mkspecs/linux-g++-64/qmake.conf) QMAKE_INCDIR = /usr/include/ QMAKE_LIBDIR = /usr/lib64/ QMAKE_INCDIR_X11 = /usr/X11R6/include QMAKE_LIBDIR_X11 = /usr/X11R6/lib64/ QMAKE_INCDIR_QT = $(QTDIR)/include QMAKE_LIBDIR_QT = $(QTDIR)/lib64/ QMAKE_INCDIR_OPENGL = /usr/include/ QMAKE_LIBDIR_OPENGL = /usr/lib64/ and should be: QMAKE_INCDIR = /usr/include/ QMAKE_LIBDIR = /usr/lib/ QMAKE_INCDIR_X11 = /usr/X11R6/include QMAKE_LIBDIR_X11 = /usr/X11R6/lib/ QMAKE_INCDIR_QT = $(QTDIR)/include QMAKE_LIBDIR_QT = $(QTDIR)/lib/ QMAKE_INCDIR_OPENGL = /usr/include/ QMAKE_LIBDIR_OPENGL = /usr/lib/ It seams that this issue only appears when compiling 32bit qt3 applications on the 64bit platform. I am also thinking the extra -g switch exists in the qmake.conf files on both platforms. If this in not a bug, then it would be nice if you could send me information on compiling 32bit qt apps on the 64bit platform as I have yet to find any. I also seem to remember this same problem on version opensuse 10.2 as well. If more information is needed fell free to send email with questions to wwildey@satx.rr.com. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=408131
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=408131
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408131#c1
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=408131
User wwildey@satx.rr.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408131#c2
--- Comment #2 from Werner Wildey
https://bugzilla.novell.com/show_bug.cgi?id=408131
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408131#c3
--- Comment #3 from Dirk Mueller
participants (1)
-
bugzilla_noreply@novell.com