Created attachment 329874 [details] emerge --info /usr/lib/debug/usr/lib64/libpython2.7.so.1.0.debug does exist $ objdump -s -j .gnu_debuglink /usr/lib64/libpython2.7.so /usr/lib64/libpython2.7.so: file format elf64-x86-64 Contents of section .gnu_debuglink: 0000 6c696270 7974686f 6e322e37 2e736f2e libpython2.7.so. 0010 312e302e 64656275 67000000 9ede5e96 1.0.debug.....^. But gdb does not find (or even search for) the split debug symbols. I've tried both 7.3.1 and 7.5 and get the same behaviour. Running strace through gdb and grepping I see only two references to "/debug". I thought this was supposed to work automatically? Am I missing something? Do I need to specifically enable it?
Shouldn't you also have added -g(/gdb) to CFLAGS/CXXFLAGS, then?
Wow, that did the trick. I feel stupid. Thanks, Jeroen. I naively expected the splitdebug feature to add whatever flags it might need.