dnsd.c:(.text+0xa2e): undefined reference to `socket' /var/calculate/tmp/portage/dev-libs/dietlibc-0.34_pre20140729-r1/temp/cc6X3i3R.o: In function `main': dnsd.c:(.text.startup+0x1f7): undefined reference to `recvmsg' dnsd.c:(.text.startup+0x27f): undefined reference to `recvmsg' collect2: error: ld returned 1 exit status make: *** [Makefile:316: bin-i386/dnsd] Error 1 gcc-config i686-pc-linux-gnu-6.4.0 profile based on gentoo:default/linux/x86/17.0 Reproducible: Always Steps to Reproduce: 1. emerge libdiet 2. 3. Actual Results: emake failed use __DYN_LIB instead of __PIC__ in i386 socketcalls https://github.com/ensc/dietlibc/commit/843c667c1b516c0764840c6e4d41188f9c96a415
Thank you. ps: For a second I was glad that fefe moved to git. But then I saw that this is just an unofficial mirror.
[master 302efd017b87] dev-libs/dietlibc: Fix compilation (#644116 by Mike Hiretsky) 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 dev-libs/dietlibc/files/dietlibc-0.34_pre20140729-dyn-lib.patch