Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264826 - building dev-libs/nss-3.12.2 fails on mpi_x86.s
Summary: building dev-libs/nss-3.12.2 fails on mpi_x86.s
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-04 05:40 UTC by Dave Bender
Modified: 2009-04-06 16:50 UTC (History)
0 users

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


Attachments
paludis --info output (paludis.info,3.07 KB, text/plain)
2009-04-04 22:36 UTC, Dave Bender
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Bender 2009-04-04 05:40:46 UTC
Compile errors encountered when dev-libs/nss is built using paludis using gcc-4.3.3-r2

Reproducible: Always

Steps to Reproduce:
1. paludis -i dev-libs/nss
2.
3.

Actual Results:  
x86_64-pc-linux-gnu-gcc -o Linux2.6_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/mpi_x86.o -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -D_X86_  -ansi -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -DNSS_USE_64 -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE  -DMP_ASSEMBLY_DIV_2DX1D -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN -DMP_API_COMPATIBLE -I../../../dist/Linux2.6_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/include  -I../../../dist/public/nss -I../../../dist/private/nss -I/usr/include/nspr -I../../../dist/Linux2.6_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/include/dbm -Impi -Iecl -O2 -march=nocona -pipe -c mpi/mpi_x86.s
mpi/mpi_x86.s: Assembler messages:
mpi/mpi_x86.s:102: Error: 8-byte relocation cannot be applied to 4-byte field
mpi/mpi_x86.s:107: Error: 8-byte relocation cannot be applied to 4-byte field
mpi/mpi_x86.s:111: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:114: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:115: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:116: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:138: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:139: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:140: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:145: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:147: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:148: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:170: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:171: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:201: Error: 8-byte relocation cannot be applied to 4-byte field
mpi/mpi_x86.s:206: Error: 8-byte relocation cannot be applied to 4-byte field
mpi/mpi_x86.s:210: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:213: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:214: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:215: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:240: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:241: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:242: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:247: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:249: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:250: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:274: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:275: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:298: Error: 8-byte relocation cannot be applied to 4-byte field
mpi/mpi_x86.s:303: Error: 8-byte relocation cannot be applied to 4-byte field
mpi/mpi_x86.s:307: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:310: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:311: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:312: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:348: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:349: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:350: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:355: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:357: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:358: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:359: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:395: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:396: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:397: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:425: Error: 8-byte relocation cannot be applied to 4-byte field
mpi/mpi_x86.s:430: Error: 8-byte relocation cannot be applied to 4-byte field
mpi/mpi_x86.s:434: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:437: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:438: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:439: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:477: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:478: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:479: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:484: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:486: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:487: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:488: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:527: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:528: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:529: Error: suffix or operands invalid for `pop'
mpi/mpi_x86.s:560: Error: suffix or operands invalid for `push'
mpi/mpi_x86.s:570: Error: suffix or operands invalid for `pop'
make[3]: *** [Linux2.6_x86_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/mpi_x86.o] Error 1
make[3]: Leaving directory `/var/tmp/paludis/dev-libs-nss-3.12.2/work/mozilla/security/nss/lib/freebl'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/tmp/paludis/dev-libs-nss-3.12.2/work/mozilla/security/nss/lib/freebl'
make[1]: Leaving directory `/var/tmp/paludis/dev-libs-nss-3.12.2/work/mozilla/security/nss/lib'
make[1]: *** [libs] Error 2
make: *** [libs] Error 2


Expected Results:  
Successful build

Build Host: x86_64-pc-linux-gnu
Package Manager: Paludis
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-04 20:18:42 UTC
Please post the paludis equivalent of "emerge --info".
Comment 2 Dave Bender 2009-04-04 22:36:24 UTC
Created attachment 187329 [details]
paludis --info output
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-06 04:58:01 UTC
Please read what you posted and try again. Re-open when appropriate.
Comment 4 Dave Bender 2009-04-06 05:21:10 UTC
What kind of resolution did you provide? I tried building this and it didn't work.
Comment 5 Dave Bender 2009-04-06 16:50:33 UTC
I did some further checking into the ebuilds...when I called

uname -m

it was returning i686 instead of x86_64

Naturally this confused the hell out of anything relying on uname for the architecture. I consider the bug resolved now.