|
Message-ID: <20151117154248.GJ26951@example.net> Date: Tue, 17 Nov 2015 16:42:48 +0100 From: u-uy74@...ey.se To: musl@...ts.openwall.com Subject: Re: some odd library loading errors On Tue, Nov 17, 2015 at 04:23:56PM +0100, Szabolcs Nagy wrote: > > $ LD_LIBRARY_PATH=<path-to-gcc-5.2.0-libs> ./a > > Error relocating <path-to-gcc-5.2.0-libs>/libatomic.so.1: __atomic_store_8: symbol not found > > Error relocating <path-to-gcc-5.2.0-libs>/libatomic.so.1: __atomic_exchange_8: symbol not found > > Error relocating <path-to-gcc-5.2.0-libs>/libatomic.so.1: __atomic_load_8: symbol not found > > Error relocating <path-to-gcc-5.2.0-libs>/libatomic.so.1: __atomic_compare_exchange_8: symbol not found > > > > this is a known issue, they use the gnu ifunc extension of > elf to dispatch between different implementations based on > the machine at library loadtime. Oh. Now I see. Indeed you mentioned this earlier. Bad style gcc. > build gcc with --disable-gnu-indirect-function > (then i guess libatomic will always use the > portable implementation.) Sigh. Thanks Szabolcs! Rune
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.