Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160643 - Fix xfce4-systemload-0.4 to compile with -Wl,--as-needed [PATCH]
Summary: Fix xfce4-systemload-0.4 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-07 09:45 UTC by Samuli Suominen (RETIRED)
Modified: 2007-01-21 18:10 UTC (History)
0 users

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


Attachments
xfce4-systemload-0.4.ebuild (xfce4-systemload-0.4.ebuild,521 bytes, text/plain)
2007-01-07 09:46 UTC, Samuli Suominen (RETIRED)
Details
xfce4-systemload-asneeded.patch (xfce4-systemload-asneeded.patch,543 bytes, patch)
2007-01-07 09:46 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-07 09:45:14 UTC
Generating and caching the translation database
i686-pc-linux-gnu-gcc  -O2 -march=athlon-xp -pipe  -Wl,-O1,--as-needed -o xfce4-systemload-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_systemload_plugin-systemload.o xfce4_systemload_plugin-uptime.o xfce4_systemload_plugin-memswap.o xfce4_systemload_plugin-cpu.o  
WARNING: ../po/nl.po is not in UTF-8 but ISO-8859-1, converting...
xfce4_systemload_plugin-systemload.o: In function `main':
systemload.c:(.text+0x1f): undefined reference to `gtk_init'
systemload.c:(.text+0x38): undefined reference to `xfce_external_panel_plugin_new'
systemload.c:(.text+0x73): undefined reference to `g_signal_connect_data'
systemload.c:(.text+0x7b): undefined reference to `gtk_widget_show'
systemload.c:(.text+0x80): undefined reference to `gtk_main'
xfce4_systemload_plugin-systemload.o: In function `monitor_create_options':

Output supressed.

Reproducible: Always

Steps to Reproduce:
1. LDFLAGS="-Wl,--as-needed" emerge -av =xfce-extra/xfce4-systemload-0.4
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-01-07 09:46:08 UTC
Created attachment 105765 [details]
xfce4-systemload-0.4.ebuild
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-01-07 09:46:35 UTC
Created attachment 105767 [details, diff]
xfce4-systemload-asneeded.patch
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-01-10 15:20:30 UTC
Upstream bug, http://bugzilla.xfce.org/show_bug.cgi?id=2734
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-01-13 04:08:03 UTC
Fixed in upstream.
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2007-01-21 18:10:54 UTC
Thanks for reporting!