Summary: | dev-libs/libaio-0.3.109-r3 USE=multilib - /usr/lib*/libaio.so: different ABIs have the same "OUTPUT_FORMAT" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | iGentoo <AlphatPC> |
Component: | [OLD] Unspecified | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | binki, vincent |
Priority: | Normal | Keywords: | STABLE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=453938 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 460704 | ||
Bug Blocks: | |||
Attachments: | gen_usr_ldscript.diff |
Description
iGentoo
2012-10-07 00:29:25 UTC
Created attachment 325864 [details, diff]
gen_usr_ldscript.diff
For reference only...
How do you suggest to fix this? I don't fully understand this one :S Thanks a lot (In reply to comment #2) > How do you suggest to fix this? I don't fully understand this one :S > > Thanks a lot set ld.bfd as default linker. $ gcc -Wl,--verbose 2>&1 | grep OUTPUT_FORMAT OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", $ gcc -m32 -Wl,--verbose 2>&1 | grep OUTPUT_FORMAT OUTPUT_FORMAT("elf32-i386", "elf32-i386", $ gcc -mx32 -Wl,--verbose 2>&1 | grep OUTPUT_FORMAT OUTPUT_FORMAT("elf32-x86-64", "elf32-x86-64", $ gcc -m64 -Wl,--verbose 2>&1 | grep OUTPUT_FORMAT OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", On x86 multilib machine: ABI=x86 -> $(get_abi_CFLAGS)= ${CFLAGS_x86} = -m32 ABI=x32 -> $(get_abi_CFLAGS)= ${CFLAGS_x32} = -mx32 ABI=amd64 -> $(get_abi_CFLAGS)= ${CFLAGS_amd64} = -m64 ABI=${DEFAULT_ABI:-default} -> $(get_abi_CFLAGS)= ${CFLAGS_default} = "" Adding $(get_abi_CFLAGS) to CC for multilib build would be nice when generating *.so scripts. You can see multilib.eclass - multilib_toolchain_setup() for more details: multilib_toolchain_setup() { ... if [[ ${ABI} != ${DEFAULT_ABI} ]] ; then ... export CC="$(tc-getCC) $(get_abi_CFLAGS)" ... fi ... } Seems that gen_usr_ldscript() doesn't work well with gold linker. +*libaio-0.3.109-r4 (07 Mar 2013) + + 07 Mar 2013; Julian Ospald <hasufell@gentoo.org> +libaio-0.3.109-r4.ebuild: + fix multilib and bump EAPI let's close this when -r4 hits stable |