[fpc-pascal] CThreads problem when cross-compiling to ARM/RPi.

Bruce Tulloch pascal at causal.com
Fri May 24 11:18:12 CEST 2013


Not yet, but I will try this shortly -b

On Fri, May 24, 2013 at 6:47 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> On 24 May 2013, at 07:31, Bruce Tulloch wrote:
>
>>
>> The key question for my ARM cross compile is why does it report:
>>
>>    /usr/local/lib/fpc/2.7.1/units/arm-linux/rtl/cthreads.o: In function
>>    `CTHREADS_$$_LOADPTHREADS$$BOOLEAN': cthreads.pp:
>>    (.text.n_cthreads_$$_loadpthreads$$boolean+0xc): warning: Using
>>    'dlopen' in statically linked applications requires at runtime the
>> shared
>>    libraries from the glibc version used for linking
>>
>> when linking. I've checked the linker script and arguments and nowhere
>> am I (or FPC) asking for a static link, so why is this message
>> reported?
>>
>> What else can cause ld to attempt a static link?
>
>
> I don't know. Have you already tried with gcc?
>
>
>
> Jonas
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list