Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641886 - shadow (@system) fail to compile when USE=static-libs is enabled
Summary: shadow (@system) fail to compile when USE=static-libs is enabled
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
Depends on:
Reported: 2017-12-21 07:41 UTC by Emmanuel Lepage Vallee
Modified: 2021-01-07 20:30 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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/   -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/    
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/ -lz -lcrypt
/usr/libexec/gcc/aarch64-unknown-linux-gnu/ld: skipping incompatible /lib64/ when searching for /lib64/
/usr/libexec/gcc/aarch64-unknown-linux-gnu/ld: cannot find /lib64/
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.