Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482660 - www-client/chromium-29.0.1547.57 undefined reference to `__stack_chk_fail'
Summary: www-client/chromium-29.0.1547.57 undefined reference to `__stack_chk_fail'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 10:42 UTC by Jan Matějka (RETIRED)
Modified: 2013-08-27 14:57 UTC (History)
0 users

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


Attachments
build.log (build.log.gz,132.66 KB, application/x-gzip)
2013-08-27 10:44 UTC, Jan Matějka (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Matějka (RETIRED) gentoo-dev 2013-08-27 10:42:41 UTC
x86_64-pc-linux-gnu-g++ '-DANGLE_DX11' '-D_FILE_OFFSET_BITS=64' '-DUSE_LINUX_BREAKPAD' '-DNO_TCMALLOC' '-DCHROMIUM_BUILD' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DE
NABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_CDMS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DENABLE_TASK_MANAGER=1' '-DENABLE_EXTENSIONS=1' '-DENABLE_PLUGI
N_INSTALLATION=1' '-DENABLE_PLUGINS=1' '-DENABLE_SESSION_SERVICE=1' '-DENABLE_THEMES=1' '-DENABLE_BACKGROUND=1' '-DENABLE_AUTOMATION=1' '-DENABLE_GOOGLE_NOW=1' '-DENABLE_LANGUAGE_DETECTION=1' '-DENABLE_PRINTING=1' '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' '-DENABLE_MANAGED_USE
RS=1' '-DCRYPTO_IMPLEMENTATION' '-D__STDC_CONSTANT_MACROS' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' '-D_FORTIFY_SOURCE=2' -Iout/Release/obj/gen/shim_headers/zlib/target -Iout/Release/obj/gen/shim_headers/libevent/target -Iout/Rele
ase/obj/gen/shim_headers/nspr/target -I. -Inet/third_party/nss/ssl  -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -pthread -I/usr/include
/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/g
lib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -MMD 
-MF out/Release/.deps/out/Release/obj.target/crypto/crypto/third_party/nss/sha512.o.d.raw -O2 -pipe -march=corei7-avx -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mtune=generic -fno-strict-overflow -fstack-protector-all -c -o out/Release/obj.
target/crypto/crypto/third_party/nss/sha512.o crypto/third_party/nss/sha512.cc
/var/tmp/portage/www-client/chromium-29.0.1547.57/work/chromium-29.0.1547.57/out/Release/obj/gen/nacl_bootstrap/../../../obj.target/nacl_bootstrap_lib/native_client/src/trusted/service_runtime/linux/nacl_bootstrap.o: In function `my_pread':
nacl_bootstrap.c:(.text.my_pread+0xa2): undefined reference to `__stack_chk_fail'
/var/tmp/portage/www-client/chromium-29.0.1547.57/work/chromium-29.0.1547.57/out/Release/obj/gen/nacl_bootstrap/../../../obj.target/nacl_bootstrap_lib/native_client/src/trusted/service_runtime/linux/nacl_bootstrap.o: In function `handle_bss.part.3':
nacl_bootstrap.c:(.text.handle_bss.part.3+0x142): undefined reference to `__stack_chk_fail'
/var/tmp/portage/www-client/chromium-29.0.1547.57/work/chromium-29.0.1547.57/out/Release/obj/gen/nacl_bootstrap/../../../obj.target/nacl_bootstrap_lib/native_client/src/trusted/service_runtime/linux/nacl_bootstrap.o: In function `load_elf_file':
nacl_bootstrap.c:(.text.load_elf_file+0x6c4): undefined reference to `__stack_chk_fail'
/var/tmp/portage/www-client/chromium-29.0.1547.57/work/chromium-29.0.1547.57/out/Release/obj/gen/nacl_bootstrap/../../../obj.target/nacl_bootstrap_lib/native_client/src/trusted/service_runtime/linux/nacl_bootstrap.o: In function `do_load':
nacl_bootstrap.c:(.text.do_load+0x36b): undefined reference to `__stack_chk_fail'
make: *** [out/Release/nacl_bootstrap_raw] Error 1


Reproducible: Always




Portage 2.1.12.2 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16387504 total,   3345096 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 26 Aug 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.6.8-r3, 2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise improvise yac zugaina
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2  -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -fno-strict-overflow -fstack-protector-all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-O2 -pipe -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2  -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -fno-strict-overflow -fstack-protector-all"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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/sunrise /var/lib/layman/improvise /var/lib/layman/yac /var/lib/layman/zugaina"
SYNC=""
USE="3dnow 3dnowext aalib acl acpi alsa amd64 bzip2 cdr cli cracklib crypt cxx dri dvd faac ffmpeg gdbm hardened iconv ipv6 justify lame laptop mmx mmxext modules mudflap multilib ncurses nls nptl opengl openmp pam pax_kernel pcre readline session sse sse2 ssl ssse3 tcpd theora threads unicode urandom v4l v4l2 vim-syntax xcomposite xinerama 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" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="contextswitch cpu csv curl curl_json curl_xml disk dns entropy ethstat exec filecount hddtemp iptables md network nginx ping processes protocols python sensors thermal unixsock uptime users uuid vmem syslog rrdtool df cpufreq conntrack contextswitch dns entropy ethstat filecount hddtemp interface libvirt load memory netlink network nginx ping processes sensors swap tcpconns thermal uptime unixsock users vmem aggregation cbugzilla" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600 fglrx" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-libs/glibc-2.15-r3 was built with the following:
USE="hardened (multilib) -debug -gd -profile (-selinux) -vanilla" ABI_X86="64"
CFLAGS="-fPIC -O2 -fno-strict-aliasing -fno-stack-protector"
CXXFLAGS="-pipe -march=corei7-avx -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mtune=generic -fno-strict-overflow -fstack-protector-all -ggdb -O2 -fno-strict-aliasing"
Comment 1 Jan Matějka (RETIRED) gentoo-dev 2013-08-27 10:44:05 UTC
Created attachment 357162 [details]
build.log
Comment 2 Jan Matějka (RETIRED) gentoo-dev 2013-08-27 13:11:26 UTC
Maybe something fishy in my system. I tried rebuild glibc and I'm getting

make[3]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.15-r3/work/glibc-2.15/elf'
x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed  -nostdlib -nostartfiles -r -o /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os '-Wl,-(' /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/d
l-allobjs.os /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/rtld-libc.a -lgcc '-Wl,-)' \
          -Wl,-Map,/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os.map
x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed  -nostdlib -nostartfiles -shared -o /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so           \
          -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs -Wl,-z,now  \
          /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os -Wl,--version-script=/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/ld.map          \
          -Wl,-soname=ld-linux.so.2                     \
          -Wl,-defsym=_begin=0
/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_initial_error_catch_tsd':
(.text+0xa4): undefined reference to `__stack_chk_fail_local'
/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `rtld_lock_default_lock_recursive':
rtld.c:(.text+0xda): undefined reference to `__stack_chk_fail_local'
/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `rtld_lock_default_unlock_recursive':
rtld.c:(.text+0x10a): undefined reference to `__stack_chk_fail_local'
/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `lookup_doit':
rtld.c:(.text+0x196): undefined reference to `__stack_chk_fail_local'
/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `dlmopen_doit':
rtld.c:(.text+0x21b): undefined reference to `__stack_chk_fail_local'
/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os:rtld.c:(.text+0x28d): more undefined references to `__stack_chk_fail_local' follow
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so: hidden symbol `__stack_chk_fail_local' isn't defined
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.15-r3/work/glibc-2.15/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.15-r3/work/glibc-2.15'
make: *** [all] Error 2
emake failed
Comment 3 Jan Matějka (RETIRED) gentoo-dev 2013-08-27 14:57:35 UTC
Ok. this is aparently due to my stupid CFLAGS