Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100335 - Failing to emerge wine-20050725 on amd64 due to wrong cflags parameters
Summary: Failing to emerge wine-20050725 on amd64 due to wrong cflags parameters
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 02:08 UTC by Samuele Kaplun
Modified: 2005-07-28 08: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 Samuele Kaplun 2005-07-26 02:08:37 UTC
Since version 20050524 I'm not able anymore to emerge wine, because of an 
incorrect setting in the gcc flags: 

Reproducible: Always
Steps to Reproduce:
1.emerge wine 
 
Actual Results:  
[...]  
make[2]: Entering directory  
`/var/tmp/portage/wine-20050725/work/wine-20050725/dlls/ntdll'  
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include   
-D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_NTSYSTEM_  
-D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2  
-fno-strict-aliasing -gstabs+ -Wpointer-arith  -O2 -march=athlon64 -pipe  
-I//usr/include/lcms -o signal_i386.o signal_i386.c  
signal_i386.c:1: error: -mpreferred-stack-boundary=2 is not between 4 and 12  
make[2]: *** [signal_i386.o] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/wine-20050725/work/wine-20050725/dlls/ntdll'  
make[1]: *** [ntdll] Error 2  
make[1]: Leaving directory  
`/var/tmp/portage/wine-20050725/work/wine-20050725/dlls'  
make: *** [dlls] Error 2  
 
These results actually come from manually run make in /var/tmp/portage... 


The platform is an AMD64, with gcc-3.4.4, glibc-2.3.5, linux-2.6.12-cko3
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 02:25:39 UTC
emerge --info, please.
Comment 2 Samuele Kaplun 2005-07-26 02:50:18 UTC
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 
2.6.12-cko3 x86_64) 
================================================================= 
System uname: 2.6.12-cko3 x86_64 AMD Athlon(tm) 64 Processor 3500+ 
Gentoo Base System version 1.6.13 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
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.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -march=athlon64 -pipe -mmmx -m3dnow -msse -msse2" 
CHOST="x86_64-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/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O2 -march=athlon64 -pipe -mmmx -m3dnow -msse -msse2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ 
ftp://ftp.unina.it/pub/linux/distributions/gentoo 
http://mirror.switch.ch/ftp/mirror/gentoo/ 
ftp://mirror.switch.ch/mirror/gentoo/ 
http://ibiblio.org/pub/Linux/MIRRORS.html " 
LANG="it_IT" 
LC_ALL="it_IT" 
LINGUAS="it" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="amd64 X aalib acpi alsa arts audiofile avi bash-completion 
bash-completition bcmath berkdb bindist bitmap-fonts bluetooth bonobo bzlib 
caps cdparanoia cdr crypt css ctype cups curl dbm dbus dbx dga doc dv dvb dvd 
dvdr dvdread eds encode esd exif expat fbcon ffmpeg fftw flac flash foomaticdb 
fortran freetype ftp gb gd gdbm gif gimpprint glut gmp gnome gphoto2 gpm 
gstreamer gtk gtk2 gtkhtml guile hal howl iconv ieee1394 imagemagick imap 
imlib innodb ipv6 java javascript jpeg junit kde kdeenablefinal kernel_linux 
lcms ldap lesstif libcaca libedit libgda libwww lirc lm_sensors logitech lzw 
lzw-tiff mad mhash mikmod mime ming mmap mng motif mozilla mp3 mpeg msn 
musepack mysql mysqli ncurses nls nptl ogg oggvorbis openal opengl pam pcmcia 
pcre pdflib perl plotutils plugin png posix postgres ppds python qt quicktime 
readline samba scanner sdl session sharedext sharedmem simplexml slang sndfile 
snmp soap sockets sox speex spell spl sqlite ssl sumlink svg sysvipc szip 
tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts 
type1-fonts unicode usb userlocales v4l vcd videos vorbis wifi wmf wxwindows 
xface xine xinerama xml xml2 xmlrpc xmms xosd xpm xsl xv xvid zeroconf zlib 
linguas_it userland_GNU elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY 
 
 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 02:58:03 UTC
You forgot to reopen...
Comment 4 Samuele Kaplun 2005-07-26 03:02:05 UTC
Sorry! :-) It's my first bug-report for Gentoo... 
Comment 5 whereami 2005-07-27 17:08:30 UTC
20050725 compiled just fine for me, and runs fine (as soon as I re-prelinked,
that is). I emerged it just a little while ago; maybe this has been fixed since
yesterday? try again?


here's my emerge info for comparison:

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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.5
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="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-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=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/"
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 aac aalib alsa avi bash-completion berkdb bitmap-fonts cd
cdparanoia cdr crypt cups curl directfb dts dvd dvdr dvdread encode esd fam
fbcon flac foomaticdb fortran gdbm gif glut gpm gtk gtk2 imagemagick imlib ipv6
java jpeg kdeenablefinal libcaca lzw lzw-tiff mad matroska mikmod motif mozilla
mp3 mpeg ncurses network nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam
pdflib perl pic png ppds python qt quicktime readline real rtc samba sdl spell
sqlite ssl tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb
userlocales vorbis xine xinerama xml2 xmms xpm xprint xv xvid xvmc zlib
video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Comment 6 Samuele Kaplun 2005-07-28 08:07:22 UTC
Umh... I think it's a linux-headers related bug, because I was able to emerge  
when I returned to the standard linux-headers-2.6.11-r2. Previously, I was  
using direct headers from my own versions of kernel (I tried  
vanilla-2.6.13-rc3, gentoo-2.6.12-r6, ck-overloaded-2.6.12-cko3 without  
success... so I assume there's a problem in the headers of linux-2.6.12...)