Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389945 - net-libs/webkit-gtk-1.4.3-r200 fails to compile on sparc: undefined reference to `__sync_fetch_and_add_4'
Summary: net-libs/webkit-gtk-1.4.3-r200 fails to compile on sparc: undefined reference...
Status: RESOLVED DUPLICATE of bug 389963
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 10:08 UTC by Dustin Polke
Modified: 2011-11-22 01:35 UTC (History)
0 users

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


Attachments
compressed build.log (build.log.bz2,499.44 KB, application/octet-stream)
2011-11-09 10:14 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2011-11-09 10:08:57 UTC
CXXLD  Programs/jsc
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JSClassRef.o): In function `__exchange_and_add':
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JSClassRef.o):/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: more undefined references to `__sync_fetch_and_add_4' follow
collect2: ld returned 1 exit status
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-StringImpl.o): In function `__exchange_and_add':
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JSClassRef.o): In function `__exchange_and_add':
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: undefined reference to `__sync_fetch_and_add_4'
./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JSClassRef.o):/usr/lib/gcc/sparc-unknown-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:46: more undefined references to `__sync_fetch_and_add_4' follow
collect2: ld returned 1 exit status
make[1]: *** [Programs/minidom] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Programs/jsc] Error 1
make[1]: Leaving directory `/home/portage/portage/net-libs/webkit-gtk-1.4.3-r200/work/webkit-1.4.3'
make: *** [all] Error 2
 * ERROR: net-libs/webkit-gtk-1.4.3-r200 failed (compile phase):
 *   emake failed

Portage 2.1.10.11 (default/linux/sparc/experimental/multilib/server, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 sparc64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-sparc64-sun4u-with-gentoo-2.0.3
Timestamp of tree: Tue, 08 Nov 2011 08:20:01 +0000
distcc 3.1 sparc-unknown-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo modified-ebuilds DuPol betagarden
ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe -ggdb"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --autounmask=n"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/     ftp://gentoo.tiscali.nl/pub/mirror/gentoo/     ftp://mirror.cambrium.nl/pub/os/linux/gentoo/     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo     ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/modified /var/lib/layman/DuPol /var/lib/layman/betagarden"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl admin bash-completion branding bzip2 cli coverpage cracklib crypt cups cxx dbus dri fortran gd git gpm iconv iproute2 javascript jpeg kerberos keyscrub logrotate loop-aes mime modules mudflap multilib nls nptl nptlonly openmp pam pcre png posix pppd readline sasl session sparc ssl sysfs syslog system-sqlite tcpd threads tiff truetype unicode userlocales xml xorg xvfb zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="auth_basic auth_core authn_file authz_core authz_host authz_user dav dir log_config mime unixd" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mach64" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

net-libs/webkit-gtk-1.2.7 was built with the following:
USE="jit (multilib) test (-aqua) -coverage -debug -doc -gstreamer (-introspection)"
CFLAGS="-O2 -pipe -ggdb"
CXXFLAGS="-O2 -pipe -ggdb"

# emerge -p webkit-gtk:2

[ebuild     U  ] net-libs/webkit-gtk-1.4.3-r200 [1.2.7] USE="gstreamer* introspection* -spell%"
Comment 1 Dustin Polke 2011-11-09 10:14:34 UTC
Created attachment 291999 [details]
compressed build.log
Comment 2 Pacho Ramos gentoo-dev 2011-11-09 10:33:37 UTC
Can you try with 1.6.1* please?
Comment 3 Dustin Polke 2011-11-09 13:42:46 UTC
(In reply to comment #2)
> Can you try with 1.6.1* please?

I will. Expect about 1 day compile time though.
Comment 4 Pacho Ramos gentoo-dev 2011-11-22 01:35:17 UTC

*** This bug has been marked as a duplicate of bug 389963 ***