I'm try build modules for eina: arm-as eina_chained_mempool.s -o chain.o arm-ld chain.o --eh-frame-hdr -shared -dynamic-linker /lib/ld-linux.so.3 -X -m armelf_linux_eabi -o ./shared/build/eina/src/modules/mp/chained_pool/.libs/eina_chained_mempool.so /usr/lib/crti.o /usr/lib/gcc/arm-linux-gnueabi/4.3.2/crtbeginS.o -L/home/kursh/arm/arm-linux-gnueabi/lib -L/home/kursh/arm/evas/shared/run/lib -L/usr/lib/gcc/arm-linux-gnueabi/4.3.2 -L/usr/lib/gcc/arm-linux-gnueabi/4.3.2/../../../../arm-linux-gnueabi/lib -L/lib -L/usr/lib -rpath /home/kursh/arm/evas/shared/run/lib -leina -ldl -lrt -lm -soname eina_chained_mempool.so -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabi/4.3.2/crtendS.o /usr/lib/crtn.o A shared library linked with gold (GNU Binutils 2.20.51.20100618) causes segmentation fault, because GOT entry for some function is zero, while shared library linked not gold version ld, all work fine. Gdb says: 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x40023edc in _GLOBAL_OFFSET_TABLE_ () from /home/.../eina_chained_mempool.so Bug maybe related to PR 11172.
Created attachment 4847 [details] testcase in archive
Your testcase needs other libraries. Can you attached two copies of eina_chained_mempool.so, one linked with gold and the ld? (In reply to comment #0) > I'm try build modules for eina: > > arm-as eina_chained_mempool.s -o chain.o > arm-ld chain.o --eh-frame-hdr -shared -dynamic-linker /lib/ld-linux.so.3 -X -m > armelf_linux_eabi -o > ./shared/build/eina/src/modules/mp/chained_pool/.libs/eina_chained_mempool.so > /usr/lib/crti.o /usr/lib/gcc/arm-linux-gnueabi/4.3.2/crtbeginS.o > -L/home/kursh/arm/arm-linux-gnueabi/lib -L/home/kursh/arm/evas/shared/run/lib > -L/usr/lib/gcc/arm-linux-gnueabi/4.3.2 > -L/usr/lib/gcc/arm-linux-gnueabi/4.3.2/../../../../arm-linux-gnueabi/lib - L/lib > -L/usr/lib -rpath /home/kursh/arm/evas/shared/run/lib -leina -ldl -lrt -lm > -soname eina_chained_mempool.so -lgcc --as-needed -lgcc_s --no-as-needed > -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed > /usr/lib/gcc/arm-linux-gnueabi/4.3.2/crtendS.o /usr/lib/crtn.o > > A shared library linked with gold (GNU Binutils 2.20.51.20100618) causes > segmentation fault, because GOT entry for some function is zero, while shared > library linked not gold version ld, all work fine. > Gdb says: > 0x00000000 in ?? () > (gdb) bt > #0 0x00000000 in ?? () > #1 0x40023edc in _GLOBAL_OFFSET_TABLE_ () from /home/.../eina_chained_mempool.so > > Bug maybe related to PR 11172.
No response to request for more information, so closing. Please reopen if the problem still exists, and provide a complete test case. Thanks.