Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

LDFLAG --as-needed / Speeding up of GNOME or KDE

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
264 posts
  • Page 5 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 11
  • Next
Author
Message
pussi
l33t
l33t
Posts: 727
Joined: Sat May 08, 2004 9:28 am
Location: Finland

Re: LDFLAG --as-needed / Speeding up of GNOME or KDE

  • Quote

Post by pussi » Wed Jun 15, 2005 5:33 pm

infirit wrote: Apps that do NOT work:
app-text/gpdf-2.10.0
Works fine here
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

Re: LDFLAG --as-needed / Speeding up of GNOME or KDE

  • Quote

Post by infirit » Wed Jun 15, 2005 6:12 pm

pussi wrote:
infirit wrote: Apps that do NOT work:
app-text/gpdf-2.10.0
Works fine here
I build my system from scratch with --as-needed and ths is what I got. Without --as-needed it compiles.

Code: Select all

../../goo/libGoo.a(gfile.o): In function `openTempFile(GString**, _IO_FILE**, char*, char*)':
gfile.cc:(.text+0x4ba): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_status_timeout':gpdf-control.cc:(.text+0x120): undefined reference to `gnome_appbar_clear_stack'../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_push':
gpdf-control.cc:(.text+0x205): undefined reference to `gnome_appbar_push'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_print_job_print':
gpdf-control.cc:(.text+0x181f): undefined reference to `gnome_print_job_set_file'
gpdf-control.cc:(.text+0x1828): undefined reference to `gnome_print_job_get_config'
gpdf-control.cc:(.text+0x183d): undefined reference to `gnome_print_config_get_page_size'
gpdf-control.cc:(.text+0x184f): undefined reference to `gnome_print_config_get_boolean'
gpdf-control.cc:(.text+0x1899): undefined reference to `glade_xml_new'
gpdf-control.cc:(.text+0x18a4): undefined reference to `glade_xml_signal_autoconnect'
gpdf-control.cc:(.text+0x18b1): undefined reference to `glade_xml_get_widget'
gpdf-control.cc:(.text+0x18ca): undefined reference to `glade_xml_get_widget'
gpdf-control.cc:(.text+0x18ee): undefined reference to `glade_xml_get_widget'
gpdf-control.cc:(.text+0x190a): undefined reference to `glade_xml_get_widget'
gpdf-control.cc:(.text+0x1a29): undefined reference to `gnome_print_job_print'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_print':
gpdf-control.cc:(.text+0x1aa5): undefined reference to `gnome_print_config_default'
gpdf-control.cc:(.text+0x1ab0): undefined reference to `gnome_print_job_new'
gpdf-control.cc:(.text+0x1ad3): undefined reference to `gnome_print_dialog_new'
gpdf-control.cc:(.text+0x1b08): undefined reference to `gnome_print_dialog_get_type'
gpdf-control.cc:(.text+0x1b2d): undefined reference to `gnome_print_dialog_construct_range_page'
gpdf-control.cc:(.text+0x1bdb): undefined reference to `gnome_print_config_get'
gpdf-control.cc:(.text+0x1beb): undefined reference to `gnome_print_config_get'
gpdf-control.cc:(.text+0x1c17): undefined reference to `gnome_print_config_get'
gpdf-control.cc:(.text+0x1c9e): undefined reference to `gnome_print_dialog_get_type'
gpdf-control.cc:(.text+0x1cc0): undefined reference to `gnome_print_dialog_get_range'
gpdf-control.cc:(.text+0x1d0a): undefined reference to `gnome_print_job_get_config'
gpdf-control.cc:(.text+0x1d17): undefined reference to `gnome_print_config_get'
gpdf-control.cc:(.text+0x1d28): undefined reference to `gnome_print_job_get_config'
gpdf-control.cc:(.text+0x1d38): undefined reference to `gnome_print_config_set'
gpdf-control.cc:(.text+0x1e24): undefined reference to `gnome_print_dialog_get_range_page'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_constructor':
gpdf-control.cc:(.text+0x4c0f): undefined reference to `gnome_appbar_new'
gpdf-control.cc:(.text+0x4c28): undefined reference to `gnome_appbar_get_type'
gpdf-control.cc:(.text+0x4c52): undefined reference to `gnome_appbar_get_progress'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_set_status':
gpdf-control.cc:(.text+0x9a): undefined reference to `gnome_appbar_set_status'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_pop':
gpdf-control.cc:(.text+0x2fa): undefined reference to `gnome_appbar_pop'
../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_clear_stack':
gpdf-control.cc:(.text+0x35a): undefined reference to `gnome_appbar_clear_stack'../libgpdf.a(gpdf-control.o): In function `gpdf_control_private_refresh':
gpdf-control.cc:(.text+0x53a): undefined reference to `gnome_appbar_refresh'
../libgpdf.a(gpdf-view.o): In function `gpdf_view_render_page':
gpdf-view.cc:(.text+0x185e): undefined reference to `gnome_print_config_default'gpdf-view.cc:(.text+0x1887): undefined reference to `gnome_print_preview_new_full'
gpdf-view.cc:(.text+0x1893): undefined reference to `gnome_print_config_unref'
../libgpdf.a(gpdf-bookmarks-view.o): In function `gpdf_bookmarks_view_get_tools_menu':
gpdf-bookmarks-view.cc:(.text+0x2137): undefined reference to `gnome_app_fill_menu_with_data'
../libgpdf.a(pdf-properties-display.o): In function `gpdf_properties_display_set_label_text':
pdf-properties-display.c:(.text+0xa0): undefined reference to `glade_xml_get_widget'
../libgpdf.a(pdf-properties-display.o): In function `gpdf_properties_display_instance_init':
pdf-properties-display.c:(.text+0x6f1): undefined reference to `glade_xml_new'
pdf-properties-display.c:(.text+0x70b): undefined reference to `glade_xml_get_widget'
pdf-properties-display.c:(.text+0x723): undefined reference to `glade_xml_get_widget'
../libgpdf.a(GPOutputDev.o): In function `GPOFontMap::initBase14Fonts()':
GPOutputDev.cc:(.text+0x138): undefined reference to `gnome_font_face_find'
../libgpdf.a(GPOutputDev.o): In function `GPOFontMap::getFontFaceBase14(GfxFont*)':
GPOutputDev.cc:(.text+0x1ab): undefined reference to `gnome_font_face_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOFontMap::getFontFaceEmbedded(GfxFont*)':
GPOutputDev.cc:(.text+0x7d8): undefined reference to `gnome_font_face_load'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::startPage(int, GfxState*)':
GPOutputDev.cc:(.text+0xbf6): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::endPage()':
GPOutputDev.cc:(.text+0xc75): undefined reference to `gnome_print_showpage'
GPOutputDev.cc:(.text+0xc92): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::saveState(GfxState*)':
GPOutputDev.cc:(.text+0xd38): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::restoreState(GfxState*)':GPOutputDev.cc:(.text+0xdc1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateCTM(GfxState*, double, double, double, double, double, double)':
GPOutputDev.cc:(.text+0xe73): undefined reference to `gnome_print_concat'
GPOutputDev.cc:(.text+0xe91): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineDash(GfxState*)':
GPOutputDev.cc:(.text+0xf13): undefined reference to `gnome_print_setdash'
GPOutputDev.cc:(.text+0xf31): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineJoin(GfxState*)':
GPOutputDev.cc:(.text+0xfc1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineCap(GfxState*)':
GPOutputDev.cc:(.text+0x1061): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateMiterLimit(GfxState*)':
GPOutputDev.cc:(.text+0x1101): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineWidth(GfxState*)':
GPOutputDev.cc:(.text+0x11a1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateFillColor(GfxState*)':
GPOutputDev.cc:(.text+0x125e): undefined reference to `gnome_print_setrgbcolor'
GPOutputDev.cc:(.text+0x1271): undefined reference to `gnome_print_setopacity'
GPOutputDev.cc:(.text+0x1291): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateStrokeColor(GfxState*)':
GPOutputDev.cc:(.text+0x1381): undefined reference to `gnome_print_setrgbcolor'
GPOutputDev.cc:(.text+0x1394): undefined reference to `gnome_print_setopacity'
GPOutputDev.cc:(.text+0x13b1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateFont(GfxState*)':
GPOutputDev.cc:(.text+0x147d): undefined reference to `gnome_font_face_get_font_default'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::doPath(GfxPath*)':
GPOutputDev.cc:(.text+0x1593): undefined reference to `gnome_print_newpath'
GPOutputDev.cc:(.text+0x15cb): undefined reference to `gnome_print_moveto'
GPOutputDev.cc:(.text+0x161f): undefined reference to `gnome_print_curveto'
GPOutputDev.cc:(.text+0x166b): undefined reference to `gnome_print_lineto'
GPOutputDev.cc:(.text+0x167d): undefined reference to `gnome_print_closepath'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::stroke(GfxState*)':
GPOutputDev.cc:(.text+0x16f1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::fill(GfxState*)':
GPOutputDev.cc:(.text+0x17a1): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::eoFill(GfxState*)':
GPOutputDev.cc:(.text+0x1851): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::clip(GfxState*)':
GPOutputDev.cc:(.text+0x18f4): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::eoClip(GfxState*)':
GPOutputDev.cc:(.text+0x1994): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o):GPOutputDev.cc:(.text+0x1a91): more undefined references to `gnome_print_context_get_type' follow
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::drawString(GfxState*, GString*)':
GPOutputDev.cc:(.text+0x1ac4): undefined reference to `gnome_print_gsave'
GPOutputDev.cc:(.text+0x1b58): undefined reference to `gnome_print_concat'
GPOutputDev.cc:(.text+0x1b71): undefined reference to `gnome_print_moveto'
GPOutputDev.cc:(.text+0x1b76): undefined reference to `gnome_glyphlist_new'
GPOutputDev.cc:(.text+0x1b8a): undefined reference to `gnome_glyphlist_font'
GPOutputDev.cc:(.text+0x1c17): undefined reference to `gnome_glyphlist_color'
GPOutputDev.cc:(.text+0x1c23): undefined reference to `gnome_glyphlist_advance'
GPOutputDev.cc:(.text+0x1c3a): undefined reference to `gnome_glyphlist_rmoveto'
GPOutputDev.cc:(.text+0x1c6c): undefined reference to `gnome_font_lookup_default'
GPOutputDev.cc:(.text+0x1c7b): undefined reference to `gnome_glyphlist_glyph'
GPOutputDev.cc:(.text+0x1c91): undefined reference to `gnome_glyphlist_rmoveto'
GPOutputDev.cc:(.text+0x1e2e): undefined reference to `gnome_print_glyphlist'
GPOutputDev.cc:(.text+0x1e38): undefined reference to `gnome_glyphlist_unref'
GPOutputDev.cc:(.text+0x1e41): undefined reference to `gnome_print_grestore'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::drawImageMask(GfxState*, Object*, Stream*, int, int, int, int)':
GPOutputDev.cc:(.text+0x2027): undefined reference to `gnome_print_rgbaimage'
GPOutputDev.cc:(.text+0x205b): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int*, int)':
GPOutputDev.cc:(.text+0x21f3): undefined reference to `gnome_print_rgbimage'
GPOutputDev.cc:(.text+0x2227): undefined reference to `gnome_print_context_get_type'
../libgpdf.a(GPOutputDev.o): In function `GPOFontMap::getFontFaceFallback(GfxFont*)':
GPOutputDev.cc:(.text+0x39d): undefined reference to `gnome_font_face_find'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::startPage(int, GfxState*)':
GPOutputDev.cc:(.text+0xbf1): undefined reference to `gnome_print_beginpage'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::saveState(GfxState*)':
GPOutputDev.cc:(.text+0xd33): undefined reference to `gnome_print_gsave'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::restoreState(GfxState*)':GPOutputDev.cc:(.text+0xdb7): undefined reference to `gnome_print_grestore'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineJoin(GfxState*)':
GPOutputDev.cc:(.text+0xfb7): undefined reference to `gnome_print_setlinejoin'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineCap(GfxState*)':
GPOutputDev.cc:(.text+0x1057): undefined reference to `gnome_print_setlinecap'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateMiterLimit(GfxState*)':
GPOutputDev.cc:(.text+0x10f9): undefined reference to `gnome_print_setmiterlimit'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::updateLineWidth(GfxState*)':
GPOutputDev.cc:(.text+0x1199): undefined reference to `gnome_print_setlinewidth'../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::stroke(GfxState*)':
GPOutputDev.cc:(.text+0x16ea): undefined reference to `gnome_print_stroke'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::fill(GfxState*)':
GPOutputDev.cc:(.text+0x179a): undefined reference to `gnome_print_fill'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::eoFill(GfxState*)':
GPOutputDev.cc:(.text+0x184a): undefined reference to `gnome_print_eofill'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::clip(GfxState*)':
GPOutputDev.cc:(.text+0x18ef): undefined reference to `gnome_print_clip'
../libgpdf.a(GPOutputDev.o): In function `GPOutputDev::eoClip(GfxState*)':
GPOutputDev.cc:(.text+0x198f): undefined reference to `gnome_print_eoclip'
../libgpdf.a(gpdf-font-face.o): In function `gpdf_font_face_get_type':
gpdf-font-face.c:(.text+0x56): undefined reference to `gnome_font_face_get_type'../libgpdf.a(gpdf-font-face.o): In function `gpdf_font_face_download':
gpdf-font-face.c:(.text+0x3cf): undefined reference to `gp_font_entry_ref'
gpdf-font-face.c:(.text+0x3d4): undefined reference to `gnome_font_face_get_type'
gpdf-font-face.c:(.text+0x3e8): undefined reference to `gnome_font_face_get_type'
collect2: ld returned 1 exit status
make[4]: *** [test-gpdf-control] Error 1
make[4]: Leaving directory `/var/tmp/portage/gpdf-2.10.0/work/gpdf-2.10.0/xpdf/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gpdf-2.10.0/work/gpdf-2.10.0/xpdf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gpdf-2.10.0/work/gpdf-2.10.0/xpdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpdf-2.10.0/work/gpdf-2.10.0'
make: *** [all] Error 2

!!! ERROR: app-text/gpdf-2.10.0 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

Re: devsk on --enable-new_ldflags

  • Quote

Post by infirit » Wed Jun 15, 2005 6:17 pm

Thanks devsk for the explanation, I have added it to the original post. :D
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Top
devsk
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Oct 24, 2003 1:16 am
Location: Bay Area, CA

  • Quote

Post by devsk » Sat Jun 18, 2005 6:30 pm

why aren't kde apps included in the section 'apps that work'? All kde packages(arts,kdelibs,kdebase,kdeartwork,kdegraphics,kdepim,kdetoys, kdeadmin,kdeaddons, kdeutils, kdegames,kdenetwork, kdemultimedia) that I have tried with --enable-new_ldflags work fine so far (even on solaris 9). but that's with gcc 4.0.1 and binutils 2.16.1, these might have latest patches to problems that others might face with older versions.
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

Keep list with packages that work?

  • Quote

Post by infirit » Sat Jun 18, 2005 6:49 pm

Actualy I have been thinking to remove the "apps that work" section completely. The reasoning being that I have built my system from scratch (stage1) with --as-needed and rebuilding which fail without it. if I am to add all packages now it would make the list very long (hundreds of lines) and unmanageble.

Sugestions/comments :?:
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Top
devsk
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Oct 24, 2003 1:16 am
Location: Bay Area, CA

  • Quote

Post by devsk » Sat Jun 18, 2005 7:22 pm

I think that's better. just list apps which are known to not work. others work...:)
Top
123ichi
n00b
n00b
Posts: 12
Joined: Sat Mar 12, 2005 2:34 pm
Location: Norway

  • Quote

Post by 123ichi » Sat Jun 18, 2005 9:54 pm

net-p2p/amule-2.0.1 failed for me.

Have had a few problems with binutils, but I haven't tried --as-needed with older versions of binutils, so I don't know whether or not binutils is the culprit in this case.
However I did try to remove the other LDFLAGS one by one, while keeping --as-needed, as I thought it might be a problem with conflicting LDFLAGS, but that didn't help.
And yes, amule did compile without any problems whatsoever without the --as-needed flag.

Here's the output that seemed to be relevant:

Code: Select all

/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 internal error, aborting at /usr/portage/tmp/portage/binutils-2.16.1/work/binutils-2.16.1/bfd/elflink.c line 6437 in elf_link_output_extsym

/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: Please report this bug.

collect2: ld returned 1 exit status
make[5]: *** [wxcas] Error 1
make[5]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1/src/utils/wxCas/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1/src/utils/wxCas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/portage/tmp/portage/amule-2.0.1/work/aMule-2.0.1'
make: *** [all] Error 2

!!! ERROR: net-p2p/amule-2.0.1 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Output of emerge --info:

Code: Select all

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-morph11 i686)
=================================================================
System uname: 2.6.11-morph11 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -ftracer -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -ffast-math -fprefetch-loop-arrays -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -ftracer -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -ffast-math -fprefetch-loop-arrays -fforce-addr -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://mirror.gentoo.no/ http://mirror.pudas.net/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.aiya.ru/pub/gentoo/"
LANG="nb_NO"
LC_ALL="nb_NO"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--relax"
LINGUAS="no"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/usr/local/overlays/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 asm avi bash-completion berkdb bitmap-fonts cdr crypt curl encode fbcon flac fortran gd gdbm gif gpm gtk2 imlib jpeg kdeenablefinal libg++ libwww mad mbox mmx motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl pcre pdflib perl pic png python readline sse ssl tcpd tiff truetype truetype-fonts type1-fonts vhosts vorbis xml2 xv zlib video_cards_radeon linguas_no alsa_cards_ens1371 input_drivers_ps2mouse"
Unset:  ASFLAGS, CTARGET
Last edited by 123ichi on Sun Jun 19, 2005 3:59 pm, edited 1 time in total.
Top
devsk
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Oct 24, 2003 1:16 am
Location: Bay Area, CA

  • Quote

Post by devsk » Sun Jun 19, 2005 1:08 am

123ichi wrote:net-p2p/amule-2.0.1 failed for me.
LDFLAGS=" -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--relax"
Using binutils-2.16.1, gcc-3.4.4 and glibc-2.3.5.
Have had a few problems with binutils, but I haven't tried --as-needed with older versions of binutils, so I don't know whether or not binutils is the culprit in this case.
However I did try to remove the other LDFLAGS one by one, while keeping --as-needed, as I thought it might be a problem with conflicting LDFLAGS, but that didn't help.
And yes, amule did compile without any problems whatsoever without the --as-needed flag.
can everyone, for sake of completeness, post the errors they get as well. These could help binutils folks find and fix bugs with --as-needed. thanks.
Top
123ichi
n00b
n00b
Posts: 12
Joined: Sat Mar 12, 2005 2:34 pm
Location: Norway

  • Quote

Post by 123ichi » Mon Jun 20, 2005 5:41 pm

net-p2p/ctorrent fails, as it can't find openssl.

x11-wm/openbox-3.3_rc1-r2 fails with:

Code: Select all

.libs/libobrender.so: undefined reference to `parse_xdg_data_dir_paths'
collect2: ld returned 1 exit status
make[1]: *** [render/rendertest] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/portage/tmp/portage/openbox-3.3_rc1-r2/work/openbox-3.3-rc1'
make: *** [all-recursive] Error 1

!!! ERROR: x11-wm/openbox-3.3_rc1-r2 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message
x11-terms/rxvt-unicode-5.3 fails with

Code: Select all

...
checking size of short... configure: error: cannot compute sizeof (short), 77
....
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
sys-libs/glibc fails when both --relax and --as-needed is enabled, but works with just --as-needed.
Can't remember the exact error message, and it would take too much time to recompile it, but I seem to remember that it actually said that both --relax and --as-needed shouldn't be used.

x11-libs/wxGTK-2.6.0-r1, dev-python/wxpython-2.6.0.0-r1, sys-apps/parted-1.6.22 and dev-db/mysql-4.0.24-r1, also fails. I don't have the logs for these, sorry.
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

  • Quote

Post by infirit » Mon Jun 20, 2005 5:58 pm

devsk wrote:can everyone, for sake of completeness, post the errors they get as well. These could help binutils folks find and fix bugs with --as-needed. thanks.
binutils-2.16.1 works fine for me. Anybody with errors?
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

  • Quote

Post by infirit » Mon Jun 20, 2005 6:13 pm

123ichi wrote:net-p2p/ctorrent fails, as it can't find openssl.

x11-wm/openbox-3.3_rc1-r2 fails with:

Code: Select all

.libs/libobrender.so: undefined reference to `parse_xdg_data_dir_paths'
collect2: ld returned 1 exit status
make[1]: *** [render/rendertest] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/portage/tmp/portage/openbox-3.3_rc1-r2/work/openbox-3.3-rc1'
make: *** [all-recursive] Error 1

!!! ERROR: x11-wm/openbox-3.3_rc1-r2 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message
Thanks added.
123ichi wrote: x11-terms/rxvt-unicode-5.3 fails with

Code: Select all

...
checking size of short... configure: error: cannot compute sizeof (short), 77
....
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
Afaik this is not an --as-needed error. Also works for me....
Last edited by infirit on Wed Jun 22, 2005 9:40 am, edited 1 time in total.
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Top
123ichi
n00b
n00b
Posts: 12
Joined: Sat Mar 12, 2005 2:34 pm
Location: Norway

  • Quote

Post by 123ichi » Mon Jun 20, 2005 8:07 pm

Well, I only get that message with rxvt-unicode when I have --as-needed enabled, even if I remove all the other ldflags.
But you probably know a lot more about these things than I do, as I'm merely a novice.
The glibc thing was just for those who, like me, didn't understand why the compile failed and because of that might me misled to believe that --as-needed breaks glibc (again, like I did).
Top
Rainmaker
Veteran
Veteran
User avatar
Posts: 1650
Joined: Thu Feb 12, 2004 2:04 am
Location: /home/NL/ehv/

  • Quote

Post by Rainmaker » Mon Jun 20, 2005 11:43 pm

initng does not work with --as-needed enabled. Could you add it to the list?
If you can't dazzle them with brilliance, baffle them with bullshit.
Top
n0rbi666
l33t
l33t
User avatar
Posts: 707
Joined: Fri Mar 04, 2005 7:18 pm
Location: \Poland\Krakow

  • Quote

Post by n0rbi666 » Wed Jun 22, 2005 9:34 am

net-im/tleenx2 - does not work with --as-needed enabled, without - it compiles ok
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

  • Quote

Post by infirit » Wed Jun 22, 2005 9:52 am

123ichi wrote:Well, I only get that message with rxvt-unicode when I have --as-needed enabled, even if I remove all the other ldflags.
But you probably know a lot more about these things than I do, as I'm merely a novice.
The glibc thing was just for those who, like me, didn't understand why the compile failed and because of that might me misled to believe that --as-needed breaks glibc (again, like I did).
Dont het me wrong all feedback is appriciated :)
123ichi wrote:x11-libs/wxGTK-2.6.0-r1, dev-python/wxpython-2.6.0.0-r1, sys-apps/parted-1.6.22 and dev-db/mysql-4.0.24-r1, also fails. I don't have the logs for these, sorry.
I'm trying to reproduce the problems you have with the wx widget packages.... I'll check the version I have installed against yours.
n0rbi666 wrote:net-im/tleenx2 - does not work with --as-needed enabled, without - it compiles ok
Rainmaker wrote:initng does not work with --as-needed enabled. Could you add it to the list?
Thanks added
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Top
HardenCoonor
n00b
n00b
Posts: 54
Joined: Thu Feb 19, 2004 2:48 pm

  • Quote

Post by HardenCoonor » Wed Jun 22, 2005 10:59 am

I succesfully used --enable-new-ldflags on my system, which added --as-needed and --enable-new-dtags to the LDFLAGS.

Maybe there are several packages where --enable-new-ldflags is replaced by --enable-new_ldflags, but --enable-new-ldflags is from my point of view the correct alternative. Also amarok-1.3beta1 has this option.

BTW, has anybody noticed that in kde.eclass the option kdeenablefinal is interpreted by useq instead of use?

Code: Select all

if useq kdeenablefinal; then
Is the use of "useq" correct? Or is it an error? Since it is in there for quite some time now, i guess it is correct. I have to apologise, i did not check it.

I saw some people using LDFLAGS="-Wl,--relax". Is it usable on x86? The help and the manpages could not enlighten me. Though adding it does no harm, since it is probably ignored.
Top
n0rbi666
l33t
l33t
User avatar
Posts: 707
Joined: Fri Mar 04, 2005 7:18 pm
Location: \Poland\Krakow

  • Quote

Post by n0rbi666 » Wed Jun 22, 2005 11:33 am

hmmm media-gfx/gimp-print-5.0.0_beta4 seems not to work with --as-needed, without - it compiles ok ...
Top
devsk
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Oct 24, 2003 1:16 am
Location: Bay Area, CA

  • Quote

Post by devsk » Wed Jun 22, 2005 1:48 pm

HardenCoonor wrote: BTW, has anybody noticed that in kde.eclass the option kdeenablefinal is interpreted by useq instead of use?

Code: Select all

if useq kdeenablefinal; then
Is the use of "useq" correct? Or is it an error? Since it is in there for quite some time now, i guess it is correct. I have to apologise, i did not check it.
useq is the quiet one, usev is the verbose one, use is same as useq atm.
Top
taipan67
l33t
l33t
User avatar
Posts: 866
Joined: Sat Dec 04, 2004 10:04 am
Location: England (i'm told...)

  • Quote

Post by taipan67 » Thu Jun 23, 2005 1:21 pm

Does anyone know if this LDFLAG affects runtime-logic, even when it compiles successfully 8O :?:

I'm asking because i've just completed the 2nd phase of a Stage1 install, & although 'emerge -e system' completed successfully, it switched compilers part-way through, & i'm considering the possibility that gcc-config might be acting up because it isn't accessing certain libs that it needs...

A bit out there, i know, but i'm currently trying to get feedback on as many variables as i can (a more expansive tale of woe can be viewed here)... :wink:

EDIT: On reflection, it can't be the case, as the initial bootstrap was done with default FLAGS, so forget i asked. If & when i get this issue fixed, i'll report back with my findings about '-Wl,--as-needed'... 8)
"Anyone who goes to see a psychiatrist should have their head examined!"
Top
n0rbi666
l33t
l33t
User avatar
Posts: 707
Joined: Fri Mar 04, 2005 7:18 pm
Location: \Poland\Krakow

  • Quote

Post by n0rbi666 » Fri Jun 24, 2005 12:06 pm

net-p2p/amule-2.0.1 - works for me
net-fs/samba-3.0.14a-r1 - works for me
media-sound/beep-media-player-0.9.7-r6 - works for me
kdevelop - does not work :)
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

  • Quote

Post by infirit » Sat Jun 25, 2005 9:04 pm

n0rbi666 wrote:net-p2p/amule-2.0.1 - works for me
Thanks, anyone have a version that does not work?
n0rbi666 wrote:net-fs/samba-3.0.14a-r1 - works for me
Thanks, I do not have samba installed so if anyone still has problems..... else I will remove it from the list.
n0rbi666 wrote:media-sound/beep-media-player-0.9.7-r6 - works for me
beep-media-player will compile but will not start for me. It will spawn the following error

Code: Select all

beep-media-player: symbol lookup error: /usr/lib/libbeep.so.2: undefined symbol: gconf_client_get_default
Does it run for you?
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

  • Quote

Post by infirit » Sat Jun 25, 2005 9:07 pm

infirit wrote:
123ichi wrote:x11-libs/wxGTK-2.6.0-r1, dev-python/wxpython-2.6.0.0-r1, sys-apps/parted-1.6.22 and dev-db/mysql-4.0.24-r1, also fails. I don't have the logs for these, sorry.
I'm trying to reproduce the problems you have with the wx widget packages.... I'll check the version I have installed against yours.
These also do not work for me, I thought i had them working but I was wrong. Thanks for the report :)

Also i will remove gtk-engines from the list. The real problem is with imlib, let me know it is still giving errors with imlib recompiled without --as-needed.
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Top
n0rbi666
l33t
l33t
User avatar
Posts: 707
Joined: Fri Mar 04, 2005 7:18 pm
Location: \Poland\Krakow

  • Quote

Post by n0rbi666 » Sat Jun 25, 2005 9:39 pm

infirit wrote:
n0rbi666 wrote:media-sound/beep-media-player-0.9.7-r6 - works for me
beep-media-player will compile but will not start for me. It will spawn the following error

Code: Select all

beep-media-player: symbol lookup error: /usr/lib/libbeep.so.2: undefined symbol: gconf_client_get_default
Does it run for you?
It works for me without any problem, now I'm using it and it plays very good ;)

but i have only :

Code: Select all

LDFLAGS="$LDFLAGS -Wl,--as-needed"
maybe some other flags brokes it ?

and - wxGTK seems not to work
wxpython - it works :)
Top
taipan67
l33t
l33t
User avatar
Posts: 866
Joined: Sat Dec 04, 2004 10:04 am
Location: England (i'm told...)

  • Quote

Post by taipan67 » Wed Jun 29, 2005 6:39 pm

First of all, i have to extend my heartfelt thanks to infirit & everyone else who has contributed to this priceless asset of a thread. :!:

I'm on a freshly built, full ~x86 testing-platform with LDFLAGS="${LDFLAGS} -Wl,--as-needed" amongst others in /etc/make.conf, & i've just completed

Code: Select all

emerge gnome-light gdm
...here's what i found...

dev-libs/libcroco-0.6.0 fails as per the front-page archive - removing the FLAG solved the problem.

app-text/openjade-1.3.2-r1 fails as per the front-page archive - removing the FLAG solved the problem. (Thanks for the heads-up on those two :wink: )

media-libs/imlib-1.9.14-r3 compiles successfully, but only by neglecting to build any of it's gdk-components after wrongly being unable to find a recent enough version of GTK - removing the FLAG solved the problem.

x11-themes/gtk-engines-2.6.3 fails to compile after wrongly being unable to find a recent enough version of GTK - removing the FLAG solved the problem.

gnome-base/gdm-2.6.0.9-r3 fails to compile with shitloads of 'undefined references' - removing the FLAG solved the problem.

I haven't got enough app's emerged yet to be able to give any meaningful observations, but i can say that 'nautilus' starts almost instantly, relative to my current installation, which i'm extremely pleased about. :D

I'll let you know what else i find, & of course keep an eye on the thread for packages i'm thinking of installing... 8)
"Anyone who goes to see a psychiatrist should have their head examined!"
Top
Rainmaker
Veteran
Veteran
User avatar
Posts: 1650
Joined: Thu Feb 12, 2004 2:04 am
Location: /home/NL/ehv/

  • Quote

Post by Rainmaker » Sun Jul 03, 2005 6:23 pm

1. I have problems shutting my PC down when udev is emerged with --as-needed. It goes down to the end, then hangs on some error: "udev inodes busy on changed medium!" or something like that.

2. I'm afraid something seriously broke now. gnome-panel fails with this error:

Code: Select all

i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math -Wl,-O9 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed -o .libs/clock-applet clock.o calendar-client.o calendar-sources.o -Wl,--export-dynamic -pthread  ../../libpanel-applet/.libs/libpanel-applet-2.so -L/usr/lib /usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libecal-1.2.so -L/usr/lib/mozilla /usr/lib/libedataserver-1.2.so -lplc4 -lplds4 -lnspr4 /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so -lz -lssl -lcrypto -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lplc4
collect2: ld returned 1 exit status
make[3]: *** [clock-applet] Fout 1
make[3]: Leaving directory `/var/tmp/portage/gnome-panel-2.10.2/work/gnome-panel-2.10.2/applets/clock'
make[2]: *** [all-recursive] Fout 1
make[2]: Leaving directory `/var/tmp/portage/gnome-panel-2.10.2/work/gnome-panel-2.10.2/applets'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/var/tmp/portage/gnome-panel-2.10.2/work/gnome-panel-2.10.2'
make: *** [all] Fout 2

Code: Select all

ld: cannot find -lplc4
Medusa# cd /var/tmp/portage/gnome-panel-2.10.2/work/gnome-panel-2.10.2/applets/clock
Medusa# grep -- -lplc4 *
Medusa#

the lplc4 flag is nowhere to be found in the MakeFile... Removing the flag does NOT solve it this time. I'm having the same problem with bind-tools.

which package is causing this? any hints?

my ldflags:
Medusa# emerge info | grep LDF
LDFLAGS="-Wl,-O9 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed"
Medusa#
If you can't dazzle them with brilliance, baffle them with bullshit.
Top
Post Reply

264 posts
  • Page 5 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 11
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic