[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] Including libiconv in another package

From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] Including libiconv in another package
Date: Sun, 26 Feb 2023 19:34:34 +0100

Reuben Thomas wrote:
> Thanks, I'd got as far as -fPIC, but not the cross-platform version.
> ...
> What's the symptom I should get in normal use?

When creating the shared library, the linker would complain about a
"relocation in text segment". It doesn't do so on new Linux distros
where the system compiler enables -fPIE by default (in order for
ASLR to work). It also doesn't do so on i386 (since there, for
historical reasons, relocations in the text segment are allowed;
they merely reduce the performance).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]