|
From: | nyh at math dot technion.ac.il |
Subject: | [Bug gold/18098] Gold doesn't support SORT_BY_INIT_PRIORITY in linker script |
Date: | Sun, 06 Dec 2015 12:52:40 +0000 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |