https://sourceware.org/bugzilla/show_bug.cgi?id=18098

--- Comment #1 from Nadav Har'El <nyh at math dot technion.ac.il> ---
This bug also prevented compiling OSv (http://osv.io/) on systems where "ld"
points to gold - because OSv also uses a linker script with
SORT_BY_INIT_PRIORITY:

    .init_array : {
        *(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*))
        *(.init_array .ctors)
    } : text


So until gold is fixed to support SORT_BY_INIT_PRIORITY, we changed OSv's
Makefile to explicitly use "ld.bfd" - see
https://github.com/cloudius-systems/osv/commit/d21e39fee2fa0b9a90873340509b8f4031e44bf4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to