Build broken on Debian Testing (linker trouble)
Moritz Lenz
moritz at faui2k3.org
Sun Jun 10 10:55:53 UTC 2012
On 06/10/2012 12:34 PM, Nick Wellnhofer wrote:
> On 10/06/2012 12:19, Moritz Lenz wrote:
>> On 06/10/2012 08:40 AM, Moritz Lenz wrote:
>>> So in short, it exhibits the same problem as master.
>>
>> I've run Configure.pl with --verbose and captured the output; you can
>> find it here: http://moritz.faui2k3.org/tmp/parrot-configure.log
>>
>> The first occurrence of -pie comes from `icu-config --ldflags`.
>
> Ah, that's where the flags come from. This has already been reported as
> a Debian bug:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675895
>
> It seems that the Debian parrot maintainer has fixed this by using
> "icu-config --ldflags-libsonly" and that a fix for ICU is also in the works.
Should we adopt that fix too?
>> If I configure parrot with --without-icu, it errors out while linking
>> miniparrot:
>>
>> cc -o miniparrot frontend/parrot/main.o src/null_config.o src/longopt.o \
>> "-Wl,-rpath=/home/moritz/p6/rakudo/parrot/blib/lib"
>> -L"/home/moritz/p6/rakudo/parrot/blib/lib" -lparrot -lpthread -lrt
>> -lgmp -lreadline -lffi
>> /home/moritz/p6/rakudo/parrot/blib/lib/libparrot.so: undefined reference
>> to `dlopen'
>
> ...
>
>> /home/moritz/p6/rakudo/parrot/blib/lib/libparrot.so: undefined reference
>> to `floor'
>> collect2: ld returned 1 exit status
>> make: *** [miniparrot] Error 1
>
> That's on the compiler_flags branch, right?
Yes.
Cheers,
Moritz
More information about the parrot-dev
mailing list