Hi, I have a issue, I don't know if it s gdb or not. and how to solve ( I have tried 3 kind of gdb version , there was working with my previous toolchain) When I boot my binary with gdb Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x00441038 in main (argc=4, argv=0x7ff97de4) at file.c:135 (gdb) q A debugging session is active. on a called to setvbuf Strangly, if I force the LD_BIND_NOW=1 before launching gdb, I have no error. Do you see something strange on my config in attachment ? Should I update the ucluibc0.9.32 for the dailybuild ? is there some news feature for mipsel support ? Miss I something in my rootfs? I am lost... Thanks
it crashs with only shared library binary with the debug info of the ldso : / # my_soft _dl_get_ready_to_run:317: Cool, ldso survived making function calls _dl_malloc:194: mmapping more memory _dl_get_ready_to_run:492: Lib Loader: (0x2aaa8000) /lib/ld-uClibc.so.0 _dl_get_ready_to_run:801: Loading: (0x2aab8000) /usr/lib/libmy_lib.so _dl_malloc:194: mmapping more memory _dl_get_ready_to_run:801: Loading: (0x2add0000) /lib/libm.so.0 _dl_malloc:194: mmapping more memory _dl_get_ready_to_run:801: Loading: (0x2adf3000) /usr/lib/libz.so.1 _dl_get_ready_to_run:801: Loading: (0x2ae09000) /lib/librt.so.0 _dl_get_ready_to_run:801: Loading: (0x2ae1e000) /lib/libpthread.so.0 _dl_get_ready_to_run:801: Loading: (0x2ae50000) /lib/libcrypt.so.0 _dl_load_elf_shared_library:745: Found TLS header for /lib/libc.so.0 _dl_load_elf_shared_library:768: Relocated TLS initial image from 0xc2d94 to 0x2af38d94 (size = 0x4) _dl_get_ready_to_run:801: Loading: (0x2c5a1000) /usr/lib/libcrypto.so _dl_load_elf_shared_library:745: Found TLS header for /usr/lib/libstdc++.so.6 _dl_load_elf_shared_library:768: Relocated TLS initial image from 0xd9110 to 0x2c7b8110 (size = 0x0) There is many lib loaded ... _dl_get_ready_to_run:945: Calling init_tls()! _dl_malloc:194: mmapping more memory _dl_get_ready_to_run:963: Beginning relocation fixups TLS_DTPMOD : , 0, 2 TLS_DTPMOD : _ZSt11__once_call, 0, 2 TLS_DTPREL : _ZSt11__once_call, 0x0, 0xffff8000 TLS_TPREL : , 0x4, 0xffff9004 TLS_DTPMOD : , 0, 1 TLS_TPREL : , 0x0, 0xffff9000 TLS_TPREL : , 0x8, 0xffff9008 TLS_TPREL : , 0xc, 0xffff900c TLS_TPREL : __libc_tsd_RPC_VARS, 0x0, 0xffff9010 TLS_TPREL : errno, 0x0, 0xffff9004 TLS_DTPMOD : h_errno, 0, 1 TLS_DTPREL : h_errno, 0x0, 0xffff8008 TLS_TPREL : __resp, 0x0, 0xffff9000 _dl_get_ready_to_run:992: Calling _dl_allocate_tls_init()! _dl_update_slotinfo:702: Updating slotinfo for module 1 Segmentation fault