Bug#661393: FTBFS: Enabling hardening on amd64 causes relocation errors

2012-03-22 Thread Jakub Wilk
* Simon Ruderich , 2012-03-22, 22:38: Using -fPIE won't work when linking the library, -fPIC must be used for the library (at least on amd64). -fPIE is only for binaries. Correct. Thanks for clarification. -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org wit

Bug#661393: FTBFS: Enabling hardening on amd64 causes relocation errors

2012-03-22 Thread Simon Ruderich
Using -fPIE won't work when linking the library, -fPIC must be used for the library (at least on amd64). -fPIE is only for binaries. The attached patch fixes the missing hardening flags (CFLAGS, CPPFLAGS) and fixes the build by stripping -fPIE/-pie when compiling/linking the library. To check if

Processed: Re: Bug#661393: FTBFS: Enabling hardening on amd64 causes relocation errors

2012-03-10 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > severity 661393 serious Bug #661393 [src:keyutils] FTBFS: Enabling hardening on amd64 causes relocation errors Severity set to 'serious' from 'important' > thanks Stopping processing here. Please contact me if you need assistance. -- 661393: h