Summary: | sys-devel/gcc-4.5 and later: broken pie linking on FreeBSD | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexis Ballier <aballier> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bsd+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00555.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexis Ballier
2012-05-08 22:44:52 UTC
on amd64 (out of my memory) errors are: gcc -pie -fPIC -fPIE foo.c Error: cannot make relocation against for /usr/.../crt1.o ... recompile -fPIC with the patch it works fine. what versions of gcc exactly do you want this merged into ? (In reply to comment #2) > what versions of gcc exactly do you want this merged into ? starting from latest ~arch up to current I'd say, today that'll mean 4.5.3, 4.6.3 (and 4.7 at some point). if 4.6 goes to ~arch, i dont care about 4.5; what is important to me is that i get a working compiler by 'emerge -1 gcc' so that i can continue keywording packages that rely on pie (eg cups). i've queued it in all 4.5.x and 4.6.x dirs, and released it in 4.5.3 and 4.6.3 http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.6.3/gentoo/92_all_freebsd-pie.patch?rev=1.1 should be all set now in the tree; thanks for the report! Commit message: Push out FreeBSD PIE fix http://sources.gentoo.org/sys-devel/gcc/gcc-4.5.3-r2.ebuild?r1=1.13&r2=1.14 http://sources.gentoo.org/sys-devel/gcc/gcc-4.6.3.ebuild?r1=1.2&r2=1.3 |