i am just rebuilding my system with the -Wl,--as-needed LDFLAG. bbpager fails to compile and complains (taken from build.log file): ager.o main.o Baseresource.o resource.o wminterface.o pager.o desktop.o -lXext -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -lbt -lXft -lXrender -lfontconfig -lfreetype -lz -lX11 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Application.o): In function `bt::Application::Application(std::basic_string<char, std::char_traits<char>, std::allocator<c har> > const&, char const*, bool)': (.text+0xd48): undefined reference to `XShapeQueryExtension' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Application.o): In function `bt::Application::Application(std::basic_string<char, std::char_traits<char>, std::allocator<c har> > const&, char const*, bool)': (.text+0x16f8): undefined reference to `XShapeQueryExtension' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::destroyShmImage(bt::Display const&, _XImage*)': (.text+0x3b30): undefined reference to `XShmDetach' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::createShmImage(bt::Display const&, bt::ScreenInfo const&, unsigned int, unsigned int)': (.text+0x3bc0): undefined reference to `XShmCreateImage' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::createShmImage(bt::Display const&, bt::ScreenInfo const&, unsigned int, unsigned int)': (.text+0x3c5e): undefined reference to `XShmAttach' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::createShmImage(bt::Display const&, bt::ScreenInfo const&, unsigned int, unsigned int)': (.text+0x3cad): undefined reference to `XShmAttach' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::startupShm(bt::Display const&)': (.text+0x3d0d): undefined reference to `XShmQueryExtension' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::Image::renderPixmap(bt::Display const&, unsigned int)': (.text+0x4f00): undefined reference to `XShmPutImage' collect2: ld returned 1 exit status make[2]: *** [bbpager] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-misc/bbpager-0.4.1_beta1/work/bbpager-0.4.1beta1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-misc/bbpager-0.4.1_beta1/work/bbpager-0.4.1beta1' make: *** [all] Error 2 Reproducible: Always
We are not fixing stable ebuilds for this; try w/ 0.4.3 and report back.