Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107214 - wine fails to compile on amd64
Summary: wine fails to compile on amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 137558 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-25 15:01 UTC by Dmitrij D. Czarkoff
Modified: 2006-06-22 04:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitrij D. Czarkoff 2005-09-25 15:01:06 UTC
Wine fails to merge. 

Reproducible: Always
Steps to Reproduce:
1. emerge wine 
2. 
3. 
 
Actual Results:  
ddc@Czarkerlaptop ~ $ sudo emerge wine 
 
<...> 
 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `casemap.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `collation.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `compose.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `cptable.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `fold.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `mbtowc.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `sortkey.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `string.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `utf8.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `wctomb.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `wctype.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_037.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_424.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_437.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_500.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_737.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_775.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_850.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_852.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_855.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_856.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_857.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_860.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_861.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_862.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_863.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_864.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_865.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_866.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_869.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_874.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_875.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_878.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_932.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_936.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_949.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_950.o' is incompatible with   
i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1006.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1026.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1250.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1251.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1252.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1253.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1254.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1255.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1256.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1257.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_1258.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_10000.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_10006.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_10007.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_10029.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_10079.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_10081.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_20866.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_20932.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_21866.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28591.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28592.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28593.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28594.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28595.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28596.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28597.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28598.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28599.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28600.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28603.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28604.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28605.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: i386:x86-64 architecture of input file `c_28606.o' is incompatible   
with i386 output   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:   
final link failed: Nonrepresentable section on output   
collect2: ld returned 1 exit status   
make[2]: *** [libwine_unicode.so.1] Error 1   
make[2]: Leaving directory   
`/var/tmp/portage/wine-20050725-r1/work/wine-20050725/libs/unicode'   
make[1]: *** [unicode] Error 2   
make[1]: Leaving directory   
`/var/tmp/portage/wine-20050725-r1/work/wine-20050725/libs'   
make: *** [libs] Error 2   
   
!!! ERROR: app-emulation/wine-20050725-r1 failed.   
!!! Function src_compile, Line 113, Exitcode 2   
!!! depend   
!!! If you need support, post the topmost build error, NOT this status   
message.   
   
ddc@Czarkerlaptop ~ $   

Expected Results:  
Wine clearly merges 

ddc@Czarkerlaptop ~ $ sudo emerge info 
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.13-gentoo-r2 x86_64) 
================================================================= 
System uname: 2.6.13-gentoo-r2 x86_64 AMD Turion(tm) 64 Mobile Technology 
MT-28 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5-r2 
sys-apps/sandbox:    1.2.12 
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.6 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O3 -march=k8 -m64 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -march=k8 -m64 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
LINGUAS="ru" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X a52 aac aalib acl acpi alsa apache2 arts avi bash-completion 
bitmap-fonts bluetooth bzip2 cdr clamav crypt cups curl dga dri dvd dvdr 
dvdread emboss encode exif fam fbcon ffmpeg flac flash ftp gcj gif gmp gpm 
gstreamer gtk2 hal iconv ieee1394 imagemagick imlib ipv6 ithreads jpeg kde 
kerberos lcms libwww lzw lzw-tiff mad mime ming mng mp3 mpeg mplayer ncurses 
nls nojoystick nptl nptlonly ocaml offensive ogg oggvorbis opengl pam pcmcia 
pda pdflib perl pic png python qt readline samba sdl slang spell ssl 
subversion svg tcpd tetex theora threads tidy tiff truetype truetype-fonts 
type1-fonts unicode usb userlocales vorbis wifi wmf xine xml xml2 xpm xv xvid 
zlib linguas_ru userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS 
 
ddc@Czarkerlaptop ~ $ cat /etc/make.conf 
CFLAGS="-O3 -march=k8 -m64 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
CXXFLAGS="${CFLAGS}" 
USE="a52 aac aalib acl acpi apache2 arts bash-completion -berkdb bluetooth 
bzip2 clamav cdr curl dga dri dvd dvdr dvdread -eds exif fbcon ffmpeg flac 
flash -foomaticdb -fortran ftp gcj gmp -gnome -gtk hal iconv ieee1394 
imagemagick imlib ithreads -java kerberos lcms mime ming mng mplayer 
nojoystick nptl nptlonly ocaml offensive ogg oggvorbis pcmcia pda pic 
-quicktime samba slang sse subversion svg tetex theora threads tidy truetype 
unicode vorbis wifi wmf xine xml xml2 xvid" 
MAKEOPTS="-j2" 
PORTDIR_OVERLAY=/usr/local/portage 
AUTOCLEAN="yes" 
LINGUAS="ru" 
ALSA_CARDS="atiixp"
Comment 1 SpanKY gentoo-dev 2005-09-25 17:51:57 UTC
remove -m64 from your CFLAGS
Comment 2 Dmitrij D. Czarkoff 2005-09-25 21:02:38 UTC
removing "-m64" helped. So, does it mean, that wine compiles as 32-bit program? 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 04:03:00 UTC
*** Bug 137558 has been marked as a duplicate of this bug. ***