These versions of wine (these are all that I have tested) do not emerge on amd64. The reported error is i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -march=athlon64 -mtune=athlon64 -pipe -O3 -fstack-protector -o main.o main.c ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./acledit.spec main.o -o acledit.dll.so -lkernel32 ../../libs/port/libwine_port.a ld: Relocatable linking with relocations from format elf64-x86-64 (acledit.EQBFgm.o) to format elf32-i386 (acledit.bsV8dq.o) is not supported The problem turns out to be due to using multilib in the ebuild. Remove all references to multilib, and it all emerges correctly. Reproducible: Always Steps to Reproduce: 1. emerge =app-emulation/wine-9999 2. 3. Actual Results: i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -march=athlon64 -mtune=athlon64 -pipe -O3 -fstack-protector -o main.o main.c ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./acledit.spec main.o -o acledit.dll.so -lkernel32 ../../libs/port/libwine_port.a ld: Relocatable linking with relocations from format elf64-x86-64 (acledit.EQBFgm.o) to format elf32-i386 (acledit.bsV8dq.o) is not supported
Created attachment 135070 [details] Modified ebuild fixes problem This ebuild apparently fixes the problem - Wine emerges correctly after this.
Reopen with emerge --info.
Since it makes such a difference, here is emerge --info: Portage 2.1.3.16 (hardened/amd64/multilib, gcc-4.1.1/amd64-hardened, glibc-2.6.1-r0, 2.6.22-hardened-r4-wanderer x86_64) ================================================================= System uname: 2.6.22-hardened-r4-wanderer x86_64 AMD Athlon(tm) 64 Processor 3700+ Timestamp of tree: Thu, 01 Nov 2007 18:50:01 +0000 ccache version 2.4 [disabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.4.4-r4, 2.5.1-r3 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1, 2.18-r1 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -mtune=athlon64 -pipe -O3 -fweb -frename-registers -fforce-addr -ftracer -fstack-protector" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -mtune=athlon64 -pipe -O3 -fweb -frename-registers -fforce-addr -ftracer -fstack-protector" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://mirror.isp.net.au/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="en_AU en_GB en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/r300-driver /usr/local/portage/layman/xeffects /usr/local/portage/layman/emacs /usr/local/portage/layman/x11 /usr/local/portage /usr/local/portage/overlay" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="3dnow X X509 a52 aac acl acpi alsa amd64 amr apache2 arts artswrappersuid avahi avi bash-completion berkdb bidi bluetooth branding bzip2 capi cardbus cdda cddb cdio cdr clamav cracklib crypt css ctype cups curl curlwrappers cvsgraph dbus devfs26 dga dhcp dio directfb divx4linux dlloader dnd doc dri dts dv dvb dvd dvdr dvdread dvr3 emacs emacs-w3 emul-linux-x86 encode enscript erandom ethereal exif expat fam fbcon fbdev fbsplash ffmpeg firefox fix-connected-rt flac flash fontconfig foomaticdb ftp gatos gcj gd gdbm geoip gif glibc-omitfp glx gnutls gphoto2 gpm gsm gstreamer gtk gtk2 hal hardened hardenedphp i8x0 icq ieee1394 imap imlib immqt-bc innodb ipod jabber jack java javascript jpeg jpeg2k kcal kde kdeenablefinal kdehiddenvisibility kdepim kerberos lame lcms libclamav libsamplerate libwww lirc lm_sensors logitech-mouse logrotate lua mad maildir mailwrapper mbox mgetty midi mikmod mime ming mjpeg mmap mng mp3 mp4live mpeg mppe-mppc multilib multislot musepack musicbrainz mysql ncurses network nforce2 nls noamazon nognome nptl nptlonly nsplugin odbc odk offensive ogg oggvorbis on-the-fly-crypt openexr opengl pam pam_console pam_timestamp pcmcia pcre pda pdf pdflib perl php pic pmu png posix povray ppds pppd profile pwdb python qt qt3 quicktime radiotap rdesktop readline rrdtool rtc samba sasl scanner sdk sdl sensord sharedmem skey slp sndfile snmp sockets sound speedo spell spl sql sse sse2 ssh ssl subversion svg symlink sysfs sysvipc szip tcl tcltk tcpd theora threads tidy tiff tk truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales v4l v4l2 vcd visualization vorbis webdav wifi winbind wmf x264 xattr xbase xcb xcomposite xemacs xface xine xinerama xml xorg xpm xsl xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_GB en_US" LIRC_DEVICES="avermedia" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev v4l ati" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Desultory asked me to add a link to my forum posting on this issue: http://forums.gentoo.org/viewtopic-p-4454294.html#4454294
(In reply to comment #3) > Portage 2.1.3.16 (hardened/amd64/multilib, gcc-4.1.1/amd64-hardened, > glibc-2.6.1-r0, 2.6.22-hardened-r4-wanderer x86_64) You apparently are using some toolchain from overlay or unsupported in another way, gcc-4+ is masked on hardened. So yeah, it makes a big difference. The inherit has been there for ages in other versions as well, and the ebuilds work just fine for lots of people on amd64 with a supported toolchain.