Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213756 - x11-libs/qt-4.3.4 and other packages - build error using distcc (undefined reference to _Unwind_SjLj_*)
Summary: x11-libs/qt-4.3.4 and other packages - build error using distcc (undefined re...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 00:20 UTC by Soup Caps
Modified: 2012-03-27 00:06 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build Log for Qt-4.3.4, using distcc (build.log,855.16 KB, text/plain)
2008-03-18 00:23 UTC, Soup Caps
Details
hplip build log showing similar errors during compilation with distcc (build.log,135.90 KB, text/plain)
2008-03-18 08:06 UTC, Soup Caps
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Soup Caps 2008-03-18 00:20:03 UTC
Upon compiling Qt of the specified version, using distcc, there occurred fatal compilation errors ("undefined [references] to", amongst other things, sjlj related things). I have noticed the same _Unwind_SjLj_* referencing errors in at least one other compile (I believe it was libmp4v2). The interesting thing to note here, is that it is not reproducable when compiling only locally (i.e., sans distcc). Thus, perhaps it would be worth flagging such compiles, to be done without the assitance of distcc, but again, only if such is generally the case. If you would like more information, please do not hesitate to ask. (GCC version: 4.1.2 -- across all distcc nodes)

Reproducible: Always

Steps to Reproduce:
1. remotely, setup a distcc server -- with as much closeness, in compiler version and other things, to the setup of the node in question, as you like
2. emerge =qt-4.3.4

Actual Results:  
Compilation errors, as reported in the build log.

Expected Results:  
Compilation success.

emerge info:
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.
6.22.2 i686)
=================================================================
System uname: 2.6.22.2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Sun, 16 Mar 2008 11:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled
]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gcon
f /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules
.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/home/ports/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict unmer
ge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/ports/varTMP"
PORTDIR="/home/ports/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb cairo caps cdr cli cracklib crypt cups dbus dri dvd 
dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif glitz gpm gstrea
mer gtk hal iconv imap isdnlog jpeg kerberos libwww lm_sensors mad maildir midi 
mikmod mmx mozilla mp3 mpeg mudflap ncurses nls no-helpbrowser nptl nptlonly nsp
lugin nvidia offensive ogg opengl openmp oss pam pcre pdf perl pic png pppd pyth
on qt3support quicktime readline reflection sasl scanner sdl session skey spl ss
e sse2 ssl svg tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xs
creensaver xv zlib zsh" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca
0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel
8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_
PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958
 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm so
ftvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_db
m authn_default authn_file authz_dbm authz_default authz_groupfile authz_host au
thz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache 
env expires ext_filter file_cache filter headers include info log_config logio m
em_cache mime mime_magic negotiation rewrite setenvif speling status unique_id u
serdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNE
L="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb 
ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFL
AGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR
_OVERLAY
Comment 1 Soup Caps 2008-03-18 00:23:02 UTC
Created attachment 146432 [details]
Build Log for Qt-4.3.4, using distcc

See attachment description, and most importantly, bug file description.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-18 07:21:26 UTC
You have USE=pch enabled for QT?
Comment 3 Soup Caps 2008-03-18 08:04:11 UTC
(In reply to comment #2)
> You have USE=pch enabled for QT?
> 

No, I do not (I've seen the bug related to that comment -- it does not seem to apply).

As an update, I'd also like to note that *any* build involving the same calls (_Unwind_SjLj_* being the most prominent), has the exact same problems, when compiling with distcc. I.e., such is true for hplip (latest stable version, as I just tried), PyQt, et al..
Comment 4 Soup Caps 2008-03-18 08:06:21 UTC
Created attachment 146454 [details]
hplip build log showing similar errors during compilation with distcc

Just an update, to show the generality of this problem.

Perhaps the severity level is understated.
Comment 5 Roger 2010-02-12 03:26:24 UTC
Building any qt-* related packages now fails using distcc feature.

Quick hack to avoid compilation problems is to use:
# FEATURES="-ccache -distcc" emerge qt-(remainder_of_package_name)

Comment 6 Pacho Ramos gentoo-dev 2012-03-19 09:53:00 UTC
Is this still valid with updated systems?
Comment 7 Roger 2012-03-19 20:30:39 UTC
Unknown here.  I have yet to reinstall distcc and I try to avoid all QT/KDE related stuff.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2012-03-19 21:26:49 UTC
qt metapackage is no longer in portage tree. Is this still valid with 4.8.0?