Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 372754 Details for
Bug 504700
sys-fs/udev-211 fails on ia64 due to missing -lresolv linkage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible fix?
0001-Link-against-lresolv-for-linker-errors-like-tmp-syst.patch (text/plain), 1.13 KB, created by
Samuli Suominen (RETIRED)
on 2014-03-15 18:48:31 UTC
(
hide
)
Description:
Possible fix?
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2014-03-15 18:48:31 UTC
Size:
1.13 KB
patch
obsolete
>From 2b9ae40d830596eda80cc5bc5252c6685cb75eaa Mon Sep 17 00:00:00 2001 >From: Samuli Suominen <ssuominen@gentoo.org> >Date: Sat, 15 Mar 2014 20:40:24 +0200 >Subject: [PATCH] Link against -lresolv to prevent linker errors like: > /usr/lib/gcc/ia64-unknown-linux-gnu/4.7.3/../../../../ia64-unknown- > linux-gnu/bin/ld: Warning: gc-sections option ignored > ./.libs/libsystemd-internal.a(libsystemd_internal_la-sd-resolve.o): > In function `handle_request': > /tmp/systemd-211/src/libsystemd/sd-resolve/sd-resolve.c:432: undefined > reference to '__res_search' > /tmp/systemd-211/src/libsystemd/sd-resolve/sd-resolve.c:430: undefined > reference to '__res_query' > > IA64 arch with -fuse-ld=gold doesn't support --gc-sections, which > revealed the underlinking. See Gentoo bug 504700. > >--- > Makefile.am | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Makefile.am b/Makefile.am >index 9e01cd5..4b8a081 100644 >--- a/Makefile.am >+++ b/Makefile.am >@@ -2121,7 +2121,8 @@ libsystemd_internal_la_CFLAGS = \ > -pthread > > libsystemd_internal_la_LIBADD = \ >- $(RT_LIBS) >+ $(RT_LIBS) \ >+ -lresolv > > noinst_LTLIBRARIES += \ > libsystemd-internal.la >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 504700
:
372732
| 372754