Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438060 - net-misc/remmina-1.0.0_p20121004 fails to build with gold: undefined reference to 'avahi_simple_poll_iterate'
Summary: net-misc/remmina-1.0.0_p20121004 fails to build with gold: undefined referenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL: https://github.com/FreeRDP/Remmina/is...
Whiteboard:
Keywords:
Depends on:
Blocks: gold-tracker
  Show dependency tree
 
Reported: 2012-10-12 05:55 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2012-10-12 22:18 UTC (History)
1 user (show)

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


Attachments
build.log + emerge --info (remmina-1.0.0_p20121004 build log + emerge --info.txt,117.78 KB, text/plain)
2012-10-12 05:55 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-12 05:55:15 UTC
Created attachment 326350 [details]
build.log + emerge --info

# binutils-config --linker ld.gold
 * Setting default linker to ld.gold for x86_64-pc-linux-gnu-2.22.90 ...  [ ok ]
# emerge -1 remmina
[...]
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_iterate: error: undefined reference to 'avahi_simple_poll_iterate'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_browse_callback: error: undefined reference to 'avahi_service_browser_get_client'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_browse_callback: error: undefined reference to 'avahi_client_errno'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_browse_callback: error: undefined reference to 'avahi_strerror'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_browse_callback: error: undefined reference to 'avahi_service_resolver_new'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_browse_callback: error: undefined reference to 'avahi_client_errno'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_browse_callback: error: undefined reference to 'avahi_strerror'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_resolve_callback: error: undefined reference to 'avahi_service_resolver_get_client'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_resolve_callback: error: undefined reference to 'avahi_client_errno'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_resolve_callback: error: undefined reference to 'avahi_strerror'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_client_callback: error: undefined reference to 'avahi_client_errno'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_client_callback: error: undefined reference to 'avahi_strerror'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_start: error: undefined reference to 'avahi_simple_poll_new'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_start: error: undefined reference to 'avahi_simple_poll_get'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_start: error: undefined reference to 'avahi_client_new'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_start: error: undefined reference to 'avahi_service_browser_new'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_stop: error: undefined reference to 'avahi_service_browser_free'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_stop: error: undefined reference to 'avahi_client_free'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_stop: error: undefined reference to 'avahi_simple_poll_free'
CMakeFiles/remmina.dir/src/remmina_avahi.c.o:remmina_avahi.c:function remmina_avahi_resolve_callback: error: undefined reference to 'avahi_service_resolver_free'
collect2: error: ld returned 1 exit status
make[2]: *** [remmina/remmina] Error 1


When using ld.bfd as the linker, remmina builds successfully.
Comment 1 Mike Gilbert gentoo-dev 2012-10-12 16:03:17 UTC
I created an issue upstream.
Comment 2 Mike Gilbert gentoo-dev 2012-10-12 22:18:32 UTC
  12 Oct 2012; Mike Gilbert <floppym@gentoo.org>
  +files/remmina-1.0.0_p20121004-avahi.patch, remmina-1.0.0_p20121004.ebuild:
  Fix avahi underlinking, bug 438060 by tetromino.