Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65315 - x11-misc/xaos-3.1 doesn't compile with gcc 3.4
Summary: x11-misc/xaos-3.1 doesn't compile with gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-25 07:28 UTC by Ernst Sjöstrand
Modified: 2004-10-05 03:40 UTC (History)
2 users (show)

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 Ernst Sjöstrand 2004-09-25 07:28:51 UTC
Works fine with gcc 3.3.

 grlib.o grlib.c
gcc -O3 -pipe -march=k8 -fomit-frame-pointer -ftracer  -I/usr/X11R6/include -I/var/tmp/portage/xaos-3.1/work/XaoS-3.1/src/include   -c -o font.o font.c
gcc -O3 -pipe -march=k8 -fomit-frame-pointer -ftracer  -I/usr/X11R6/include -I/var/tmp/portage/xaos-3.1/work/XaoS-3.1/src/include   -c -o filter.o filter.c
rm -f ../lib/libfilter.a
ar rc ../lib/libfilter.a image.o palette.o random.o grlib.o font.o filter.o
ranlib ../lib/libfilter.a
make[2]: Leaving directory `/var/tmp/portage/xaos-3.1/work/XaoS-3.1/src/filter'
make[2]: Entering directory `/var/tmp/portage/xaos-3.1/work/XaoS-3.1/src/engine'
gcc -O3 -pipe -march=k8 -fomit-frame-pointer -ftracer  -I/usr/X11R6/include -I/var/tmp/portage/xaos-3.1/work/XaoS-3.1/src/include   -c -o formulas.o formulas.c
formulas.c:257: error: conflicting types for 'truecolor_output'
formulas.c:253: error: previous declaration of 'truecolor_output' was here
formulas.c:257: error: conflicting types for 'truecolor_output'
formulas.c:253: error: previous declaration of 'truecolor_output' was here
formulas.c:449: error: conflicting types for 'color_output'
formulas.c:446: error: previous declaration of 'color_output' was here
formulas.c:449: error: conflicting types for 'color_output'
formulas.c:446: error: previous declaration of 'color_output' was here
formulas.c:535: error: conflicting types for 'incolor_output'
formulas.c:531: error: previous declaration of 'incolor_output' was here
formulas.c:535: error: conflicting types for 'incolor_output'
formulas.c:531: error: previous declaration of 'incolor_output' was here
In file included from formulas.c:700:
docalc.c:134: error: conflicting types for 'mand_calc'
docalc.c:129: error: previous declaration of 'mand_calc' was here
docalc.c:134: error: conflicting types for 'mand_calc'
docalc.c:129: error: previous declaration of 'mand_calc' was here
docalc.c:486: error: conflicting types for 'mand_peri'
docalc.c:481: error: previous declaration of 'mand_peri' was here
docalc.c:486: error: conflicting types for 'mand_peri'
docalc.c:481: error: previous declaration of 'mand_peri' was here
In file included from docalc.c:803,

and on....

Reproducible: Always
Steps to Reproduce:
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2004-09-25 17:07:03 UTC
Please provide the output of "emerge info"
Comment 2 Ernst Sjöstrand 2004-09-26 07:51:39 UTC
Sorry, was in a bit of a hurry. It's not the cflags, tried with a few different combinations.

# emerge info
Portage 2.0.51_rc4 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.9-rc1-bk12-VP-S0 i686)
=================================================================
System uname: 2.6.9-rc1-bk12-VP-S0 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.5.3
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/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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="-O3 -pipe -march=k8 -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/private_overlay /usr/local/bmg_gnome_current /usr/local/bmg_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac acpi alsa apache2 apm avi berkdb bitmap-fonts bonobo bootsplash bzlib caps cddb cdr crypt cups curl dnd doc dvd encode esd evo faac fbcon ffmpeg foomaticdb gcj gdbm gif gimp gimpprint glade glut gmp gnome gnomedb gnutls gphoto2 gpm gtk gtk2 gtkhtml hal howl icq imap imlib imlib2 jabber java jit jpeg kde libg++ libwww mad mikmod mime mmap mmx mmx2 mng mono mozilla mpeg mpeg4 msn ncurses nls nptl nvidia objc offensive oggvorbis openal opengl oscar pam pdflib perl plotutils png pthreads python qt quicktime readline samba scanner sdk sdl slang spell ssl stencil-buffer svg tcltk tcpd theora threads tiff truetype type1 uml unicode usb x86 xine xml2 xprint xv zlib"
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-05 03:40:49 UTC
Patch is in portage. Please wait until it hits your mirror and try again.