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
Created attachment 250393 [details, diff] Patch to allow gupnp to link with the gold linker
Still valid with 0.18.3?
0.18.4 seems to work for me