Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340753 - net-libs/gupnp-0.13.2 fails to link with the gold linker
Summary: net-libs/gupnp-0.13.2 fails to link with the gold linker
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 20:43 UTC by Raymes Khoury
Modified: 2012-11-08 03:43 UTC (History)
2 users (show)

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


Attachments
Patch to allow gupnp to link with the gold linker (gupnp-0.13.2-gold.patch,3.69 KB, patch)
2010-10-12 20:44 UTC, Raymes Khoury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raymes Khoury 2010-10-12 20:43:16 UTC
gupnp-0.13.2 fails to link with the gold linker because the following libraries aren't explicitly passed to the linker:
-lgssdp-1.0  -lgobject-2.0

The following error is reported:
 CCLD   light-server
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:light-client.c(.text+0x48): error: undefined reference to 'g_type_init'
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:light-client.c(.text+0x17c): error: undefined reference to 'g_signal_connect_data'
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:light-client.c(.text+0x181): error: undefined reference to 'gssdp_resource_browser_get_type'
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:light-client.c(.text+0x18d): error: undefined reference to 'g_type_check_instance_cast'
/usr/libexec/gcc/i686-pc-linux-gnu/ld: light-client.o: in function main:l

Reproducible: Always

Steps to Reproduce:
1. USE=gold emerge binutils
2. emerge =gupnp-0.13.2
Comment 1 Raymes Khoury 2010-10-12 20:44:14 UTC
Created attachment 250393 [details, diff]
Patch to allow gupnp to link with the gold linker
Comment 2 Pacho Ramos gentoo-dev 2012-06-30 12:57:32 UTC
Still valid with 0.18.3?
Comment 3 SpanKY gentoo-dev 2012-11-08 03:43:26 UTC
0.18.4 seems to work for me