Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98580 - gcc complier died during emerge of app-accessibility/flite-1.2-r1
Summary: gcc complier died during emerge of app-accessibility/flite-1.2-r1
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-10 10:49 UTC by binarybubba
Modified: 2005-07-22 03:26 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 binarybubba 2005-07-10 10:49:09 UTC
I am a relative newbee at this so I hope this is enough information
The final lines of the emerge were:

making in lang/cum_us_kal16 ....
gcc -I../../lang/usenglish -I../../lang/cmulex -I ../../include -O2 -march
-penntium 3 -pipe -Wall -c cmu-us-kal16-diphone.c -o cmu-us-kal16-diphone.o
gcc:  Internal error:  Killed (program ccl)
{standard input}: assembler mssages:
{standard input}: 3421541: Warning: partial line at end of file ignored
{standard input}: 3422891: Error: unknown pseudo-op '.val' 
make[2]: *** [cmu_us_kal16_dipthone.o] Error 1
make[1]: *** [make_build_dirs] Error 2
make: ***[.make_build_dirs] Error 2



Reproducible: Always
Steps to Reproduce:
1.  just typed in emerge speech-dispatcher --- flite is a required program for that.
2.
3.




Problem has occured without any other programs running, other than daemons.

emerge --update world --deep was ran just before attempting to emerge this.
Alsa is installed.

 * econf: updating flite-1.2-release/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating flite-1.2-release/config.guess with
/usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-shared --with-vox=cmu_us_kal16
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium3 -pipe ) works... yes
checking whether the C compiler (gcc -O2 -march=pentium3 -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking for ar... ar
checking whether byte ordering is bigendian... no
checking for mmap... yes
checking how to run the C preprocessor... gcc -E
checking for sys/soundcard.h... yes
checking for machine/soundcard.h... no
checking for sys/audioio.h... no
checking for sys/asoundlib.h... no
checking for mmsystem.h... no
updating cache ./config.cache
creating ./config.status
creating config/config
creating config/system.mak
making in . ...
making in include ...
making in src ...
making in src/audio ...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-10 10:53:36 UTC
Post emerge --info output (as you were instructed when filing the bug) and reopen.
Comment 2 binarybubba 2005-07-10 16:43:04 UTC
emerge --info:

Gentoo Base System version 1.6.12
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Pentium III (Coppermine)
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 18:18:19)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.9.5, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss
encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2
imagemagick imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg
mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Sinuhet 2005-07-16 03:30:01 UTC
> How much swap space do you have?  Flite requires a *huge* amount of memory 
> to build successfully.  If you have some free hard drive space, I'd set up 
> a large temporary swap file.  Seriously, I'd suggest at least 1GB of swap. 
> The reason it requires such a tremendous amount of memory to build is that 
> the voice is entirely in C, and is like 20MB of source code.  I don't 
> recall the exact numbers, but I was surprised that something which 
> requires such a huge amount of memory to build can run in a fairly small 
> amount once built.

To make swapfile type:

# swapoff -a
# dd if=/dev/zero of=/swapfile bs=1M count=1024  (this will make on / 1GB 
swapfile)
# mkswap /swapfile
# swapon /swapfile
# free

This worked for me. After compiling, you can swapoff and remove the swapfile, 
and mount again your original swap.
Comment 4 binarybubba 2005-07-16 23:18:17 UTC
That fixed it... turns out I did not have any swap .... I have two drives and
thought I had a swap on the scsi drive, (It boots up on an ide drive).  I simply
did a swapon for the /dev/sda1 and it all worked.  

You can mark this one up as resolved...  Thanks!


Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-22 03:26:59 UTC
ok closing as it was a memory issue...