Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49460 - Emerging rosegarden; g++ (cc1plus) has internal error when building NotationTypes.c
Summary: Emerging rosegarden; g++ (cc1plus) has internal error when building NotationT...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-29 21:30 UTC by BraveNew
Modified: 2004-05-01 19:05 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 BraveNew 2004-04-29 21:30:14 UTC
When I emerge rosegarden (after all other dependancies have been emerged and I emerged rsync and retried), I get the following error (mildly paraphrased because I had to retype it) when building NotationTypes.c/.lo/.Tpo/.Plo

g++: Internal error: Terminated (program cc1plus)
{standard input}: Assembler messages:
{standard input}:22467: Warning: end of file not at end of a line; newline inserted
make[2]: *** [NotationTypes.lo] Error 1
... error cascades up...

ERROR: media-sound/rosegarden-4.0.9.7 failed.
Function src_compile, Line 32, Exitcode 2
(no error message)

Reproducible: Always
Steps to Reproduce:
1. Described above, just emerging rosegarden, version 4.0.9.7

Actual Results:  
Error described above.

Expected Results:  
Completed emerge successfully.

Oh boy, I need to retype this, so I'll do the best I can:
---
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
====
System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.8.p1
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automak-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -mno-sse -s
-mpreferred-stack-boundary=2 -funroll-loops -frerun-loop-opt
-frerun-cse-after-loop -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon -pipe -fomit-frame-pointer -mmmx -m3dnow -mno-sse -s
-mpreferred-stack-boundary=2 -funroll-loops -frerun-loop-opt
-frerun-cse-after-loop -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups curl encode
esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib jack java jikes jpeg
junit kde ldap libg++ libgda libwww lirc mad mikmod mmx motif mozilla mpeg mpi
nas ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl png postgres
python qt quicktime readline ruby samba sdl slang spell ssl svga tcpd tiff
truetype usb x86 xml xml2 xmms xv zeo zlib"

Let me know if anything else would help, thanks.
Comment 1 C. Daelhousen (sapphirecat) 2004-05-01 13:01:51 UTC
Try turning down your CFLAGS -- in particular, I don't think -m3dnow should work on an Intel. See if it works with "-O2 -march=i686 -mcpu=<your choice>" (if you want the binaries to run on PIII and Athlon) or "-O2 -march=pentium3".
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-01 19:05:25 UTC
that warning doesn't cause compilation to fail... your bad CFLAGS do.

You have a Pentium III and you are compiling for an athlon (-m3dnow)