Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480240 - dev-libs/crypto++-5.6.2 - x86_64-pc-linux-gnu-g++: error: /usr/lib64/crti.o: No such file or directory
Summary: dev-libs/crypto++-5.6.2 - x86_64-pc-linux-gnu-g++: error: /usr/lib64/crti.o: ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
: 481140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-08 09:57 UTC by Dmitry
Modified: 2013-08-15 15:18 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,5.64 KB, text/plain)
2013-08-08 10:04 UTC, Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2013-08-08 09:57:58 UTC
Linking failed due to wrong path:

libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -pthread -rpath /usr/lib64 -o libcrypto++.la sha.lo arc4.lo hex.lo ccm.lo dh.lo esign.lo randpool.lo sharkbox.lo base32.lo files.lo dessp.lo fips140.lo dh2.lo eprecomp.lo dsa.lo dll.lo winpipes.lo vmac.lo hrtimer.lo queue.lo fipstest.lo rc5.lo mars.lo simple.lo osrng.lo xtrcrypt.lo gf256.lo hmac.lo pkcspad.lo authenc.lo idea.lo squaretb.lo xtr.lo emsa2.lo network.lo eax.lo rijndael.lo algparam.lo crc.lo des.lo iterhash.lo zlib.lo strciphr.lo oaep.lo ecp.lo blowfish.lo marss.lo elgamal.lo cryptlib.lo wait.lo safer.lo default.lo camellia.lo polynomi.lo cryptlib_bds.lo gf2n.lo square.lo ida.lo shark.lo seed.lo shacal2.lo cmac.lo tea.lo serpent.lo eccrypto.lo ripemd.lo gcm.lo pubkey.lo trdlocal.lo salsa.lo seal.lo luc.lo ttmac.lo rc2.lo mqv.lo pch.lo md4.lo whrlpool.lo asn.lo rw.lo cast.lo tiger.lo rng.lo channels.lo zinflate.lo pssr.lo misc.lo mqueue.lo base64.lo zdeflate.lo basecode.lo algebra.lo blumshub.lo ec2n.lo md2.lo gfpcrypt.lo gost.lo casts.lo modes.lo sha3.lo panama.lo nbtheory.lo md5.lo socketft.lo twofish.lo tigertab.lo cbcmac.lo rdtables.lo rsa.lo tftables.lo adler32.lo 3way.lo gf2_32.lo gzip.lo rabin.lo bfinit.lo filters.lo cpu.lo sosemanuk.lo integer.lo rc6.lo wake.lo skipjack.lo  -lpthread
libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o  .libs/sha.o .libs/arc4.o .libs/hex.o .libs/ccm.o .libs/dh.o .libs/esign.o .libs/randpool.o .libs/sharkbox.o .libs/base32.o .libs/files.o .libs/dessp.o .libs/fips140.o .libs/dh2.o .libs/eprecomp.o .libs/dsa.o .libs/dll.o .libs/winpipes.o .libs/vmac.o .libs/hrtimer.o .libs/queue.o .libs/fipstest.o .libs/rc5.o .libs/mars.o .libs/simple.o .libs/osrng.o .libs/xtrcrypt.o .libs/gf256.o .libs/hmac.o .libs/pkcspad.o .libs/authenc.o .libs/idea.o .libs/squaretb.o .libs/xtr.o .libs/emsa2.o .libs/network.o .libs/eax.o .libs/rijndael.o .libs/algparam.o .libs/crc.o .libs/des.o .libs/iterhash.o .libs/zlib.o .libs/strciphr.o .libs/oaep.o .libs/ecp.o .libs/blowfish.o .libs/marss.o .libs/elgamal.o .libs/cryptlib.o .libs/wait.o .libs/safer.o .libs/default.o .libs/camellia.o .libs/polynomi.o .libs/cryptlib_bds.o .libs/gf2n.o .libs/square.o .libs/ida.o .libs/shark.o .libs/seed.o .libs/shacal2.o .libs/cmac.o .libs/tea.o .libs/serpent.o .libs/eccrypto.o .libs/ripemd.o .libs/gcm.o .libs/pubkey.o .libs/trdlocal.o .libs/salsa.o .libs/seal.o .libs/luc.o .libs/ttmac.o .libs/rc2.o .libs/mqv.o .libs/pch.o .libs/md4.o .libs/whrlpool.o .libs/asn.o .libs/rw.o .libs/cast.o .libs/tiger.o .libs/rng.o .libs/channels.o .libs/zinflate.o .libs/pssr.o .libs/misc.o .libs/mqueue.o .libs/base64.o .libs/zdeflate.o .libs/basecode.o .libs/algebra.o .libs/blumshub.o .libs/ec2n.o .libs/md2.o .libs/gfpcrypt.o .libs/gost.o .libs/casts.o .libs/modes.o .libs/sha3.o .libs/panama.o .libs/nbtheory.o .libs/md5.o .libs/socketft.o .libs/twofish.o .libs/tigertab.o .libs/cbcmac.o .libs/rdtables.o .libs/rsa.o .libs/tftables.o .libs/adler32.o .libs/3way.o .libs/gf2_32.o .libs/gzip.o .libs/rabin.o .libs/bfinit.o .libs/filters.o .libs/cpu.o .libs/sosemanuk.o .libs/integer.o .libs/rc6.o .libs/wake.o .libs/skipjack.o   -lpthread -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o  -Wl,-O1 -Wl,--as-needed -pthread   -pthread -Wl,-soname -Wl,libcrypto++.so.0 -o .libs/libcrypto++.so.0.0.0
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o: No such file or directory



Correct path is /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3 for gcc-4.6.3
Comment 1 Dmitry 2013-08-08 10:04:30 UTC
Created attachment 355396 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-08 12:48:03 UTC
Try gcc-config -l, then run it again selecting 4.6.3, then run . /etc/profile, then try emerging crypto++ again.
Comment 3 Dmitry 2013-08-08 14:04:20 UTC
Unfortunately it does not help. I can confirm that problem for two of my AMD64 Gentoo installations with gcc-4.6.3.

On x86 Gentoo with gcc-4.5.4 and with gcc-4.6.3 all compiled and work fine. So it looks like this bug affects only AMD64 installations.
Comment 4 Dmitry 2013-08-08 14:57:35 UTC
Jeroen Roovers, also your new summary is not fully correct. I have "/usr/lib64/crti.o" file. Problem with error

>x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o: No such file or directory 

is in that I have no "/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3" directory, so that path is incorrect. I have gcc-4.6.3, so path should be something like 

>/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/crtn.o

which is correct, and file exists. But package for some reason configured incorrectly it generates incorrect crti.o path on amd64 installations.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-15 15:15:58 UTC
*** Bug 481140 has been marked as a duplicate of this bug. ***