Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 641886

Summary: shadow (@system) fail to compile when USE=static-libs is enabled
Product: Gentoo/Alt Reporter: Emmanuel Lepage Vallee <elv1313>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Emmanuel Lepage Vallee 2017-12-21 07:41:07 UTC
With host=x86_64 and target=aarch64

Using USE=static-libs results in:
 
/bin/sh ../libtool  --tag=CC   --mode=link aarch64-unknown-linux-gnu-gcc  -O2 -pipe -fomit-frame-pointer  -Wl,-O1 -Wl,--as-needed -o chpasswd chpasswd.o   ../libmisc/libmisc.a ../lib/libshadow.la   -lcrypt 
/bin/sh ../libtool  --tag=CC   --mode=link aarch64-unknown-linux-gnu-gcc  -O2 -pipe -fomit-frame-pointer  -Wl,-O1 -Wl,--as-needed -o groupadd groupadd.o   ../libmisc/libmisc.a ../lib/libshadow.la    
libtool: link: aarch64-unknown-linux-gnu-gcc -O2 -pipe -fomit-frame-pointer -Wl,-O1 -o passwd passwd.o  -Wl,--as-needed ../libmisc/libmisc.a ../lib/.libs/libshadow.a /usr/lib64/libcrack.so -lz -lcrypt
/usr/libexec/gcc/aarch64-unknown-linux-gnu/ld: skipping incompatible /lib64/libcrack.so.2 when searching for /lib64/libcrack.so.2
/usr/libexec/gcc/aarch64-unknown-linux-gnu/ld: cannot find /lib64/libcrack.so.2
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:911: passwd] Error 1
make[2]: *** Waiting for unfinished jobs....

The system is otherwise a clean up-to-date docker image with crossdev
Comment 1 Benda Xu gentoo-dev 2018-01-27 08:36:17 UTC
What profile are you using? Please paste `emerge --info`.
Comment 2 Fabian Groffen gentoo-dev 2021-01-07 20:30:36 UTC
This is not a Prefix bug, please take it up with crossdev.