Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22185 - GCC-3.3 festival dies while compiling with tons "lacks a cast" errors
Summary: GCC-3.3 festival dies while compiling with tons "lacks a cast" errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
: 31342 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-04 02:18 UTC by Ahmed Farid
Modified: 2003-10-17 08:58 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 Ahmed Farid 2003-06-04 02:18:42 UTC
the summery says it all
i'm using a bootstrapped system with gcc-3.3 and kernel 2.5.70-mm3..
i can't copy/paste the error right now sorry but it's pretty much reproducable
with gcc-3.3 everytime
ps : i thought it was my cflags so i tried to do : CFLAGS="" emerge speechd but
still the same

Reproducible: Always
Steps to Reproduce:
1.emerge speechd OR emerge festival
2.
3.

Actual Results:  
building dies with alot of type cast, "lacks a cast" errors.

Expected Results:  
compiled fine?

can't copy paste anything but here's my config :
System : P4 2.2 386mb RAM, kernel 2.5.70-mm3, gcc-3.3, glibc2.3.2
CFLAGS/CXXFLAGS="-march=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer
-fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
Comment 1 Ahmed Farid 2003-06-12 21:52:10 UTC
last time i couldn't add any info, but here's a better bug report..
emerge info : System uname: 2.5.70-mm8 i686 Intel(R) Pentium(R) 4 CPU 2.20GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /etc/make.conf /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex tcltk mysql X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl cdr apache2 prebuilt sse tiff xml -gnome -nls -svga -java"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -fforce-addr -fno-unit-at-a-time -fno-unroll-loops -ftracer -mfpmath=sse -Wno-deprecated -falign-functions=4 -fprefetch-loop-arrays -w"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -fforce-addr -fno-unit-at-a-time -fno-unroll-loops -ftracer -mfpmath=sse -Wno-deprecated -falign-functions=4 -fprefetch-loop-arrays -w"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="no"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 2 James Harlow (RETIRED) gentoo-dev 2003-09-19 05:05:59 UTC
Festival 1.4.2 is completely non-ansi C++, there isn't any way to get GCC-3.3 to compile 
it. Festival 1.4.3 compiles fine, however. 
Comment 3 Joshua Kinard gentoo-dev 2003-10-01 23:07:27 UTC
Resolving as FIXED as per Comment #2, festival-1.4.3 should compile with
gcc-3.3.x.  festival-1.4.3 even applies a gcc-3.3 patch, so this likely fixes
it.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-10-17 08:58:42 UTC
*** Bug 31342 has been marked as a duplicate of this bug. ***