Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490922 - net-libs/webkit-gtk-2.0.4 with ld.gold - ./Source/WTF/wtf/RefPtr.h:58: error: undefined reference to 'WebCore::XMLNSNames::xmlnsNamespaceURI'
Summary: net-libs/webkit-gtk-2.0.4 with ld.gold - ./Source/WTF/wtf/RefPtr.h:58: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2013-11-10 10:04 UTC by Justin Lecher (RETIRED)
Modified: 2014-02-03 23:18 UTC (History)
0 users

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


Attachments
webkit-gtk-2.0.4:20131110-032454.log.xz (webkit-gtk-2.0.4:20131110-032454.log.xz,392.00 KB, text/plain)
2013-11-10 10:05 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2013-11-10 10:04:26 UTC
./DerivedSources/WebCore/JSWebKitCSSKeyframeRule.h:36: error: undefined reference to 'WebCore::JSWebKitCSSKeyframeRule::JSWebKitCSSKeyframeRule(JSC::Structure*, WebCore::JSDOMGlobalObject*, WTF::PassRefPtr<WebCore::WebKitCSSKeyframeRule>)'
./DerivedSources/WebCore/JSWebKitCSSKeyframeRule.h:37: error: undefined reference to 'WebCore::JSWebKitCSSKeyframeRule::finishCreation(JSC::JSGlobalData&)'
./Source/WebCore/bindings/js/JSDOMBinding.h:121: error: undefined reference to 'WebCore::JSWebGLRenderingContext::s_info'
./DerivedSources/WebCore/JSWebGLRenderingContext.h:38: error: undefined reference to 'WebCore::JSWebGLRenderingContext::JSWebGLRenderingContext(JSC::Structure*, WebCore::JSDOMGlobalObject*, WTF::PassRefPtr<WebCore::WebGLRenderingContext>)'
./DerivedSources/WebCore/JSWebGLRenderingContext.h:39: error: undefined reference to 'WebCore::JSWebGLRenderingContext::finishCreation(JSC::JSGlobalData&)'
./Source/WebCore/bindings/js/JSDOMBinding.h:123: error: undefined reference to 'WebCore::JSWebGLRenderingContext::createPrototype(JSC::ExecState*, JSC::JSGlobalObject*)'
./Source/JavaScriptCore/runtime/StructureInlines.h:37: error: undefined reference to 'WebCore::JSWebGLRenderingContext::s_info'
./Source/WebCore/bindings/js/JSDOMBinding.h:123: error: undefined reference to 'WebCore::JSWebGLRenderingContext::s_info'
./DerivedSources/WebCore/JSPositionCallback.h:37: error: undefined reference to 'WebCore::JSPositionCallback::JSPositionCallback(JSC::JSObject*, WebCore::JSDOMGlobalObject*)'
./DerivedSources/WebCore/JSPositionErrorCallback.h:37: error: undefined reference to 'WebCore::JSPositionErrorCallback::JSPositionErrorCallback(JSC::JSObject*, WebCore::JSDOMGlobalObject*)'
./Source/WebCore/bindings/js/JSDOMBinding.h:123: error: undefined reference to 'WebCore::JSText::createPrototype(JSC::ExecState*, JSC::JSGlobalObject*)'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::font_faceTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::altGlyphItemTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::glyphRefTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::glyphRefTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::setTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::animateTransformTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::defsTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::switchTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::clipPathTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::maskTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::defsTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::switchTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::mpathTag'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::pathAttr'
./Source/WebCore/dom/QualifiedName.h:98: error: undefined reference to 'WebCore::SVGNames::pathAttr'
./Source/WTF/wtf/HashTable.h:859: error: undefined reference to 'WebCore::SVGNames::pathAttr'
./Source/WebCore/dom/QualifiedName.h:106: error: undefined reference to 'WebCore::SVGNames::pathAttr'
./Source/WebCore/dom/QualifiedName.h:81: error: undefined reference to 'WebCore::SVGNames::primitiveUnitsAttr'
./Source/WebCore/dom/QualifiedName.h:81: error: undefined reference to 'WebCore::SVGNames::markerUnitsAttr'
./Source/WebCore/dom/QualifiedName.h:84: error: undefined reference to 'WebCore::SVGNames::feTurbulenceTag'
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-11-10 10:04:54 UTC
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.1-asneeded, glibc-2.17, 3.12.0-lh x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.0-lh-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16468136 total,   1699008 free
KiB Swap:    4194300 total,   3957808 free
Timestamp of tree: Fri, 08 Nov 2013 08:00:01 +0000
ld GNU gold (GNU Binutils 2.23.2) 1.11
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.2.5-r3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.1.2, 4.7.3-r1, 4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise bicatali betagarden dummy Neurogeek science last-hope
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /var/lib/hsqldb /var/spool/munin-async/.ssh /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wenum-compare"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" -vt --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache cgroup collision-protect compressdebug distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g"
GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j4 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -e -9 -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--omit-dir-times"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/local/overlays/sunrise-reviewed /local/overlays/bicatali /local/overlays/betagarden /local/overlays/dummy /local/overlays/neurogeek /local/overlays/sci /local/overlays/lh-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cups cxx dbus dri fortran gdbm gif gmp gstreamer gtk iconv icu ipv6 jpeg jpeg2k ldap logrotate mmx mmxext modules mudflap multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre pgo png pulseaudio qt3support readline session smp sse sse2 sse2_4way sse2check sse3 sse4 sse41 sse4_1 sse4a sse5 ssl ssse3 startup-notification tcpd threads tiff truetype unicode vaapi vdpau xinerama zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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" GRUB_PLATFORMS="efi-32 efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport scripting-javascript wiki-publisher nlpsolver" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm armeb" QEMU_USER_TARGETS="i386 x86_64 arm armeb" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, USE_PYTHON

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

net-libs/webkit-gtk-2.0.4 was built with the following:
USE="geoloc gstreamer introspection jit webgl (-aqua) -coverage -debug -libsecret -spell -test"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--no-keep-memory"
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-11-10 10:05:50 UTC
Created attachment 362964 [details]
webkit-gtk-2.0.4:20131110-032454.log.xz

buid.log
Comment 3 Pacho Ramos gentoo-dev 2013-11-10 10:12:05 UTC
It builds fine for me... maybe this is due your updated gcc-4.8 "as-needed" or CFLAGS like -ftracer (I thought it wasn't safe), but I am not sure now about where could be the problem :S
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-11-10 10:18:06 UTC
(In reply to Pacho Ramos from comment #3)
> It builds fine for me... maybe this is due your updated gcc-4.8 "as-needed"

That simply forces as-needed everywhere. But as webkit-gtk is respecting is anyways it shouldn't create a problem.

> or CFLAGS like -ftracer (I thought it wasn't safe), but I am not sure now
> about where could be the problem :S

I always build it with this and it worked. Will try again without.

Are you using gold?
Comment 5 Pacho Ramos gentoo-dev 2013-11-10 10:27:40 UTC
No, I use the "official" linker, maybe that would explain it :)
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2013-11-10 10:46:14 UTC
(In reply to Pacho Ramos from comment #5)
> No, I use the "official" linker, maybe that would explain it :)

Is there a "official" or only a "default"? ;)
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2013-11-10 11:44:27 UTC
Failing with ld.gold means underlinking in general. So this could be fixed.
Comment 8 Pacho Ramos gentoo-dev 2013-12-24 13:13:11 UTC
Hopefully will be solved by upstream in 2.2.x, if not, a bug to upstream will probably be more useful :/
Comment 9 Pacho Ramos gentoo-dev 2014-02-02 14:06:30 UTC
Can you try with 2.2.4?
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2014-02-03 10:04:28 UTC
Now I get

usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: --reduce-memory-overheads: unknown option
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information
Comment 11 Pacho Ramos gentoo-dev 2014-02-03 20:40:08 UTC
Then, please report it to upstream -> bugs.webkit.org (setting "[GTK] [Stable]" in summary), otherwise I doubt will be fixed too soon :(
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-02-03 23:18:39 UTC
Actually you are now seeing the same thing reported in bug #469942. I think this can be move to a bug on its own for toolchain eclass maintainers though.