|
Message-ID: <alpine.LNX.2.11.1504281138370.2677@monopod.intra.ispras.ru> Date: Tue, 28 Apr 2015 11:45:25 +0300 (MSK) From: Alexander Monakov <amonakov@...ras.ru> To: Andre McCurdy <armccurdy@...il.com> cc: musl@...ts.openwall.com Subject: Re: [PATCH] force LTO to be disabled when compiling dlstart.lo On Tue, 28 Apr 2015, Alexander Monakov wrote: > For reference, with GCC 4.9 that uses linker plugin for LTO automatically, I > get the following diagnostics: > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: > error: /tmp/ccxxkwJ8.ltrans0.ltrans.o: requires dynamic R_X86_64_PC32 reloc > against '_dlstart_c' which may overflow at runtime; recompile with -fPIC > /tmp/ccxxkwJ8.ltrans0.ltrans.o(.text+0x12): error: undefined reference to > '_dlstart_c' Hm, I've just noticed Andre was using gcc 4.9.2 as well. I get the same diagnostics with BFD linker -- the diagnostics above are produced when using the Gold linker. Rich, do gold diagnostics help to see what musl might be doing to confuse symbols dependencies resolution? Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.