Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323325 - www-client/chromium-5.0.375.{55,70} build failure with PIC
Summary: www-client/chromium-5.0.375.{55,70} build failure with PIC
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bernard Cafarelli
URL: http://code.google.com/p/chromium/iss...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 12:25 UTC by Constantine Kardaris
Modified: 2010-06-12 14:01 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,197.76 KB, text/plain)
2010-06-09 13:36 UTC, Constantine Kardaris
Details
environment (environment,103.87 KB, text/plain)
2010-06-09 13:37 UTC, Constantine Kardaris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Constantine Kardaris 2010-06-09 12:25:53 UTC
hello, chromium-5.0.375.70 and 375.55 fail to build giving error:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: out/Release/obj.target/native_client/src/trusted/service_runtime/arch/x86_64/libservice_runtime_x86_64.a(nacl_syscall_64.o): relocation R_X86_64_TPOFF32 against `nacl_thread_index' can not be used when making a shared object; recompile with -fPIC
out/Release/obj.target/native_client/src/trusted/service_runtime/arch/x86_64/libservice_runtime_x86_64.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [out/Release/chrome] Error 1
 * ERROR: www-client/chromium-5.0.375.70 failed:
 *   compilation failed
 *
 * Call stack:
 *     ebuild.sh, line  48:  Called src_compile
 *   environment, line 2761:  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"


Portage 2.2_rc67 (hardened/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.33.5-grsecurity-r1 x86_64)
=================================================================
System uname: Linux-2.6.33.5-grsecurity-r1-x86_64-AMD_Athlon-tm-_II_X3_440_Processor-with-gentoo-1.12.13
Timestamp of tree: Tue, 08 Jun 2010 00:00:19 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-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/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=native -O2 -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="files.gentoo.gr"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j4"
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/overlays/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gtk hardened iconv jpeg justify mmx modules mudflap multilib ncurses nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session spl sse sse2 ssl sysfs tcpd truetype unicode urandom xft xorg zlib" 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 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="evdev vmmouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" QEMU_SOFTMMU_TARGETS="i386 mips mips64 mips64el mipsel" QEMU_USER_TARGETS="i386 mips mipsel" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmware" 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
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-09 13:15:01 UTC
Hi, we need the full build.log and environemnt files (mentioned at the end of the failed emerge), thanks
Comment 2 Constantine Kardaris 2010-06-09 13:36:45 UTC
Created attachment 234709 [details]
build.log
Comment 3 Constantine Kardaris 2010-06-09 13:37:28 UTC
Created attachment 234711 [details]
environment
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-10 17:27:06 UTC
Could you report the bug upstream and give them this link: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3?

See http://new.crbug.com

Then please post the reported bug URL here.
Comment 5 Constantine Kardaris 2010-06-10 20:00:40 UTC
done

http://code.google.com/p/chromium/issues/detail?id=46281
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-12 14:01:11 UTC
Thanks, I'm now tracking the upstream issue and closing this bug.