qt-core-4.5.0_rc1 does not compile on the PPC64 ach with 64 bit UL. I tried with gcc-4.3.1-r1 and 4.3.2-r3. On my PPC (G4) machine I have no such problems. Here is the output: compiling ../../corelib/kernel/qvariant.cpp compiling ../../corelib/codecs/qtextcodec.cpp compiling ../../corelib/codecs/qutfcodec.cpp compiling ../../corelib/codecs/qisciicodec.cpp compiling ../../corelib/codecs/qtsciicodec.cpp compiling ../../corelib/codecs/qlatincodec.cpp compiling ../../corelib/codecs/qsimplecodec.cpp compiling ../../corelib/xml/qxmlutils.cpp compiling ../../corelib/xml/qxmlstream.cpp compiling ../../xml/dom/qdom.cpp compiling ../../xml/sax/qxml.cpp compiling ../../corelib/io/qfsfileengine_unix.cpp compiling ../../corelib/io/qfsfileengine_iterator_unix.cpp linking ../../../bin/uic make compiling global/qt_pch.h compiling concurrent/qfuture.cpp compiling concurrent/qfutureinterface.cpp compiling concurrent/qfuturesynchronizer.cpp compiling concurrent/qfuturewatcher.cpp compiling concurrent/qrunnable.cpp compiling concurrent/qtconcurrentfilter.cpp compiling concurrent/qtconcurrentmap.cpp compiling concurrent/qtconcurrentresultstore.cpp compiling concurrent/qtconcurrentthreadengine.cpp compiling concurrent/qtconcurrentiteratekernel.cpp compiling concurrent/qtconcurrentexception.cpp compiling concurrent/qthreadpool.cpp compiling global/qglobal.cpp compiling global/qlibraryinfo.cpp global/qlibraryinfo.cpp: In function 'void qt_core_init_boilerplate()': global/qlibraryinfo.cpp:568: warning: statement has no effect global/qlibraryinfo.cpp:568: warning: statement has no effect global/qlibraryinfo.cpp:569: warning: statement has no effect global/qlibraryinfo.cpp:569: warning: statement has no effect global/qlibraryinfo.cpp:570: warning: statement has no effect global/qlibraryinfo.cpp:571: warning: statement has no effect global/qlibraryinfo.cpp:571: warning: statement has no effect global/qlibraryinfo.cpp:572: warning: statement has no effect global/qlibraryinfo.cpp:573: warning: statement has no effect global/qlibraryinfo.cpp:573: warning: statement has no effect global/qlibraryinfo.cpp:574: warning: statement has no effect global/qlibraryinfo.cpp:575: warning: statement has no effect global/qlibraryinfo.cpp:575: warning: statement has no effect compiling global/qmalloc.cpp compiling global/qnumeric.cpp compiling thread/qatomic.cpp compiling thread/qmutex.cpp {standard input}: Assembler messages: {standard input}:37: Error: syntax error; found `(' but expected `,' {standard input}:37: Error: junk at end of line: `(10)' {standard input}:59: Error: syntax error; found `(' but expected `,' {standard input}:59: Error: junk at end of line: `(11)' make: *** [.obj/release-shared/qmutex.o] Error 1 /usr/libexec/paludis/utils/emake: emake returned error 2 paludis --info paludis 0.32.0_alpha1 Paludis build information: Compiler: CXX: powerpc64-unknown-linux-gnu-g++ 4.3.1 CXXFLAGS: -O2 -pipe -mcpu=970 -mtune=970 -mabi=altivec LDFLAGS: -Wl,-O1 DATE: 2008-12-01T15:23:17+0100 Libraries: C++ Library: GNU libstdc++ 20080606 Reduced Privs: reduced_uid: 101 reduced_uid->name: paludisbuild reduced_uid->dir: /var/tmp/paludis reduced_gid: 407 reduced_gid->name: paludisbuild Paths: DATADIR: /usr/share LIBDIR: /usr/lib64 LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: Package information: app-admin/eselect-compiler: (none) app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.6-r1 dev-lang/python: 2.4.4-r13 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: (none) dev-util/cmake: 2.6.2 dev-util/confcache: (none) sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2 1.6.3 1.7.9-r1 1.9.6-r2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 (for sys-kernel/linux-headers::installed)
Still the same with 4.5.0 final. Any suggestions?
Ok, I found a patch for the issue on the qt bugtracker: http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=245091 I already tested it on PPC64 and it works. Could we add it to the tree?
Yes, as long as this patch works on ppc64 arches I dont see any reason why we shouldnt add it. Unfortunately I cant test it here cause I dont have such an arch, so lets wait for another confirmation before I add it to the tree I will attach the ebuild and the patch for convenience
Thats weird This patch seems to already be applied on final qt-4.5.0 This is the related section on my pc ( without applying the patch ) ----------------------------------- inline bool QBasicAtomicInt::testAndSetRelaxed(int expectedValue, int newValue) { register int result; asm volatile("lwarx %[result]," _Q_VALUE "\n" "xor. %[result], %[result], %[expectedValue]\n" "bne $+12\n" "stwcx. %[newValue]," _Q_VALUE "\n"<<<-------------we care about this line "bne- $-16\n" : [result] "=&r" (result), ------------------------------------------------------------------ So are you sure that final qt-4.5.0 still fails?If so, please attach here a valid patch Thanks
The patch from the tracker is valid and portage applies it cleanly. I am absolutely sure that it is still needed, as my last attempt without the patch did not work. The only thing not correct in the patch is the line number. I'll attach a corrected version.
Created attachment 184292 [details, diff] updated patch
Created attachment 184294 [details] fixed qt-core ebuild Ok, I am attaching the ebuild now. I will wait a little bit longer for further testing and then I will commit it to the tree
This problem is fixed, but the next one is right behind the corner. See bug 261632
*** Bug 261632 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > This problem is fixed closing this then.