Bug#844892: mapserver: FTBFS: ld: final link failed: Nonrepresentable section on output

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat Nov 19 09:41:40 UTC 2016


Control: tags -1 pending

On 11/19/2016 07:46 AM, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
>> /usr/bin/ld: CMakeFiles/mapserver.dir/kerneldensity.c.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
>> /usr/bin/ld: final link failed: Nonrepresentable section on output
>> collect2: error: ld returned 1 exit status

Enabling the pie hardening flags fixed the issue, these broke the build
in the past and where disabled.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list