Summary: | sys-devel/gcc-4.5.4 build fails on arm, missing /lib/libgcc_s.so.1, hosing system | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jim Faulkner <dogshu> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sys-devel/gcc-4.5.4 build log |
Description
Jim Faulkner
2012-09-02 22:19:47 UTC
Created attachment 322790 [details]
sys-devel/gcc-4.5.4 build log
i've seen this happen when your glibc is old and hasn't updated in a while. make sure you have an entry in your /etc/ld.so.conf: include ld.so.conf.d/*.conf if you don't, run: echo 'LDPATH="include ld.so.conf.d/*.conf"' > /etc/env.d/00glibc env-update ldconfig I do have an include line in /etc/ld.so.conf, however the 05gcc file in /etc/ld.so.conf.d/ still points at the old gcc. It looks like the gcc-4.5.4 build removed the old gcc installation before updating the /etc/ld.so.conf.d/05gcc file. On my hosed system: raven ~ # cat /etc/ld.so.conf | grep include include ld.so.conf.d/*.conf raven ~ # grep gcc /etc/ld.so.conf.d/* /etc/ld.so.conf.d/05gcc-armv5tel-softfloat-linux-gnueabi.conf:/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.5.3 raven ~ # ls /usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.5.3 ls: cannot access /usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.5.3: No such file or directory raven ~ # gcc * gcc-config: Active gcc profile is invalid! gcc-config: error: could not run/locate 'gcc' raven ~ # *** This bug has been marked as a duplicate of bug 433161 *** |