Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423811 - dev-libs/nss-3.13.5-r1 ABI=x32 - /usr/libx32/libnspr4.so: undefined reference to `_PR_x86_64_AtomicSet'
Summary: dev-libs/nss-3.13.5-r1 ABI=x32 - /usr/libx32/libnspr4.so: undefined reference...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2012-06-27 11:26 UTC by Joe
Modified: 2012-06-27 23:12 UTC (History)
0 users

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


Attachments
Build log (build.log,448.63 KB, text/plain)
2012-06-27 11:26 UTC, Joe
Details
Emerge info (emerge-info.log,4.12 KB, text/plain)
2012-06-27 11:27 UTC, Joe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe 2012-06-27 11:26:02 UTC
emerge of nss fails with the following error (also fails on the latest stable package).  See attached build log for details.


x86_64-pc-linux-gnu-gcc -o Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/addbuiltin.o -c -O2 -fno-strict-aliasing -ansi -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -Di386 -DLINUX2_1 -mx32 -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I/usr/include/nspr -I../../../dist/Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include -I../../../dist/public/nss  -I../../../dist/private/nss  -I/usr/include/nspr -I../../../dist/Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include/dbm -I../../../dist/public/seccmd -O2 -pipe -march=core2 addbuiltin.c
x86_64-pc-linux-gnu-gcc -o Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/addbuiltin -O2 -fno-strict-aliasing -ansi -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -Di386 -DLINUX2_1 -mx32 -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I/usr/include/nspr -I../../../dist/Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include -I../../../dist/public/nss  -I../../../dist/private/nss  -I/usr/include/nspr -I../../../dist/Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/include/dbm -I../../../dist/public/seccmd -O2 -pipe -march=core2 Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/addbuiltin.o -Wl,-O1 -mx32 -mx32 -mx32 ../../../dist/Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/lib/libsectool.a  -Wl,-rpath,'$ORIGIN/../lib' -L../../../dist/Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/lib -lssl3 -lsmime3 -lnss3 -L../../../dist/Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/lib -lnssutil3 -L/usr/libx32 -lplc4 -lplds4 -lnspr4  -lpthread  -ldl -lc
/usr/libx32/libnspr4.so: undefined reference to `_PR_x86_64_AtomicSet'
/usr/libx32/libnspr4.so: undefined reference to `_PR_x86_64_AtomicIncrement'
/usr/libx32/libnspr4.so: undefined reference to `_PR_x86_64_AtomicAdd'
/usr/libx32/libnspr4.so: undefined reference to `_PR_x86_64_AtomicDecrement'
collect2: error: ld returned 1 exit status
make[2]: *** [Linux3.4_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_OPT.OBJ/addbuiltin] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.13.5-r1/work/nss-3.13.5/mozilla/security/nss/cmd/addbuiltin'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.13.5-r1/work/nss-3.13.5/mozilla/security/nss/cmd'
make: *** [libs] Error 2
emake failed


Reproducible: Always

Steps to Reproduce:
Emerge nss on the recently released experimental x32 stage
Comment 1 Joe 2012-06-27 11:26:54 UTC
Created attachment 316401 [details]
Build log
Comment 2 Joe 2012-06-27 11:27:30 UTC
Created attachment 316403 [details]
Emerge info
Comment 3 Jory A. Pratt gentoo-dev 2012-06-27 19:14:54 UTC
Fix undefined references on x32

(Portage version: 2.1.11.1/cvs/Linux x86_64)

Appears your tree is out of date ...

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/nspr/nspr-4.9.1-r2.ebuild?view=log