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]
So if something OCaml-related fails on i686, it's not something we
should worry about. IMHO ExcludeArch %{ix86} and move on.
Rich.
[1] This is also the reason why multilib is completely irrelevant to OCaml
(and another reason why multilib should die).
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
_______________________________________________
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]