Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458524 - net-libs/webkit-gtk-1.10.2-r300 - ./.libs/ undefined reference to `WebCore::openGLFunctionTable()'
Summary: net-libs/webkit-gtk-1.10.2-r300 - ./.libs/ undefined ref...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2013-02-21 01:49 UTC by Dennis Nezic
Modified: 2013-08-13 13:36 UTC (History)
0 users

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

build.log.bz2 (build.log.bz2,283.88 KB, application/x-bzip)
2013-02-21 16:27 UTC, Dennis Nezic

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Nezic 2013-02-21 01:49:54 UTC
With USE = -webgl +jit [and all else disabled], I get:

./.libs/ undefined reference to `WebCore::openGLFunctionTable()'
./.libs/ undefined reference to `WebCore::initializeOpenGLShims()'
collect2: ld returned 1 exit status

With USE = +webgl [and all else disabled], I get:
DerivedSources/ANGLE/glslang_tab.cpp: In function ‘int yyparse(TParseContext*)’:
DerivedSources/ANGLE/glslang_tab.cpp:1867:31: error: ‘abs’ was not declared in this scope
make[1]: *** [DerivedSources/ANGLE/libWebCore_la-glslang_tab.lo] Error 1

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-21 03:09:47 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Dennis Nezic 2013-02-21 16:27:46 UTC
Created attachment 339606 [details]

Portage (default/linux/amd64/13.0/no-multilib, gcc-4.5.3, glibc-2.12.1-r3, 3.8.0 x86_64)
System uname: Linux-3.8.0-x86_64-AMD_Turion-tm-_64_Mobile_Technology_ML-30-with-gentoo-2.2
KiB Mem:     1277120 total,    646440 free
KiB Swap:    1012088 total,    974568 free
Timestamp of tree: Thu, 21 Feb 2013 08:00:01 +0000
ld GNU ld (GNU Binutils)
ccache version 2.4 [disabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.6.7-r2, 3.2
dev-util/ccache:          2.4-r7
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.2
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.7.9-r1::<unknown repository>, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.0-r4
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.12.1-r3
Repositories: gentoo local-crixa-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=k8 -mtune=k8 -O -pipe"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=k8 -mtune=k8 -O -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X a52 aac alsa amd64 amr apng berkdb bzip2 cairo cli client cracklib crypt cups curl cxx dba divx4linux djvu dri dtmf dv dvi enca encode firefox flac fltk fortran gdbm gif gles gpm gtk guionly h323 http iconv idle imap ipv6 javascript jpeg latex llvm mad maps matroska mbox md5sum minizip mmx mmxext modules mp2 mp3 msn mudflap musepack ncurses nls nptl ogg opengl osgapps pcre png pnm portaudio python3 quicktime readline sasl sdl session sip sipim smtp sqlite sse sse2 ssl svg t1lib tcpd theora threads tiff tordns trayicon truetype udev unicode usb v4l v4l2 video vorbis wav webkit x264 xft xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 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 mmap_emul mulaw multi null plug rate route share shm softvol" 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" 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="keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r300" 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"
Comment 3 Dennis Nezic 2013-02-26 13:32:56 UTC
Regarding the other compilation error ('abs' not declared in this scope), with USE webgl enabled,  I was able to fix it by adding:

   #include <cstdlib>

to ./DerivedSources/ANGLE/glslang_tab.cpp

I'm using:
Comment 4 Pacho Ramos gentoo-dev 2013-04-07 08:12:48 UTC
please try with 2.0.x
Comment 5 reisio 2013-08-12 00:26:08 UTC
Works if you enable more than one USE flag, IME. Alas I didn’t have the time to try all combinations myself, and ended up just allowing all desktop profile USE flag defaults to be applied (presumably not every last one is required to make it emerge).
Comment 6 Pacho Ramos gentoo-dev 2013-08-13 13:36:54 UTC
2.0.4 should carry some changes fixing this kind of issues for some USE combinations