I'm using ~x86 system and gcc 4.5.0 (.text._ZN7WebCoreL35destroyCounterNodeWithoutMapRemovalERKNS_12AtomicStringEPNS_11CounterNodeE+0x167): undefined reference to `WebCore::CounterNode::removeChild(WebCore::CounterNode*, WebCore::AtomicString const&)' And a lot other. Like if some -l to webkit library is missing. i686-pc-linux-gnu-g++ -Os -march=pentium-m -pipe -fno-ident -fomit-frame-pointer -D__STDC_CONSTANT_MACROS -DUSE_SSE=0 -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -m32 -mmmx -fno-strict-aliasing -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden '-DNO_TCMALLOC' '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DLINUX_SANDBOX_PATH="/usr/lib/chromium-browser/chrome_sandbox"' '-DGLEW_STATIC' '-DGL_GLEXT_PROTOTYPES' '-DNACL_WINDOWS=0' '-DNACL_LINUX=1' '-DNACL_OSX=0' '-DNACL_TARGET_SUBARCH=32' '-DNACL_BUILD_SUBARCH=32' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -Igpu -Ithird_party/glew/include -Ithird_party/sqlite/preprocessed -MMD -MF out/Release/.deps/out/Release/obj.target/chrome/chrome/app/chrome_exe_main_gtk.o.d.raw -c -o out/Release/obj.target/chrome/chrome/app/chrome_exe_main_gtk.o chrome/app/chrome_exe_main_gtk.cc i686-pc-linux-gnu-g++ -Wl,-O1 -pthread -Wl,-z,noexecstack -m32 -Lout/Release -Wl,--gc-sections -o out/Release/chrome -Wl,--start-group out/Release/obj.target/chrome/chrome/app/chrome_dll_main.o out/Release/obj.target/chrome/chrome/app/chrome_exe_main_gtk.o out/Release/obj.target/chrome/libchrome_version_info.a out/Release/obj.target/chrome/libcommon.a out/Release/obj.target/chrome/libbrowser.a out/Release/obj.target/chrome/libdebugger.a out/Release/obj.target/chrome/libchrome_gpu.a out/Release/obj.target/chrome/librenderer.a out/Release/obj.target/chrome/libsyncapi.a out/Release/obj.target/chrome/libutility.a out/Release/obj.target/chrome/libprofile_import.a out/Release/obj.target/chrome/libworker.a out/Release/obj.target/chrome/libservice.a out/Release/obj.target/printing/libprinting.a out/Release/obj.target/chrome/installer/libinstaller_util.a out/Release/obj.target/sandbox/libsandbox.a out/Release/obj.target/chrome/libcommon_constants.a out/Release/obj.target/base/libbase.a out/Release/obj.target/third_party/modp_b64/libmodp_b64.a out/Release/obj.target/base/libdynamic_annotations.a out/Release/obj.target/net/third_party/nss/libssl.a out/Release/obj.target/third_party/zlib/libzlib.a out/Release/obj.target/base/libsymbolize.a out/Release/obj.target/base/libxdg_mime.a out/Release/obj.target/chrome/libcommon_net.a out/Release/obj.target/app/libapp_base.a out/Release/obj.target/base/libbase_i18n.a out/Release/obj.target/third_party/icu/libicui18n.a out/Release/obj.target/third_party/icu/libicuuc.a out/Release/obj.target/third_party/icu/libicudata.a out/Release/obj.target/gfx/libgfx.a out/Release/obj.target/skia/libskia.a out/Release/obj.target/skia/libskia_opts.a out/Release/obj.target/third_party/harfbuzz/libharfbuzz.a out/Release/obj.target/third_party/harfbuzz/libharfbuzz_interface.a out/Release/obj.target/third_party/sqlite/libsqlite3.a out/Release/obj.target/net/libnet.a out/Release/obj.target/build/temp_gyp/libgoogleurl.a out/Release/obj.target/sdch/libsdch.a out/Release/obj.target/net/libnet_base.a out/Release/obj.target/v8/tools/gyp/libv8_nosnapshot.a out/Release/obj.target/v8/tools/gyp/libv8_base.a out/Release/obj.target/ipc/libipc.a out/Release/obj.target/webkit/support/libappcache.a out/Release/obj.target/webkit/support/libglue.a out/Release/obj.target/gpu/libgpu_plugin.a out/Release/obj.target/gpu/libcommand_buffer_service.a out/Release/obj.target/gpu/libcommand_buffer_service_impl.a out/Release/obj.target/gpu/libcommand_buffer_common.a out/Release/obj.target/gpu/libgl_libs.a out/Release/obj.target/third_party/protobuf2/libprotobuf_lite.a out/Release/obj.target/third_party/libjingle/libjingle.a out/Release/obj.target/chrome/libnotifier.a out/Release/obj.target/chrome/libsync.a out/Release/obj.target/third_party/protobuf2/libprotobuf.a out/Release/obj.target/media/libmedia.a out/Release/obj.target/media/libomx_wrapper.a out/Release/obj.target/third_party/openmax/libil.a out/Release/obj.target/third_party/ffmpeg/libffmpeg.a out/Release/obj.target/third_party/hunspell/libhunspell.a out/Release/obj.target/webkit/support/libdatabase.a out/Release/obj.target/chrome/libplugin.a out/Release/obj.target/third_party/cld/libcld.a out/Release/obj.target/third_party/WebKit/WebKit/chromium/libwebkit.a out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore.a out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore_bindings.a out/Release/obj.target/third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/libpcre.a out/Release/obj.target/third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/libwtf.a out/Release/obj.target/third_party/ots/libots.a out/Release/obj.target/chrome/libnacl.a out/Release/obj.target/native_client/src/trusted/plugin/libnpGoogleNaClPluginChrome.a out/Release/obj.target/native_client/src/shared/gio/libgio.a out/Release/obj.target/native_client/src/shared/imc/libgoogle_nacl_imc_c.a out/Release/obj.target/native_client/src/shared/npruntime/libgoogle_nacl_npruntime.a out/Release/obj.target/native_client/src/shared/platform/libplatform.a out/Release/obj.target/native_client/src/trusted/desc/libnrd_xfer.a out/Release/obj.target/native_client/src/trusted/nonnacl_util/libnonnacl_util_chrome.a out/Release/obj.target/native_client/src/trusted/nonnacl_util/linux/libnonnacl_util_linux.a out/Release/obj.target/native_client/src/trusted/nonnacl_util/libsel_ldr_launcher.a out/Release/obj.target/native_client/src/shared/srpc/libnonnacl_srpc.a out/Release/obj.target/native_client/src/trusted/service_runtime/libexpiration.a out/Release/obj.target/native_client/src/trusted/service_runtime/libgio_shm.a out/Release/obj.target/native_client/src/trusted/service_runtime/libsel.a out/Release/obj.target/native_client/src/trusted/service_runtime/arch/x86/libservice_runtime_x86_common.a out/Release/obj.target/native_client/src/trusted/validator_x86/libncvalidate.a out/Release/obj.target/native_client/src/trusted/validator_x86/libncopcode_utils.a out/Release/obj.target/native_client/src/trusted/service_runtime/arch/x86_32/libservice_runtime_x86_32.a out/Release/obj.target/native_client/src/trusted/platform_qualify/libplatform_qual_lib.a out/Release/obj.target/gpu/libgles2_c_lib.a out/Release/obj.target/gpu/libgles2_lib.a out/Release/obj.target/gpu/libgles2_implementation.a out/Release/obj.target/gpu/libgles2_cmd_helper.a out/Release/obj.target/gpu/libcommand_buffer_client.a -Wl,--end-group -lX11 -ldl -lXrender -lXss -lXext -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lsmime3 -lnssutil3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -lz -levent -ljpeg -lpng14 -lgconf-2 -lxml2 -lexpat -lasound -lbz2 -ldbus-glib-1 -ldbus-1 -lxslt -lm out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore.a(RenderCounter.o): In function `WebCore::makeCounterNode(WebCore::RenderObject*, WebCore::AtomicString const&, bool)': RenderCounter.cpp:(.text._ZN7WebCoreL15makeCounterNodeEPNS_12RenderObjectERKNS_12AtomicStringEb+0x19f): undefined reference to `WebCore::CounterNode::CounterNode(WebCore::RenderObject*, bool, int)' RenderCounter.cpp:(.text._ZN7WebCoreL15makeCounterNodeEPNS_12RenderObjectERKNS_12AtomicStringEb+0x3d0): undefined reference to `WebCore::CounterNode::insertAfter(WebCore::CounterNode*, WebCore::CounterNode*, WebCore::AtomicString const&)' RenderCounter.cpp:(.text._ZN7WebCoreL15makeCounterNodeEPNS_12RenderObjectERKNS_12AtomicStringEb+0x3fc): undefined reference to `WebCore::CounterNode::insertAfter(WebCore::CounterNode*, WebCore::CounterNode*, WebCore::AtomicString const&)' out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore.a(RenderCounter.o): In function `WebCore::RenderCounter::rendererSubtreeAttached(WebCore::RenderObject*)': RenderCounter.cpp:(.text._ZN7WebCore13RenderCounter23rendererSubtreeAttachedEPNS_12RenderObjectE+0x197): undefined reference to `WebCore::CounterNode::removeChild(WebCore::CounterNode*, WebCore::AtomicString const&)' RenderCounter.cpp:(.text._ZN7WebCore13RenderCounter23rendererSubtreeAttachedEPNS_12RenderObjectE+0x1d5): undefined reference to `WebCore::CounterNode::insertAfter(WebCore::CounterNode*, WebCore::CounterNode*, WebCore::AtomicString const&)' out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore.a(RenderCounter.o): In function `WebCore::destroyCounterNodeWithoutMapRemoval(WebCore::AtomicString const&, WebCore::CounterNode*)': RenderCounter.cpp:(.text._ZN7WebCoreL35destroyCounterNodeWithoutMapRemovalERKNS_12AtomicStringEPNS_11CounterNodeE+0x11): undefined reference to `WebCore::CounterNode::lastDescendant() const' RenderCounter.cpp:(.text._ZN7WebCoreL35destroyCounterNodeWithoutMapRemovalERKNS_12AtomicStringEPNS_11CounterNodeE+0x34): undefined reference to `WebCore::CounterNode::previousInPreOrder() const' RenderCounter.cpp:(.text._ZN7WebCoreL35destroyCounterNodeWithoutMapRemovalERKNS_12AtomicStringEPNS_11CounterNodeE+0x49): undefined reference to `WebCore::CounterNode::removeChild(WebCore::CounterNode*, WebCore::AtomicString const&)' RenderCounter.cpp:(.text._ZN7WebCoreL35destroyCounterNodeWithoutMapRemovalERKNS_12AtomicStringEPNS_11CounterNodeE+0x167): undefined reference to `WebCore::CounterNode::removeChild(WebCore::CounterNode*, WebCore::AtomicString const&)' collect2: ld returned 1 exit status make: *** [out/Release/chrome] Error 1 * ERROR: www-client/chromium-6.0.408.1 failed: * compilation failed * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2678: Called die * The specific snippet of code: * emake -r V=1 chrome chrome_sandbox BUILDTYPE=Release rootdir="${S}" CC=$(tc-getCC) CXX=$(tc-getCXX) AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) || die "compilation failed"
I had what looks like the same problem until I tried it without ccache.
(In reply to comment #1) > I had what looks like the same problem until I tried it without ccache. > But I'm not using CCACHE.
Could you post your emerge --info?
Sure here it is. Portage 2.2_rc67 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.0, glibc-2.11.1-r0, 2.6.34 i686) ================================================================= System uname: Linux-2.6.34-i686-Intel-R-_Celeron-R-_M_processor_900MHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 22 May 2010 11:45:02 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-python/pycrypto: 2.1.0 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.0 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA dlj-1.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -pipe -fno-ident -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" 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" CXXFLAGS="-Os -march=pentium-m -pipe -fno-ident -fomit-frame-pointer" DISTDIR="/mnt/schedasd/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="it" MAKEOPTS="-j1" PKGDIR="/mnt/schedasd/portage/package" 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="/mnt/schedasd/vartmp" PORTDIR="/mnt/schedasd/portage" PORTDIR_OVERLAY="/usr/local/portage/my-overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl custom-cflags custom-cxxflags cxx dbus djvu dri dts dv dvb dvd dvdr emboss encode evo exif expat fam ffmpeg fftw firefox flac fortran gdbm gdu gif glitz gmp gnome gnome-keyring gpm gstreamer gtk hal iconv imlib inotify jpeg lame latex lcms libnotify lua mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap musepack nautilus ncurses nls nptl nptlonly ogg openal opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline reflection samba sdl session speex spell spl sqlite sse sse2 ssl startup-notification subversion svg sysfs tcl tcpd theora threads tiff timidity tk truetype unicode usb v4l2 vim-syntax vorbis wavpack win32codecs x264 x86 xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for the report, I tested gcc 4.5.0 with chromium-6.0.437.3, it emerged fine, so looks like this was fixed with new version :) Of course reopen the bug if you still have the problem on your sytem