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

Jonas Maebe jonas.maebe at elis.ugent.be
Fri May 24 10:47:46 CEST 2013

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?


More information about the fpc-pascal mailing list