| Summary: | sys-devel/gcc-4.8.5: postinst fails with ABI_X86="32 64" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Carsten Milkau <chat.noir> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | alex_y_xu |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Build log | ||
|
Description
Carsten Milkau
2015-09-19 09:50:24 UTC
Created attachment 412260 [details]
Build log
Steps to Reproduce: 1. emerge '=sys-devel/gcc-4.8.4' 2. echo '=sys-devel/gcc-4.8.5::gentoo abi_x86_32 abi_x86_84' >> /etc/portage/package.use 3. emerge '=sys-devel/gcc-4.8.5' Sorry. are you sure the package.use setting matters ? gcc shouldn't be checking those flags currently.
you can check the file type by doing:
find /usr/lib/gcc/x86_64-pc-linux-gnu/ -exec file -L {} +
I'm sorry, I was mislead by the 32bit files having a /32 subdir, while the 64 bit libs not. I tried it again, the files are all there, they are just not found. In a shell "source /etc/profile" fixes the problem. Also, autoclean seems to have succeeded, as the old libs were gone. I dont know why postinst fails, maybe it tries to execute some programs without doing an equivalent of "source /etc/profile" after the old libs are already gone. it might be related to bug 529608. but with that fix and all the multislot logic shaking out, i'd say this has just resolved itself unless you can show that it's still happening. i.e. try to do: - install gcc-4.9.3 - remove all other versions - upgrade to gcc-5.3.0 - see if you get libgcc_s.so.1 errors |