Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64758 - gcc 3.4.1 can't compile emu10k1
Summary: gcc 3.4.1 can't compile emu10k1
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michele Noberasco (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 07:45 UTC by Markus Meier
Modified: 2004-10-28 12:40 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 Markus Meier gentoo-dev 2004-09-20 07:45:21 UTC
gcc-3.4.1 can't compile emu10k1-0.20a-r6
with gcc-3.3.4 - no problem

Reproducible: Always
Steps to Reproduce:
1. emerge emu10k1
Actual Results:  
>>> emerge (1 of 1) media-sound/emu10k1-0.20a-r6 to /
>>> md5 src_uri ;-) emu10k1-v0.20a.tar.bz2
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.4.27-gentoo-r1 found in /usr/src/linux
>>> Unpacking source...
>>> Unpacking emu10k1-v0.20a.tar.bz2 to /var/tmp/portage/emu10k1-0.20a-r6/work
 * Applying emu10k1-0.20a-gcc3.3.patch.gz...                                   
              [ ok ]
>>> Source unpacked.
cd utils && make
make[1]: Entering directory
`/var/tmp/portage/emu10k1-0.20a-r6/work/emu10k1-v0.20a/utils'
cd as10k1 && make
make[2]: Entering directory
`/var/tmp/portage/emu10k1-0.20a-r6/work/emu10k1-v0.20a/utils/as10k1'
gcc -M *.c -W -Wall > .depend
gcc -W -Wall   -c -o as10k1.o as10k1.c
as10k1.c: In function `parse_cli_args':
as10k1.c:166: error: label at end of compound statement
make[2]: *** [as10k1.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/emu10k1-0.20a-r6/work/emu10k1-v0.20a/utils/as10k1'
make[1]: *** [As10k1] Error 2
make[1]: Leaving directory
`/var/tmp/portage/emu10k1-0.20a-r6/work/emu10k1-v0.20a/utils'
make: *** [tools] Error 2

!!! ERROR: media-sound/emu10k1-0.20a-r6 failed.
!!! Function src_compile, Line 54, Exitcode 2



#emerge info
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://amd-mobil/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd
foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib jpeg libg++ libwww mad
mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png
python quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2
xmms xorg-x11 xprint xv xvid zlib"
Comment 1 Michele Noberasco (RETIRED) gentoo-dev 2004-10-28 11:48:33 UTC
OK, I'm trying to write a patch for it right now...
Comment 2 Michele Noberasco (RETIRED) gentoo-dev 2004-10-28 12:40:58 UTC
OK, a patched revision is in Portage.
A pity I only have 2.6 systems, so I could only patch the utilities, not the driver itself. Anyway, the error message you reported here is gone...