Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46364 - bash needs further -fPIC fixes on amd64 with pie
Summary: bash needs further -fPIC fixes on amd64 with pie
Status: RESOLVED DUPLICATE of bug 46326
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 07:49 UTC by Travis Tilley (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Tilley (RETIRED) gentoo-dev 2004-03-31 07:49:18 UTC
bash gives an fPIC error when compiling on amd64 with pie:

gcc -pie -rdynamic -O2 -fomit-frame-pointer -pipe -fPIC -fstack-protector -o mkbuiltins mkbuiltins.o -ldl
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: mkbuiltins.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
mkbuiltins.o: could not read symbols: Bad value

this bug only surfaces with pie.

a temp fix will probably be `use amd64 && filter-ldflags`, but the goal is to get pie working.
Comment 1 Jason Huebel (RETIRED) gentoo-dev 2004-04-01 15:09:12 UTC
Looks like a dupe of an older bug report. The old one has a patch and more comments.

*** This bug has been marked as a duplicate of 46326 ***