Control: tags 712228 - unreproducible + confirmed Control: retitle 712228 Hardening flag -pie breaks compilation with GHC
Hi, Am Montag, den 17.06.2013, 21:00 +0100 schrieb Reuben Thomas: > However, I have hardening-wrapper installed on my system, which > installs new /usr/bin/gcc etc. to take account of hardening settings, > AIUI. ok, that is important information. With that I was able to narrow it down to the "-pie": $ rm Setup.o; ghc --make Setup.lhs [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... $ rm Setup.o; ghc --make Setup.lhs -optl -pie [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... /usr/bin/ld: Setup.o: relocation R_X86_64_32S against `stg_CAF_BLACKHOLE_info' can not be used when making a shared object; recompile with -fPIC Setup.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status Now someone who knows these flags should investigate if and how this can be fixed. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata
signature.asc
Description: This is a digitally signed message part