* Richard W. M. Jones:

> On Tue, Aug 04, 2020 at 01:48:45PM -0600, Jerry James wrote:
>> When ocamlopt is used with binutils 2.35 to link an executable, we now
>> get warnings that look like this:
>> 
>> /usr/bin/ld: tests/test_topsort.o: warning: relocation in read-only
>> section `.text'
>> /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
>
> 32 bit is an architectural problem for OCaml.  Specifically because of
> how the GC block headers are implemented it limits arrays / strings to
> a maximum of 4M entries / 4M bytes, which was probably fine back in
> the day but is unreasonably small today. [1]

I don't see how this is related to text relocations.

The problem seems to be lack of PIE support in ocamlopt on i386, as
correctly identified by the warning.

Thanks,
Florian
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to