Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18924 - [bug] wine 20030318 does not compile
Summary: [bug] wine 20030318 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: phoen][x
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-07 16:15 UTC by Alberto Ornaghi
Modified: 2003-04-11 16:07 UTC (History)
0 users

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 Alberto Ornaghi 2003-04-07 16:15:50 UTC
this is the error:

[snip of lot of this errros on undefined HeapFree function]

:/var/tmp/portage/wine-20030318/work/wine-20030318/dlls/d3d8/../../include/winbase.h:1932:
undefined reference to `HeapFree'
swapchain.o(.text+0x231): In function `IDirect3DSwapChain8Impl_Release':
/var/tmp/portage/wine-20030318/work/wine-20030318/dlls/d3d8/../../include/winbase.h:1932:
undefined reference to `HeapFree'
texture.o(.text+0x2c3): In function `IDirect3DTexture8Impl_Release':
/var/tmp/portage/wine-20030318/work/wine-20030318/dlls/d3d8/../../include/winbase.h:1932:
undefined reference to `HeapFree'
vertexbuffer.o(.text+0x237): In function `IDirect3DVertexBuffer8Impl_Release':
/var/tmp/portage/wine-20030318/work/wine-20030318/dlls/d3d8/../../include/winbase.h:1932:
undefined reference to `HeapFree'
vertexbuffer.o(.text+0x269):/var/tmp/portage/wine-20030318/work/wine-20030318/dlls/d3d8/../../include/winbase.h:1932:
more undefined references to `HeapFree' follow
vshaderdeclaration.o(.text+0x6d): In function
`IDirect3DDeviceImpl_CreateVertexShaderDeclaration8':
/var/tmp/portage/wine-20030318/work/wine-20030318/dlls/d3d8/../../include/winbase.h:1932:
undefined reference to `HeapAlloc'
vshaderdeclaration.o(.text+0x114):/var/tmp/portage/wine-20030318/work/wine-20030318/dlls/d3d8/../../include/winbase.h:1932:
undefined reference to `HeapAlloc'
collect2: ld returned 1 exit status
make[2]: *** [d3d8.dll.so] Error 1
make[2]: Leaving directory
`/var/tmp/portage/wine-20030318/work/wine-20030318/dlls/d3d8'
make[1]: *** [d3d8] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-20030318/work/wine-20030318/dlls'
make: *** [dlls] Error 2

!!! ERROR: app-emulation/wine-20030318 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
1. emerge wine
2.
3.

Actual Results:  
it does not compile

Expected Results:  
compilation succesfull

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 mobile AMD Athlon(tm) 4 Processor
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://mirrors.sunsite.dk/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/portage.local"
USE="x86 oss 3dnow avi crypt encode gif jpeg libg++ mmx mpeg ncurses nls pdflib
png quicktime spell truetype xmms xv zlib gdbm berkdb slang readline svga tcltk
X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk aalib acpi alsa
apache2 -apm -arts cdr -cups dvd esd fbcon -gnome gtk2 imap ipv6 -java jikes
-kde mbox -mikmod -motif -opengl pcmcia pic plotutils pnp -qt -qtmt samba socks5
sse tetex tiff wavelan -xml2"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-4 -mcpu=athlon-4 -O3 -pipe"
CXXFLAGS="-O2 -mcpu=athlon -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-07 16:45:47 UTC
# ATHLON-4 will generate invalid SSE instructions; use 'athlon' instead.
# PENTIUM4 will generate invalid instructions; use 'pentium3' instead.
Comment 2 Alberto Ornaghi 2003-04-07 17:01:24 UTC
the same is happening on athlon-xp and athlon as well...

and the problem is an undefined function (perhaps a missing dependency)... I don't think is related with SSE instructions...

please reopen the bug.

bye
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-07 17:10:51 UTC
actually, the problem is with wine and glibc-2.3 -- it's a known issue and the wine folks are working on it see bug #16420
Comment 4 Per Wigren 2003-04-09 15:55:07 UTC
But the same thing happens with wine-20030408 on Gentoo.. :(
From the 20030408 ChangeLog:
 - Support for all variants of glibc 2.3.
Comment 5 phoen][x 2003-04-10 05:33:14 UTC
Is it the binutils problem again?

Check http://bugs.gentoo.org/show_bug.cgi?id=17986 to see what i mean and try to fall back to that older version of binutils.

-phoen][x-
Comment 6 Per Wigren 2003-04-10 22:29:29 UTC
Yeah, it WORKS with binutils-2.13.90.0.18!!! ;););););)
So... IMHO binutils-2.13.90.0.20 should be masked...
Comment 7 phoen][x 2003-04-11 16:07:14 UTC
Check bug #17986 comment #36.

This should also be interesting for you.

Closing this bug.

-phoen][x-