wine-0.9.8-r1 and wine-0.9.19 don't compile, error msgs look similar x86_64-pc-linux-gnu-gcc -o wine-glibc glibc.o -Wl,--rpath,\$ORIGIN/`../tools/relpath /usr/bin /usr/lib32` -L../libs/wine -lwine ../libs/port/libwine_port.a LD_LIBRARY_PATH="../libs/wine:$LD_LIBRARY_PATH" ../tools/sfnt2fnt courier.ttf 13 1251 96 128 8 Missing glyph for char 0402 Missing glyph for char 0403 glibc.o: In function `main': /var/tmp/portage/wine-0.9.19/work/wine-0.9.19/loader/glibc.c:69: undefined reference to `pthread_create' /var/tmp/portage/wine-0.9.19/work/wine-0.9.19/loader/glibc.c:70: undefined reference to `pthread_join' collect2: ld returned 1 exit status make[1]: *** [wine-glibc]
wine-0.9.8-r1 and wine-0.9.19 don't compile, error msgs look similar x86_64-pc-linux-gnu-gcc -o wine-glibc glibc.o -Wl,--rpath,\$ORIGIN/`../tools/relpath /usr/bin /usr/lib32` -L../libs/wine -lwine ../libs/port/libwine_port.a LD_LIBRARY_PATH="../libs/wine:$LD_LIBRARY_PATH" ../tools/sfnt2fnt courier.ttf 13 1251 96 128 8 Missing glyph for char 0402 Missing glyph for char 0403 glibc.o: In function `main': /var/tmp/portage/wine-0.9.19/work/wine-0.9.19/loader/glibc.c:69: undefined reference to `pthread_create' /var/tmp/portage/wine-0.9.19/work/wine-0.9.19/loader/glibc.c:70: undefined reference to `pthread_join' collect2: ld returned 1 exit status make[1]: *** [wine-glibc] §ñ¨¨X©Ð¨j©Ø 1 `/var/tmp/portage/wine-0.9.19/work/wine-0.9.19/loader'
Portage 2.1-r1 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.3.5-r2, 2.6.15.3 x86_64) ================================================================= System uname: 2.6.15.3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Unknown Host Operating System app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 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-r1 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O9 -march=athlon64 -fexpensive-optimizations" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CXXFLAGS="-O9 -march=athlon64 -fexpensive-optimizations" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.aiya.ru/pub/gentoo/" LANG="ru_RU.KOI8-R" MAKEOPTS="-j3" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff moznocompose moznoirc moznomail moznoroaming mp3 mpeg ncurses nls nptl opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
run `emerge wine >& log` and post the log as an attachment side note, your CFLAGS are complete garbage ... there is no such thing as -O9
About -O9 flag: in my humble opinion, this flag is treated like -O3. Please correct me if i am wrong. And what are the suggested flags for x86 and amd64? I run linux on 4 computers (2 at home at 2 at the office), i sometimes write c++ programs, so this is important for me
Created attachment 95339 [details] `emerge wine >&' result7z'ed
reopenin bug after deliverin log
the configure script didnt detect pthread_create() in libpthread.so ... post your config.log as an attachment
yes, /lib32/pthread* was missing. After re-emergin glibc wine compiled successfully. Thanks for help, sorry for botherin