Re: [OE-core] [PATCH 2/2] security_flags.inc: disable PIE for bash due to issues in mkbuiltins

2015-04-09 Thread Khem Raj
On Apr 8, 2015, at 2:59 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Tue, 2015-04-07 at 16:53 -0400, Denys Dmytriyenko wrote: From: Denys Dmytriyenko de...@ti.com As bash builds a native tool called mkbuiltins, it fails with PIE flags: ld: mkbuiltins.o: relocation

Re: [OE-core] [PATCH 2/2] security_flags.inc: disable PIE for bash due to issues in mkbuiltins

2015-04-08 Thread Richard Purdie
On Tue, 2015-04-07 at 16:53 -0400, Denys Dmytriyenko wrote: From: Denys Dmytriyenko de...@ti.com As bash builds a native tool called mkbuiltins, it fails with PIE flags: ld: mkbuiltins.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object;

[OE-core] [PATCH 2/2] security_flags.inc: disable PIE for bash due to issues in mkbuiltins

2015-04-07 Thread Denys Dmytriyenko
From: Denys Dmytriyenko de...@ti.com As bash builds a native tool called mkbuiltins, it fails with PIE flags: ld: mkbuiltins.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC Affects at least version 3.2 of bash.