| Summary: | system is broken after changing CHOST | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Adam Carheden <adam.carheden> |
| Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Adam Carheden
2006-02-23 09:20:01 UTC
has nothing to do with binutils
looks like you've been screwing around with your CHOST and rebuilt some critical applications with the new value
what does this show:
ls /etc/env.d/{binutils,gcc}/
(In reply to comment #1) > has nothing to do with binutils > > looks like you've been screwing around with your CHOST and rebuilt some > critical applications with the new value > > what does this show: > ls /etc/env.d/{binutils,gcc}/ > I get the following, but I fixed it (see below), so I think this is what it SHOULD look like: /etc/env.d/binutils/: config-i386-pc-linux-gnu config-i686-pc-linux-gnu i686-pc-linux-gnu-2.16.1 /etc/env.d/gcc/: config config-i386-pc-linux-gnu config-i686-pc-linux-gnu i686-pc-linux-gnu-3.3.6 i686-pc-linux-gnu-3.3.6-hardened i686-pc-linux-gnu-3.3.6-hardenednopie i686-pc-linux-gnu-3.3.6-hardenednopiessp i686-pc-linux-gnu-3.3.6-hardenednossp i686-pc-linux-gnu-3.4.4 i686-pc-linux-gnu-3.4.4-hardened i686-pc-linux-gnu-3.4.4-hardenednopie i686-pc-linux-gnu-3.4.4-hardenednopiessp i686-pc-linux-gnu-3.4.4-hardenednossp The problem occured on two identically configured fresh installs from the P4 stage3 of 2005.1 after running `emerge --update --deep world -k` using binary packages compiled on another machine of the same arch/stage. Since I started with fresh isntalls and it happened on two machines, I suspected a bug but maybe it's just a SNAFU with the binary packages. I'm still not sure what caused it (maybe the binary packages don't update correctly), but for the google record, I fixed it by manually fixing ld.so.conf, running ldconfig and reemerging binutils, gcc, and portage. I had to fix ld.so.conf after emerging each package. Finally, I had to run `fix_libtool_files.sh. 3.3.4`. you should delete the /etc/env.d/gcc/config-* and /etc/env.d/binutils/config-i386-pc-linux-gnu files and then re-run gcc-config/binutils-config |