Hi, here a little bug, running /sbin/ldconfig /sbin/ldconfig Segmentation fault here with gdb: gdb /sbin/ldconfig GNU gdb (Gentoo 7.9.1 vanilla) 7.9.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /sbin/ldconfig...done. (gdb) run Starting program: /sbin/ldconfig Program received signal SIGSEGV, Segmentation fault. 0x000000000047dec5 in expand_dynamic_string_token (l=0x0, s=<optimized out>, is_path=1) at dl-load.c:377 377 dl-load.c: No such file or directory. (gdb) bt #0 0x000000000047dec5 in expand_dynamic_string_token (l=0x0, s=<optimized out>, is_path=1) at dl-load.c:377 #1 0x000000000047dffd in fillin_rpath (rpath=0x0, rpath@entry=0x7fffffffd460 "/usr/lib/primus", result=0x6d8fd0, sep=sep@entry=0x4be689 ":;", check_trusted=0, what=what@entry=0x4ac766 "LD_LIBRARY_PATH", where=where@entry=0x0, l=0x0) at dl-load.c:440 #2 0x000000000047e705 in _dl_init_paths (llp=<optimized out>) at dl-load.c:817 #3 0x000000000044f960 in _dl_non_dynamic_init () at dl-support.c:323 #4 0x000000000044fe98 in __libc_init_first (argc=argc@entry=1, argv=argv@entry=0x7fffffffd628, envp=0x7fffffffd638) at ../csu/init-first.c:79 #5 0x00000000004064f5 in __libc_start_main (main=0x400a50 <main>, argc=1, argv=0x7fffffffd628, init=0x406970 <__libc_csu_init>, fini=0x406a00 <__libc_csu_fini>, rtld_fini=0x0, stack_end=0x7fffffffd618) at libc-start.c:225 #6 0x0000000000401329 in _start () at ../sysdeps/x86_64/start.S:118 some times send other message: /sbin/ldconfig /sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied may be the same problem, basically this happend running from a normal user, running from root works fine, may be can be solved adding a root check to the app or something. glibc-2.21-r1
Created attachment 415600 [details] emerge --info
your CFLAGS look wrong: CFLAGS="-no-integrated-cpp" please post a full build log of glibc as an attachment
Created attachment 415840 [details] emerge --info sorry, i upload wrong emerge --info file.
build log, its to big to upload it here: https://gist.github.com/latot/8389bbd141c60783270a
(In reply to Lagu from comment #4) just compress it with something like xz
the latest link is the upload of the build log in gist, it can be download from there in zip format too.
(In reply to Lagu from comment #6) we do not support external links. all details must be attached to the bug.
Created attachment 415958 [details] build.log okis, here the log
it looks like you've got LD_LIBRARY_PATH set in your environment. if you don't have it set, does ldconfig crash ? what do you have that set to currently ? what files are in those paths ?
seems with the last glibc its already fixed. Thx.