Hello all. I recently bought an AMD Athlon64 X2 2.6GHz and set it up with a multilib amd64 system, then followed the crossdev howto on the Gentoo wiki (using Google cache, as the wiki seems to be down right now), making sure to create the i686-pc-linux-gnu-gcc-wrapper script as documented.

Now, whenever I try to emerge certain packages (most KDE-related items, I think), I get an error involving static linking:

In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr.h:115, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/c++io.h:39, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/iosfwd:48, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_algobase.h:70, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/char_traits.h:47, from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/string:48,
                 from ../include/qstring.h:57,
                 from kernel/qwindowdefs.h:45,
                 from kernel/qpaintdevice.h:43,
                 from kernel/qprinter.h:43,
                 from kernel/qprinter_unix.cpp:48:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/i686-pc-linux-gnu/bits/gthr-default.h:88: error: weakref 'int __gthrw_pthread_once(pthread_once_t*, void (*)())' must have static linkage
[...]
distcc[8235] ERROR: compile kernel/qprinter_unix.cpp on 192.168.1.51/5 failed
make[1]: *** [.obj/release-shared-mt/qprinter_unix.o] Error 1
kernel/qfontengine_x11.cpp: In function 'void drawScaled(int, int, const QTextEngine*, const QScriptItem*, int, Display*, _XGC*, QPaintDevice*, QFontEngine*, const QWMatrix&, float)': kernel/qfontengine_x11.cpp:164: warning: passing 'float' for argument 3 to 'virtual void QFontEngine::draw(QPainter*, int, int, const QTextEngine*, const QScriptItem*, int)' make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/src'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.3.8-r3 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  qt-3.3.8-r3.ebuild, line 209:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-libs/qt-3.3.8-r3/temp/build.log'.

I can post more info if necessary. The problem is easily recreatable on my machine - a simple 'emerge =x11-libs/qt-3.3.8-r3' will crash it every time.

My question is this: What's causing the compile failures and how do I resolve it? I'm running on a distcc network of about half a dozen boxes, all of which are i686 with the sole exception of the one amd64 slave.
--
[EMAIL PROTECTED] mailing list

Reply via email to