On 28/10/2020 08:40, Achim Gratz wrote:
> Hamish McIntyre-Bhatty via Cygwin-apps writes:
>> Another interesting thing is that I get the following messages when
>> running cygport install:
>>
>> Warning: x was not linked with -Wl, --enable-auto-image-base
>>
>> Is this anything to be alarmed about or not really an issue? The
>> libraries seem to work okay, at any rate.
> I'm not sure if cygport actually fixes this up by changing the flags in
> the DLL, but that means that the linker flags that cygport tries to
> force are overwritten somewhere else.  Now, this is most likely CMake
> you're dealing with, so the best of luck in figuring out where.
>
>
> Regards,
> Achim.

Hmm, how does cygport do this?

I tried setting LDFLAGS (which was previously empty) to " -Wl,
--enable-auto-image-base" but that just broke the compiler.

I'm building again now with the hopes of seeing what the commandline to
the linker is, and hence hopefully finding it and maybe patching it in
the source, but there might be a better way.

Hamish

Attachment: 0x87B761FE07F548D6.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to