Build broken on Debian Testing (linker trouble)

Moritz Lenz moritz at faui2k3.org
Sat Jun 9 16:35:50 UTC 2012


On 06/09/2012 05:59 PM, Nick Wellnhofer wrote:
> On 09/06/2012 16:53, Moritz Lenz wrote:
>> On some Debian Testing systems, the linking of parrot fails:
>>
>> cc -shared -O2 -L/usr/local/lib -fstack-protector -fPIC
>> -fstack-protector -L/usr/local/lib  -o blib/lib/libparrot.so.4.3.0
>> -Wl,-soname=libparrot.so.4.3.0 \
>>                  src/string/api.o src/ops/core_ops.o src/core_pmcs.o
>> ...
>> compilers/imcc/pbc.o compilers/imcc/parser_util.o compilers/imcc/pcc.o
>> compilers/imcc/api.o -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp
>> -lreadline  -lffi   -fPIE -pie -Wl,-z,relro -Wl,-z,now  -ldl -lm
>                        ^^^^^^^^^^
> 
> I think it's the "pie" flags that have recently been added to Debian's 
> Perl. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657853

Sorry that I didn't mention it earlier, but my perl is a perlbrew'ed
perl 5.16, not installed by the package manager.

And on another system that is on Debian Stable I can build parrot just
fine with the same perl version.

Still, manually removing -pie from the Makefile, config_lib.pir and
lib/Parrot/Config/Generated.pm helped, the build succeeded.

So, what should we do about that?

Cheers,
Moritz


More information about the parrot-dev mailing list