Skip to content

ocamlopt 4.08.1 triggers ld relocation warnings on i386 with binutils 2.35 #9800

@glondu

Description

@glondu

When compiled in current Debian unstable (2020-07-27), ocamlopt 4.08.1 on an empty file gives on i386:

/usr/bin/ld: /tmp/ocaml-4.08.1/stdlib/stdlib.a(camlinternalFormatBasics.o): warning: relocation in read-only section `.text'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE

These warnings seem to be triggered on any file. Because of this, the test suite does not pass and is messy. I suspect this is due to a new version of binutils (2.35).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions