Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180354 - sys-devel/gcc-4.1.2 compile fails
Summary: sys-devel/gcc-4.1.2 compile fails
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2007-05-30 15:35 UTC by adam turner
Modified: 2007-05-31 19:39 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description adam turner 2007-05-30 15:35:16 UTC
during an emerge -puND world gcc needed an upgrade and failed.  i have no clue why and was pointed to posting a bug report.

loop.c:(.text+0x12b21): undefined reference to `__gcov_one_value_profiler'
loop.c:(.text+0x12b3b): undefined reference to `__gcov_pow2_profiler'
loop.c:(.text+0x12b6d): undefined reference to `__gcov_interval_profiler'
loop.c:(.text+0x12eb3): undefined reference to `__gcov_one_value_profiler'
loop.c:(.text+0x12ecd): undefined reference to `__gcov_pow2_profiler'
loop.c:(.text+0x12eff): undefined reference to `__gcov_interval_profiler'
libbackend.a(modulo-sched.o): In function `ps_has_conflicts':
modulo-sched.c:(.text+0xb89): undefined reference to `__gcov_one_value_profiler'
modulo-sched.c:(.text+0xbb5): undefined reference to `__gcov_one_value_profiler'
modulo-sched.c:(.text+0xd54): undefined reference to `__gcov_one_value_profiler'
libbackend.a(modulo-sched.o): In function `remove_node_from_ps':
modulo-sched.c:(.text+0xdc3): undefined reference to `__gcov_one_value_profiler'
modulo-sched.c:(.text+0xdf1): undefined reference to `__gcov_one_value_profiler'
libbackend.a(modulo-sched.o):modulo-sched.c:(.text+0xe99): more undefined references to `__gcov_one_value_profiler' follow
collect2: ld returned 1 exit status
make[2]: *** [cc1d] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.2 failed.
Call stack:, line 1615:   Called dyn_compile, line 972:   Called qa_call 'src_compile', line 44:   Called src_compile, line 1305:   Called toolchain_src_compile
  toolchain.eclass, line 26:   Called gcc_src_compile
  toolchain.eclass, line 1541:   Called gcc_do_make
  toolchain.eclass, line 1415:   Called die

# emerge --info
Portage (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r2, 2.6.20-gentoo-r7 i686)
System uname: 2.6.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 30 May 2007 12:00:08 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox"
LINGUAS="en_US en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="X aac acl alsa apache2 berkdb bitmap-fonts bzip2 cairo cdr cli cpudetection cracklib crypt cups d dbus divx dri ethereal evo exif fam fbcon firefox flac gd gdbm gif gmedia gnome gnome-print gnutls gstreamer gtk hal iconv imlib java javascript jce jikes jpeg kerberos lcms ldap ldapsam libg++ mad meanwhile midi mmx mmxext mp3 mpeg mplayer mudflap ncurses nls no-seamonkey nptl nptlonly nsplugin nvidia objc objc++ objc-gc ogg opengl openmp pam pcre pdf perl php png python qt3support qt4 quicktime radio rar rdesktop readline real realmedia reflection replytolist roe rtsp sdl session skins snmp soap sockets spell spl sse sse-filters sse2 ssl svg svga tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vlm vorbis win32codecs wmp wxwindows x86 xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia"

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2007-05-31 18:37:17 UTC
post a full build log as an attachment by running `emerge gcc >& log`
Comment 2 adam turner 2007-05-31 19:39:01 UTC
(In reply to comment #1)
> post a full build log as an attachment by running `emerge gcc >& log`

somehow i had 4.1.1-r3 on my system but that wasn't set as the gcc version to compile with, 3.4.6 was.  changed that and seems to be going smoothly now.  can't believe i've been running 3.4.6 for so long, apparently.