Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305015 - binutils 2.20 internal error while compiling qtwebkit 4.6.x
Summary: binutils 2.20 internal error while compiling qtwebkit 4.6.x
Status: RESOLVED DUPLICATE of bug 302696
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-14 03:08 UTC by yardbird
Modified: 2010-02-14 12:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yardbird 2010-02-14 03:08:18 UTC
While attempting to compile qtwebkit 4.6.0/1 on PPC64, binutils 2.20 fails due to an internal error towards the end of the compilation.
Comment 1 yardbird 2010-02-14 03:10:08 UTC
This is the last part of the build log:

../WebKit/qt/Api/qwebpage.cpp:363: warning:   when initialized here
../WebKit/qt/Api/qwebpage.cpp: In member function 'void QWebPagePrivate::inputMethodEvent(QInputMethodEvent*)':
../WebKit/qt/Api/qwebpage.cpp:1230: warning: enumeration value 'Language' not handled in switch
../WebKit/qt/Api/qwebpage.cpp:1230: warning: enumeration value 'Ruby' not handled in switch
../WebKit/qt/Api/qwebpage.cpp: In member function 'bool QWebPagePrivate::handleScrolling(QKeyEvent*, WebCore::Frame*)':
../WebKit/qt/Api/qwebpage.cpp:1316: warning: suggest parentheses around '&&' within '||'
../WebKit/qt/Api/qwebpage.cpp:1322: warning: suggest parentheses around '&&' within '||'
../WebKit/qt/Api/qwebpage.cpp:1326: warning: suggest parentheses around '&&' within '||'
../WebKit/qt/Api/qwebpage.cpp: In member function 'QAction* QWebPage::action(QWebPage::WebAction) const':
../WebKit/qt/Api/qwebpage.cpp:2193: warning: enumeration value 'ReloadAndBypassCache' not handled in switch
../WebKit/qt/Api/qwebpage.cpp:2193: warning: enumeration value 'WebActionCount' not handled in switch
compiling .moc/release-shared/moc_PluginContainerQt.cpp
compiling .moc/release-shared/moc_qwebframe.cpp
compiling .moc/release-shared/moc_qwebhistoryinterface.cpp
compiling .moc/release-shared/moc_qwebpluginfactory.cpp
compiling .moc/release-shared/moc_qwebinspector.cpp
compiling .rcc/release-shared/qrc_WebCore.cpp
compiling .rcc/release-shared/qrc_WebKit.cpp
rm -f libQtWebKit.so.4.6.1 libQtWebKit.so libQtWebKit.so.4 libQtWebKit.so.4.6
linking ../../../../lib/libQtWebKit.so.4.6.1
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.4.3/../../../../powerpc64-unknown-linux-gnu/bin/ld: BFD (GNU Binutils) 2.20 internal error, aborting at /var/tmp/portage/sys-devel/binutils-2.20/work/binutils-2.20/bfd/elf64-ppc.c line 5870 in ppc64_elf_gc_sweep_hook

/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.4.3/../../../../powerpc64-unknown-linux-gnu/bin/ld: Please report this bug.

collect2: ld returned 1 exit status
make: *** [../../../../lib/libQtWebKit.so.4.6.1] Error 1
 * ERROR: x11-libs/qt-webkit-4.6.1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 3376:  Called qt4-build_src_compile
 *   environment, line 3028:  Called build_directories 'src/3rdparty/webkit/WebCore' 'tools/designer/src/plugins/qwebview'
 *   environment, line  605:  Called die
 * The specific snippet of code:
 *           emake CC="@echo compiling \$< && $(tc-getCC)" CXX="@echo compiling \$< && $(tc-getCXX)" LINK="@echo linking \$@ && $(tc-getCXX)" || die "emake failed";
 *
 * If you need support, post the output of 'emerge --info =x11-libs/qt-webkit-4.6.1',
 * the complete build log and the output of 'emerge -pqv =x11-libs/qt-webkit-4.6.1'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/qt-webkit-4.6.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-webkit-4.6.1/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/qt-webkit-4.6.1/work/qt-everywhere-opensource-src-4.6.1'
Comment 2 yardbird 2010-02-14 03:10:49 UTC
This is the output of emerge --info:

Portage 2.2_rc62 (default/linux/powerpc/ppc64/10.0/64bit-userland, gcc-4.4.3, glibc-2.11-r1, 2.6.32 ppc64)
=================================================================
System uname: Linux-2.6.32-ppc64-PPC970,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Sat, 13 Feb 2010 01:45:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc64 ~ppc64"
ACCEPT_LICENSE="*"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=970 -mtune=970 -fomit-frame-pointer -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-O2 -mcpu=970 -mtune=970 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl akonadi alsa altivec avahi berkdb bzip2 cairo chm cleartype cli consolekit cracklib crypt cups curl cvs cxx dbus dirac djvu dri dvd ebook faad fam fftw firefox3 flac fontconfig fortran fuse gdbm gif git gmp gnutls gpm graphite graphviz gs gtk hal ibm iconv imagemagick inotify ipv6 java javascript jpeg jpeg2k kde kpathsea lapack lcms lzma matroska mdnsresponder-compat mng modules mozilla mp3 mpeg mplayer mpx mudflap mysql ncurses network nls nptl nptlonly nsplugin objc objc++ objc-gc ogg openexr opengl openmp openssl pam pcre pdf perl png policykit postscript ppc64 ppds pppd python qt3support qt4 readline reflection rtsp samba schroedinger sdl semantic-desktop session slang smp spell spl sql ssl subversion svg sysfs syslog tcpd theora threads tiff truetype unicode usb vcd vorbis webkit x264 xcb xcomposite xinerama xml xorg xrender xv xvid zeroconf 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-02-14 12:02:06 UTC

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