Bug 125871 - gnucap-20050808 fails to compile under gcc 4.1
Bug#: 125871 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: plasmaroo@gentoo.org Reported By: magnade@gmail.com
Component: GCC Porting
URL: 
Summary: gnucap-20050808 fails to compile under gcc 4.1
Keywords:  
Status Whiteboard: 
Opened: 2006-03-11 13:34 0000
Description:   Opened: 2006-03-11 13:34 0000
fails with multiple compile errors and doesnt abort as soon
as the first one appears so it takes a few before it finally dies

the newer snapshot 20060117 thats available didnt seem to be
any better

Portage 2.1_pre5-r4 (default-linux/amd64/2005.0, gcc-4.1.0, glibc-2.3.6-r3,
2.6.16-rc5-git12 x86_64)
=================================================================
System uname: 2.6.16-rc5-git12 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages parallel-fetch sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mdhd/portage.local"
SYNC="rsync://vox.net/gentoo-portage"
USE="amd64 X a52 aac alsa avi berkdb bitmap-fonts bzip2 canna cdr cjk cli crypt
dbus dri dv dvb dvd dvdread eds emboss encode esd fbcon fbdev firefox flac
foomaticdb gnome gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 jpeg kde
live lzw lzw-tiff mad matroska mng mp3 mpeg musepack ncurses nls nptl nptlonly
ogg oggvorbis opengl pam pda pdflib perl png python qt quicktime readline real
sdl speex spell ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts
unicode usb v4l v4l2 vcd vorbis wmf x264 xine xml xml2 xmms xpm xv zlib
elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux
userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS

------- Comment #1 From Tim Yamin (RETIRED) 2006-03-14 14:42:04 0000 -------
Post errors please.

------- Comment #2 From Bret Towe 2006-03-14 15:44:37 0000 -------
Created an attachment (id=82161) [details]
6099-gnucap-20050808.log

compile log

------- Comment #3 From Bret Towe 2006-03-16 14:46:16 0000 -------
i just noticed its also ignoring cflags and just using -O2

------- Comment #4 From Tim Yamin (RETIRED) 2006-04-07 15:41:40 0000 -------
Fixed in CVS in 20060117; thanks!