log attached. Reproducible: Always # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" USE="-oss -branding voice weather -esd xine mp3 gnutls cups ppds foomatic-db alsa \ hal gimpprint freetype X unicode kde rdesktop pda zeroconf wifi lm_sensors ieee1394 logitech-mouse xinerama \ bluetooth irda sms quotas dvb xprint dvd theora ogg a52 kdeenablefinal win32codecs v4l matroska xvid network dvdread fame \ svg ffmpeg nsplugin wmf 7Zip visualization accessibility css audiofile artswrappersuid musicbrainz \ gphoto2 povray scanner musepack dvdr jack new-login kerberos dbus firefox acpi pcmcia openexr rar dri aac \ fat hfs jfs xfs ntfs reiserfs cjk cdda dts imap flash jabber msn yahoo icq irc lj aim bidi rss dxr3 \ cairo sysfs xpm nptl nptlonly gs dv lzo mjpeg mmx speex slp fftw real joystick xvmc v4l2 cpudetection \ extramodules mail -apm config_wizard dga lcd chm gcj ipod flac avahi \ stream live kdehiddenvisibility tiff usb kipi aiglx musicbrainz pulseaudio \ x264 lame mp3rtp udev cdr libnotify bzip2 aalib mng startup-notification openal jingle gsm dbox2 cddb -beagle -gnome -evo -mono -eds opengl sdl gif gtk qt4 qt3support xcb tracker mozdevelop inotify xulrunner -kdeprefix -arts -qt3 policykit bash-completion gmp acl" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~x86" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh" MAKEOPTS="-j2 -s " PORTAGE_NICENESS="8" FEATURES="parallel-fetch collision-protect" CONFIG_PROTECT="/usr/kde/3.5/share/config/kdm/ /etc" CONFIG_PROTECT_MASK="/etc/skel" #VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo epson vermilion xgi nvidia" PORT_LOGDIR=/var/lib/entropy/logs PORTAGE_ELOG_CLASSES="warn info log" PORTAGE_ELOG_SYSTEM="save" LIRC_DEVICES="audio audio_alsa serial" source /usr/local/portage/layman/make.conf APACHE2_MPMS="prefork" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" INPUT_DEVICES="evdev keyboard mouse void" VIDEO_CARDS="fbdev vesa radeonhd" GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" LDFLAGS="-Wl,-O1,--as-needed"
Created attachment 204725 [details] log
Does it fail without --as-needed? Is there a build log containing the commands?
Please reopen when the requested information is present.
RE: "Does it fail without --as-needed? Is there a build log containing the commands?" Nope. Changing title, reopening
Created attachment 206364 [details, diff] adding patch to ebuild It fails with USE="gmp" and --as-needed
Created attachment 206366 [details, diff] fixing as-needed issues
I can't reproduce this bug (with --as-needed and with/without dev-libs/nettle already installed)...
+ 29 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> nettle-2.0.ebuild, + +files/nettle-2.0-asneeded.patch: + Fix building with -Wl,--as-needed wrt #285747 by Kacper Kowalik.