Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644116 - dev-libs/dietlibc-0.34_pre20140729-r1 emake failed
Summary: dev-libs/dietlibc-0.34_pre20140729-r1 emake failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 648376
  Show dependency tree
 
Reported: 2018-01-10 11:06 UTC by Mike Hiretsky
Modified: 2018-05-28 17:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hiretsky 2018-01-10 11:06:59 UTC
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
Comment 1 Jonas Stein gentoo-dev 2018-01-11 19:10:49 UTC
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.
Comment 2 Pacho Ramos gentoo-dev 2018-05-28 17:39:58 UTC
[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