When I try to emerge wine, I`ve got this error message: ter-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o glu.o glu.c i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o signal.o signal.c ../../tools/winebuild/winebuild -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -o glu32.dll.dbg.c --debug -C. glu.c i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o glu32.dll.dbg.o glu32.dll.dbg.c ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./glu32.spec glu.o glu32.dll.dbg.o -o glu32.dll.so -L../../dlls -lkernel32 -lntdll -L../../libs/wine -lwine -lSM -lICE -lXxf86dga -lXxf86vm -lXext -lX11 -lGL -lGLU -L../../libs/port -lwine_port -s -z comreloc winegcc: File does not exist: comreloc make[2]: *** [glu32.dll.so] Error 2 make[2]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/glu32' make[1]: *** [glu32] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls' make: *** [dlls] Error 2 i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o snapshot.o snapshot.c make: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o sock.o sock.c i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o thread.o thread.c i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o timer.o timer.c i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o token.o token.c i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o trace.o trace.c i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o unicode.o unicode.c i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o user.o user.c i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -O2 -march=athlon-xp -mtune=athlon-xp -pipe -o window.o window.c i686-pc-linux-gnu-gcc -o wineserver async.o atom.o change.o class.o clipboard.o console.o context_alpha.o context_i386.o context_powerpc.o context_sparc.o debugger.o event.o fd.o file.o handle.o hook.o main.o mapping.o mutex.o named_pipe.o object.o process.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o thread.o timer.o token.o trace.o unicode.o user.o window.o -L../libs/wine -lwine -L../libs/unicode -lwine_unicode -L../libs/port -lwine_port -s -z comreloc make[1]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/server' !!! ERROR: app-emulation/wine-20050111 failed. !!! Function src_compile, Line 84, Exitcode 2 !!! all !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. Actual Results: emerge wine fails Expected Results: Wine should compile without errors :) My emerge info: Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-rc2-vivid1 i686) ================================================================= System uname: 2.6.11-rc2-vivid1 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 1 2004, 10:24:00)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -ftracer -falign-loops -ffast-math -frename-registers -funroll-all-loops -funroll-loops -pipe -fomit-frame-pointer -DNDEBUG" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -ftracer -falign-loops -ffast-math -frename-registers -funroll-all-loops -funroll-loops -pipe -fomit-frame-pointer -DNDEBUG" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pl_PL" LC_ALL="pl_PL" LDFLAGS="-s -z comreloc" MAKEOPTS="-j2" PKGDIR="/usr/local/pkg/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam flac font-server foomatic foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib java jpeg junit kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xv zlib video_cards_nvidia linguas_pl" Unset: ASFLAGS, CBUILD, CTARGET
LDFLAGS="-s -z comreloc" It should be "-Wl,-z,combreloc". Fix that and try again.
Thanks now wine was compiled successfuly :)