Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407929 - app-emulation/wine-1.4 fails to build on ~amd64 with icecc: "Relocatable linking with relocations from format elf64-x86-64 (advapi.o) to format elf32-i386 (advapi32.UjKrX8.o) is not supported"
Summary: app-emulation/wine-1.4 fails to build on ~amd64 with icecc: "Relocatable link...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 14:02 UTC by Florian Manschwetus
Modified: 2012-11-17 19:11 UTC (History)
0 users

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


Attachments
build.log gzipped due to bgo size constraint, sorry (build.log.gz,141.12 KB, application/x-gzip)
2012-03-12 14:29 UTC, Florian Manschwetus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Manschwetus 2012-03-12 14:02:27 UTC
Wine fails during compile phase:
...
../../../wine64/tools/winegcc/winegcc -m32 -B../../../wine64/tools/winebuild --sysroot=../.. -fasync
hronous-unwind-tables -shared /var/tmp/portage/app-emulation/wine-1.4/work/wine-1.4/dlls/actxprxy/actxprxy.spec usrmarshal.o   actxprxy_activscp_p.o actxprxy_comcat_p.o actxprxy_docobj_p.o actxprxy_hlink_p.o actxprxy_htiface_p.o actxprxy_htiframe_p.o actxprxy_objsafe_p.o actxprxy_ocmm_p.o actxprxy_servprov_p.o actxprxy_shldisp_p.o actxprxy_shobjidl_p.o actxprxy_urlhist_p.o actxprxy_activscp_r.res actxprxy_comcat_r.res actxprxy_docobj_r.res actxprxy_hlink_r.res actxprxy_htiface_r.res actxprxy_htiframe_r.res actxprxy_objsafe_r.res actxprxy_ocmm_r.res actxprxy_servprov_r.res actxprxy_shldisp_r.res actxprxy_shobjidl_r.res actxprxy_urlhist_r.res    dlldata.o  -o actxprxy.dll.fake  -luuid -loleaut32 -lole32 -lrpcrt4  ../../libs/port/libwine_port.a  -Wl,-O1 -Wl,--as-needed -m32 
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (advapi.o) to format elf32-i386 (advapi32.UjKrX8.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: ../../../wine64/tools/winebuild/winebuild failed
...

Reproducible: Always




Portage 2.2.0_alpha90 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.1.4-thinkpad x86_64)
=================================================================
System uname: Linux-3.1.4-thinkpad-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Mon, 12 Mar 2012 06:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo My-own-local-Overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse4.1 -msse4.2 -mcx16 -mpopcnt -msahf -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -msse4.1 -msse4.2 -mcx16 -mpopcnt -msahf -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://linux.mathematik.tu-darmstadt.de/pub/linux/distributions/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j15"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="16bittmp X X509 a52 aac aalib accessibility acl acpi activefilter addbookmarks addns ads aio airplay alias alsa amd64 amr amrnb amrr amrwb ao apache2 apng autoreplace avahi bacula-clientonly bacula-console bacula-nodir bacula-nosd bacula-split-init bash-completion binfilter bittorrent bluetooth branding bzip2 cairo cardbus cdaudio cdda cddb cdparanoia cdr chipcard chipcard2 cisco cli connectionstatus consolekit contactnotes cracklib crypt css ctype cuda cups cupsddk curl custom-cflags custom-cpuopts custom-optimization cxx dba dbus dbx declarative device-mapper dga dhcp dialup dirac directfb dlna dns dri drm dts dv dvb dvd dvdr dvdread editor egl embedded emerald encode ethereal exchange exif extra extras fat fbcon festival ffmpeg firefox flac flite fontconfig foomaticdb fortran ftp fts3 fuse g3dvl gallium garmin gbm gd gdbm geldkarte gif gimp gimpprint git glade glib glitz glut glx gmp gnutls gphoto2 gpm gps gstreamer gtk gudev h323 hbci hdaps hddtemp hdri highlight history htmlhandbook httpd ibmacpi icc iconv icq icu id3 id3tag ifp ilbc imagemagick imlib immqt-bc innodb ipod ipv6 irc irda italk itrax iwl3945 jabber java java5 java6 javascript jingle john jpeg jpeg2k kde kdehiddenvisibility kerberos kontact kpathsea lame langpacks laptop latex ldap ldap-sasl libnotify libsamplerate live logitech-mouse lua lzma lzo lzw mad madwifi mdnsresponder-compat melt mikmod mime minizip mjpeg mmx mmxext mng modules mono motif mozdevelop mozsvg mp2 mp3 mp3rtp mp3tunes mp4 mp4live mpd mpeg mpeg2 mplayer msn mtp mudflap multilib musepack musicbrainz mysql mysqli ncurses nepomuk netmeeting nfs nfsidmap nfsv3 nfsv4 nfsv41 njb nls nowin nowlistening nptl nptlonly nsplugin ntfs ntfsprogs objc odbc ofx ogg openal opencl opengl openmp openssl opensslcrypt openstreetmap openvg openvpn oscar otr pam parport passwordsave pbxt pcmcia pcre pcsc-lite pda pdf pdfimport php pipechan plasma plotutils png policykit portaudio postgres ppds pppd pptp prediction python qt3support qt4 query-browser quicktime radius rar raw rdesktop-vrdp rdp rdpusb readline reiser4 reiserfs replytolist resolvconf rtmp samba sametime sasl scanner scenarios schroedinger sco_flowcontrol scripting sdl sdl-image sdl-sound sdlaudio semantic-desktop session shout sip slp smbsharemodes smp sms snmp spell sql sqlite sse sse2 sse3 sse4 sse4a ssl ssse3 startup-notification static-ppds statistics stream stun subversion svg swat sysfs syslog szip t60 tcpd templates texteffect theora threads threadsafe tidy tiff tk tntc translator truetype twolame type1 udev udev-acl udisks unicode unzip upnp urandom usb userlocales v4l v4l2 vaapi vboxwebsrv vcd vdpau video visualization vlc vnc vorbis vram wav webdav webkit webm webphoto webpresence wifi wimax winpopup wma wmf wps wxwindows x264 xcb xcomposite xforms xfs xine xinerama xml xmlreader xmlwriter xmp xorg xosd xrandr xrender xscreensaver xulrunner xv xvfb xvid xvmc yahoo zeroconf zip zlib zrtp zsh-completion" ALSA_CARDS="hda-intel usb-audio bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="adc65 agfa-cl20 aox barbie canon casio clicksmart310 digigr8 digita dimera directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak konica largan lg_gsm mars minolta mustek panasonic pccam300 pccam600 polaroid ptp2 ricoh samsung sierra sipix smal sonix sonydscf1 sonydscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt lvm" DVB_CARDS="dibusb-usb1 dibusb-usb2 nxt200x or51132 or51211 sp8870 sp887x tda1004x ttpci ttusb-dec usb-a800 usb-dtt200u usb-umt usb-vp702x usb-vp7045 usb-wt220u" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" NETBEANS_MODULES="cnd dlight enterprise php profiler ide harness java apisupport websvccommon nb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian Manschwetus 2012-03-12 14:29:27 UTC
Created attachment 305009 [details]
build.log gzipped due to bgo size constraint, sorry
Comment 2 SpanKY gentoo-dev 2012-03-13 05:05:46 UTC
clear your ccache and try again
Comment 3 Florian Manschwetus 2012-03-13 13:18:44 UTC
The build log is from MAKEOPTS="-j1" FEATURES="-ccache" emerge wine
Comment 4 Florian Manschwetus 2012-03-20 22:05:36 UTC
Still present with wine 1.5
Comment 5 Florian Manschwetus 2012-04-04 07:26:45 UTC
(In reply to comment #2)
> clear your ccache and try again

Any other information I could give you?
Comment 6 Florian Manschwetus 2012-04-04 08:21:18 UTC
Was a problem with icecc, now merged with
PREROOTPATH="" MAKEOPTS="-j1" FEATURES="-ccache" emerge wine
Comment 7 Florian Manschwetus 2012-04-14 15:28:15 UTC
Reopening as it seems to be an issue with ccache at all and not, as I thought, an effect of an somehow polluted ccache. The error is again tehre with wine-1.5.2 and a cleared ccache (ccache-C && ccache -z).
Comment 8 Florian Manschwetus 2012-04-14 18:32:45 UTC
(In reply to comment #7)
> Reopening as it seems to be an issue with ccache at all and not, as I
> thought, an effect of an somehow polluted ccache. The error is again tehre
> with wine-1.5.2 and a cleared ccache (ccache-C && ccache -z).

Ok, forget about ccache, it works when unsetting PREROOTPATH, so no idea what the problem is, but there is one.
Comment 9 Adrian Nievergelt 2012-11-13 18:28:06 UTC
I can confirm these problems. Having PREROOTPATH="/usr/lib/ccache/bin:/usr/lib/icecc/bin" set, compile fails. Probably related Bug 442326. Resetting PREROOTPATH solves the problem.
Comment 10 SpanKY gentoo-dev 2012-11-17 19:11:18 UTC
don't know what this icecc business is