Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160525 - Fix xfce-extra/xfce4-diskperf-2.0 to compile with -Wl,--as-needed [PATCH]
Summary: Fix xfce-extra/xfce4-diskperf-2.0 to compile with -Wl,--as-needed [PATCH]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2007-01-06 17:46 UTC by Samuli Suominen (RETIRED)
Modified: 2007-01-21 17:51 UTC (History)
0 users

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


Attachments
xfce4-diskperf-2.0.ebuild.patch (xfce4-diskperf-2.0.ebuild.patch,820 bytes, patch)
2007-01-06 17:47 UTC, Samuli Suominen (RETIRED)
Details | Diff
xfce4-diskperf-asneeded.patch (xfce4-diskperf-asneeded.patch,527 bytes, patch)
2007-01-06 17:47 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!