Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 160525

Summary: Fix xfce-extra/xfce4-diskperf-2.0 to compile with -Wl,--as-needed [PATCH]
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: xfce4-diskperf-2.0.ebuild.patch
xfce4-diskperf-asneeded.patch

Description Samuli Suominen (RETIRED) gentoo-dev 2007-01-06 17:46:19 UTC
Problem is..

i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -pipe  -Wl,-O1,--as-needed -o xfce4-diskperf-plugin -lxfce4panel -lxfcegui4 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   xfce4_diskperf_plugin-main.o xfce4_diskperf_plugin-config_gui.o xfce4_diskperf_plugin-devperf.o  
xfce4_diskperf_plugin-main.o: In function `main':
main.c:(.text+0x1f): undefined reference to `gtk_init'
main.c:(.text+0x38): undefined reference to `xfce_external_panel_plugin_new'
main.c:(.text+0x73): undefined reference to `g_signal_connect_data'

Output supressed, it continues few pages.

Reproducible: Always

Steps to Reproduce:
1. LDFLAGS="-Wl,--as-needed" emerge -av =xfce4-diskperf-2.0
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-01-06 17:47:18 UTC
Created attachment 105677 [details, diff]
xfce4-diskperf-2.0.ebuild.patch
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-01-06 17:47:51 UTC
Created attachment 105679 [details, diff]
xfce4-diskperf-asneeded.patch
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-01-06 17:48:42 UTC
Sorry Jakub, forgot to assing to xfce in the first place. :-)

And forgot to add xfce4-dev-tools to DEPEND cause we need macros for eautoreconf.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-01-10 15:16:06 UTC
Upstream bug opened, http://bugzilla.xfce.org/show_bug.cgi?id=2733
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-01-13 04:08:34 UTC
Fixed in upstream.
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2007-01-21 17:51:36 UTC
Thanks for reporting!