Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203030 - app-emulation/wine-0.9.51: fails compile with "undefined reference to `VALGRIND_MAKE_WRITABLE'"
Summary: app-emulation/wine-0.9.51: fails compile with "undefined reference to `VALGRI...
Status: RESOLVED DUPLICATE of bug 202542
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-22 16:23 UTC by Gasper Azman
Modified: 2007-12-22 16:25 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 Gasper Azman 2007-12-22 16:23:04 UTC
When running my daily emerge -uaDN world, app-emulation/wine-0.9.51 fails with the following (notice the link error in one of the 1st lines)
###

i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=pentium4 -pipe  -o wcstring.o wcstring.c
../../tools/winebuild/winebuild -D_REENTRANT -fPIC --as-cmd "i686-pc-linux-gnu-as" -o relay32.o --relay32
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_  -foversion.res version.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ntdll.spec    actctx.o atom.o cdrom.o critsection.o debugbuffer.o debugtools.o directory.o env.o error.o exception.o file.o handletable.o heap.o large_int.o loader.o loadorder.o misc.o nt.o om.o path.o process.o reg.o relay.o resource.o rtl.o rtlbitmap.o rtlstr.o sec.o serial.o server.o signal_i386.o signal_powerpc.o signal_sparc.o signal_x86_64.o string.o sync.o tape.o thread.o threadpool.o time.o version.o virtual.o wcstring.o    relay32.o version.res -Wl,--image-base,0x7bc00000 -o ntdll.dll.so     ../../libs/port/libwine_port.a
signal_i386.o: In function `setup_exception':
signal_i386.c:(.text+0x10e8): undefined reference to `VALGRIND_MAKE_WRITABLE'
collect2: ld returned 1 exit status
winegcc: i686-pc-linux-gnu-gcc failed
make[2]: *** [ntdll.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.51/work/wine-0.9.51/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=pentium4 -pipe  -o stg_stream.o stg_stream.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=pentium4 -pipe  -o storage32.o storage32.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=pentium4 -pipe  -o stubmanager.o stubmanager.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=pentium4 -pipe  -o usrmarshal.o usrmarshal.c
../../tools/widl/widl -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H  -c -C irot_c.c irot.idl
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H  -foole32res.res ole32res.rc
../../tools/winebuild/winebuild -D_REENTRANT -fPIC --as-cmd "i686-pc-linux-gnu-as" --dll -o ole2nls.spec.o --dll-name ole2nls --main-module ole32.dll --res version16.res --export ./ole2nls.spec
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=pentium4 -pipe  -o ole16.o ole16.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=pentium4 -pipe  -o moniker.o moniker.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLE32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -O2 -march=pentium4 -pipe  -o irot_c.o irot_c.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ole32.spec compobj.spec.o ole2.spec.o ole2conv.spec.o ole2nls.spec.o ole2prox.spec.o ole2thk.spec.o storage.spec.o memlockbytes16.o ole16.o ole2_16.o ole2nls.o storage.o  antimoniker.o bindctx.o classmoniker.o clipboard.o compobj.o compositemoniker.o datacache.o defaulthandler.o dictionary.o enumx.o errorinfo.o filemoniker.o ftmarshal.o git.o hglobalstream.o ifs.o itemmoniker.o marshal.o memlockbytes.o moniker.o ole2.o ole2stubs.o ole2impl.o ole32_main.o oleobj.o oleproxy.o regsvr.o rpc.o stg_bigblockfile.o stg_prop.o stg_stream.o storage32.o stubmanager.o usrmarshal.o   irot_c.o  ole32res.res  -o ole32.dll.so  -ladvapi32 -luser32 -lgdi32 -lrpcrt4 -lkernel32 -lntdll  -luuid ../../libs/port/libwine_port.a
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.51/work/wine-0.9.51/dlls/ole32'
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.51/work/wine-0.9.51/dlls'
make: *** [dlls] Error 2
 *
 * ERROR: app-emulation/wine-0.9.51 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2375:  Called die
 * The specific snippet of code:
 *       emake all || diefunc "$FUNCNAME" "$LINENO" "$?" "all"
 *  The die message:
 *   all

####

emerge --info:
emerge --info
Portage 2.1.4_rc10 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Timestamp of tree: Fri, 21 Dec 2007 02:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -finline-functions"
CHOST="i686-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/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -finline-functions"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.icd.hu/ http://www.gigaload.org/gentoo.org/ http://ftp.easynet.nl/mirror/gentoo/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US.utf8"
LINGUAS="en sl"
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/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa asf bash-completion berkdb bidi bitmap-fonts browserplugin bzip2 cairo ccache cddb cdr cdrom cjk cli cracklib crypt css cups curl dba dbus directfb divx4linux dlloader dri dts dvd dvdr dvdread eds encode evo fam fame fbcon ffmpeg firefox flac fortran freetype ftp gd gdbm gif gimpprint gkrellm glx gpm gstreamer gtk gtk2 hal iconv imap isdnlog jack java javascript jikes jpeg kde kdeenablefinal kdexdeltas kerberos ldap libcaca live logitech-mouse mad maildir matroska midi mikmod mime mmap mmx mmxext mozilla mp3 mp4 mpeg mplayer mtrr mudflap musepack musicbrainz nas ncurses nls no-old-linux nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp opera pam pcre pdf perl pic png pppd python qt qt3 qt3support qt4 quicktime readline reflection sblive screen sdl session skins sndfile spell spl sse sse2 ssl stream subtitles subversion svg tcpd tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb utf8 vcd vim-syntax vorbis win32codecs wmf x x86 xcomposite xml xml2 xorg xpm xv xvid zlib" ALSA_CARDS="emu10k1" 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" 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
Emerge app-emulation/wine-0.9.51
Actual Results:  
The package does not compile.

Expected Results:  
The package compiles ok.

Hm...

I recently changed my cflags: I removed -O3 and -fomit-frame-pointer and added -O2 instead.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-22 16:25:07 UTC

*** This bug has been marked as a duplicate of bug 202542 ***