Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52820 - emerge kdevelop compilation failed in AdaTreeParserSuper.cpp
Summary: emerge kdevelop compilation failed in AdaTreeParserSuper.cpp
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 14:53 UTC by Wilson M. Michaels
Modified: 2004-08-25 11:03 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 Wilson M. Michaels 2004-06-02 14:53:25 UTC
While running under KDE 3.2.2, I attempted to install kdevelop on my system for the first time.



Reproducible: Always
Steps to Reproduce:
1.emerge kdevelop
2.
3.

Actual Results:  
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I../.. -I../../lib/antlr -I../../lib/interfaces -I../../lib/util
-I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG
-O2 -march=pentium4 -O3 -pipe -fforce-addr -fomit-frame-pointer -frerun-loop-opt
-frerun-cse-after-loop -falign-functions=4 -mno-sse2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -fexceptions -c -o AdaTreeParserSuper.lo AdaTreeParserSuper.cpp
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:163564: Warning: end of file not at end of a line; newline inserted
{standard input}:164763: Error: unknown pseudo-op: `.ul'
make[4]: *** [AdaTreeParserSuper.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/kdevelop-3.0.3/work/kdevelop-3.0.3/languages/ada'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdevelop-3.0.3/work/kdevelop-3.0.3/languages/ada'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdevelop-3.0.3/work/kdevelop-3.0.3/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.3/work/kdevelop-3.0.3'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.0.3 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make

bash-2.05b$

Expected Results:  
emerge without error

bash-2.05b$ emerge info
Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r2)
=================================================================
System uname: 2.4.25-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -fomit-frame-pointer
-frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -mno-sse2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /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=pentium4 -O3 -pipe -fforce-addr -fomit-frame-pointer
-frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -mno-sse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache nostrip sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://mirrors.tds.net/gentoo
http://gentoo.seren.com/gentoo ftp://mirrors.tds.net/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm arts avi berkdb cjk crypt cscope cups directfb dvd
emacs encode esd fbcon foomaticdb gdbm gif gphoto2 gpm gtk2 imap imlib jack java
jikes jpeg kde ladcca libg++ libwww mad mikmod mmx motif mozilla mpeg mysql
ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime
readline samba scanner sdl slang spell sse ssl svga tcltk tcpd truetype usb x86
xml2 xmms xv zlib"
Comment 1 Wilson M. Michaels 2004-06-03 08:26:18 UTC
I discovered a work around and lowered the priority of this bug.

I changed my CFLAGS for compiler optimization from "-O3" to "-O1". Since "-O3" is the gentoo default I believe this is still a bug. I saw a similar bug once, but can't find the number. The fix had something to do with semicolons in the source file.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-06-03 08:49:52 UTC
compiles fine here with -O3.
Comment 3 Colin Tinker 2004-06-21 11:59:14 UTC
I am getting this error with 3.0.4, I will try -O1 and pass the results on.
Comment 4 Colin Tinker 2004-06-21 12:21:25 UTC
The -O1 does not work for me I still get the same error with 3.0.4.
Comment 5 Colin Tinker 2004-06-21 12:21:43 UTC
The -O1 does not work for me I still get the same error with 3.0.4.

make[4]: *** [AdaParser.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
AdaStoreWalker.cpp: In member function `void
   AdaStoreWalker::initializeASTFactory(antlr::ASTFactory&)':
AdaStoreWalker.cpp:8834: warning: unused parameter `antlr::ASTFactory&factory'
make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4/languages/ada'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4/languages/ada'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4'
make: *** [all] Error 2
Comment 6 Selecter 2004-07-18 08:43:18 UTC
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/antlr -I../../lib/interfaces -I../../lib/util -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o AdaTreeParserSuper.lo AdaTreeParserSuper.cpp
AdaTreeParserSuper.cpp: In member function `void
   AdaTreeParserSuper::initializeASTFactory(antlr::ASTFactory&)':
AdaTreeParserSuper.cpp:8567: warning: unused parameter `
   antlr::ASTFactory&factory'
g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [AdaTreeParserSuper.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [AdaParser.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4/languages/ada'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4/languages/ada'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.0.4 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6)
=================================================================
System uname: 2.6.7-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 arts avi cdr crypt cups encode esd gdbm gif gphoto2 gpm gtk gtk2 imlib java jpeg kde libg++ libwww linguas_ru mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml xml2 xmms xv zlib"
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-08-25 11:03:39 UTC
just a strange local compilation issue.  upgrading glibc and gcc to the latest  versions may help