Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419359 - net-libs/webkit-gtk-1.6.3-r200 failes to compile with gcc-4.5.3 and -ggdb option
Summary: net-libs/webkit-gtk-1.6.3-r200 failes to compile with gcc-4.5.3 and -ggdb option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 14:35 UTC by Florian Schmaus
Modified: 2012-09-16 08:55 UTC (History)
1 user (show)

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


Attachments
build.log.xz compressed (original size is ~ 14MiB) (webkit-gtk.build.log.xz,66.84 KB, application/x-xz)
2012-06-02 16:17 UTC, Florian Schmaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2012-06-02 14:35:08 UTC
When trying to emerge webkit-gtk with gcc-4.5.3 the following compile time error occurs.

1.6.3-r200/image//usr/share/locale/sl/LC_MESSAGES/webkit-2.0.mo
installing Source/WebKit/gtk/po/sr@latin.mo as /var/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/image//usr/share/locale/sr@latin/LC_MESSAGES/webkit-2.0.mo
installing Source/WebKit/gtk/po/sr.mo as /var/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/image//usr/share/locale/sr/LC_MESSAGES/webkit-2.0.mo
installing Source/WebKit/gtk/po/sv.mo as /var/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/image//usr/share/locale/sv/LC_MESSAGES/webkit-2.0.mo
installing Source/WebKit/gtk/po/uk.mo as /var/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/image//usr/share/locale/uk/LC_MESSAGES/webkit-2.0.mo
installing Source/WebKit/gtk/po/vi.mo as /var/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/image//usr/share/locale/vi/LC_MESSAGES/webkit-2.0.mo
installing Source/WebKit/gtk/po/zh_CN.mo as /var/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/image//usr/share/locale/zh_CN/LC_MESSAGES/webkit-2.0.mo
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libWebCore.a(libWebCore_la-AccessibilityARIAGridCell.o): bad reloc symbol index (0x40000 >= 0x158) for offset 0x0 in section `.debug_info'
./.libs/libWebCore.a(libWebCore_la-AccessibilityARIAGridCell.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `libwebkitgtk-1.0.la' with the above command before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.6.3-r200/work/webkit-1.6.3'
make: *** [install] Error 2

Switching to gcc-4.4.6 resolves the problem.

Reproducible: Always

Steps to Reproduce:
1. set active gcc to 4.5.3
2. emerge -1 =net-libs/webkit-gtk-1.6.3-r200




emerge --info: https://paste.lugons.org/show/1758/
build.log is about 14M. I can upload it somewhere if it's really required.
Comment 1 Rafał Mużyło 2012-06-02 15:14:48 UTC
Just compress the log.
But any chance it was a parallel make/ccache problem ?
Comment 2 Florian Schmaus gentoo-dev 2012-06-02 16:17:33 UTC
Created attachment 313943 [details]
build.log.xz compressed (original size is ~ 14MiB)
Comment 3 Michael Weber (RETIRED) gentoo-dev 2012-06-03 23:06:03 UTC
Do not link (esp. `emerge --info`) to external temporary pastebins.


 # emerge --info
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.2.2 x86_64)
=================================================================
System uname: Linux-3.2.2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6700_@_2.66GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 31 May 2012 01:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r1, 3.1.5, 3.2.3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo betagarden arcon belak scarabeus dustin gamerlay-stable multimedia moonrise seden x-portage flow bitcoin sage-on-gentoo sunrise gentoo-haskell
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j 6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/betagarden /var/lib/layman/arcon /var/lib/layman/belak /var/lib/layman/scarabeus /var/lib/layman/dustin /var/lib/layman/gamerlay /var/lib/layman/multimedia /var/lib/layman/moonrise /var/lib/layman/seden /usr/local/portage /usr/local/flo_portage /usr/local/bitcoin-gentoo /usr/local/sage-on-gentoo /usr/local/sunrise /usr/local/gentoo-haskell"
SYNC="rsync://highrise.sch/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi adns alsa amd64 ao applet ares asyncns avahi bash-completion berkdb bluetooth branding bzip2 cairo canvas caps cdda cdparanoia cdr cg cli colord consolekit cracklib crypt css cuda cups curl cvs cxx daap darcs dbus dedicated device-mapper dga dia dirac divx4linux dri dts dv dvd dvdr dvdread dynamic eap-sim emacs emboss encode escreen evo exif fat ffmpeg firefox flac fontconfig fortran ftp fuse gajim galago gcrypt gd gdbm gdu gedit gif gimp git glitz gnome gnome-keyring gnome-online-accounts gnutls gpg gphoto2 gpm gstreamer gtk gtk2 hddtemp hoogle howl howl-compat hscolour iconv icu id3tag idn ieee1394 imap inkjar iproute2 ipv6 ithreads jadetex java java6 javascript jingle jpeg jpeg2k kate kde kdrive keyring kpathsea kvm latex lcms libcaca libedit libnotify lm_sensors logrotate lua mad matroska mdnsresponder-compat mercurial mmx mmxext mng modules mozilla mozsvg mp2 mp3 mp4 mpeg mplayer mudflap multilib musicbrainz nas nautilus ncurses networkmanager nls nptl nptlonly nsplugin ntfs nvidia ocamlopt offensive ogg openal openct opengl openmp otr pam pango pcmcia pcre pcsc-lite pdf pixbuf png policykit posix ppds pppd preview-latex pulseaudio python qemu qt qt3support qt4 quicktime rar readline rtc ruby samba scanner schroedinger sdl session slang smartcard smp socialweb sound speex spell sqlite sse sse2 ssl ssse3 startup-notification subtitles subversion svg system-sqlite tagwriting tga theora threads tiff tk tordns tpm truetype twolame udev udisks unicode upnp upower usb utils v4l v4l2 vcd vdpau vorbis webkit wifi wxwidgets x264 xattr xcb xcomposite xforms xft xinerama xml xorg xv xvfb xvid xvmc zeroconf zlib zrtp zsh-completion" 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="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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-06-04 05:09:27 UTC
Can't reproduce here with gcc-4.5.3-r2, but I have CFLAGS="-march=core2 -O2 -pipe".

Does removing -ggdb from CFLAGS make a difference?
Comment 5 Florian Schmaus gentoo-dev 2012-06-05 21:26:53 UTC
The package emerged successfully with gcc-4.5.3 after removing -ggdb. Thanks for your help!
Comment 6 Pacho Ramos gentoo-dev 2012-06-06 08:35:11 UTC
Could you try if the problem still exists with 1.8.1-r201?
Comment 7 Florian Schmaus gentoo-dev 2012-06-06 16:18:27 UTC
-1.8.1-r201 compiles fine with -ggdb and gcc-4.5.3
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-06-07 09:02:35 UTC
@toolchain, do you think this is a bug in gcc-4.5.3?
Comment 9 Pacho Ramos gentoo-dev 2012-07-07 13:07:54 UTC
(In reply to comment #8)
> @toolchain, do you think this is a bug in gcc-4.5.3?

ping!
Comment 10 Pacho Ramos gentoo-dev 2012-09-16 08:55:04 UTC
1.8.x will go to stable soon