Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137054 - [3.4/ICE] building Firebird 2.0.0 RC2 with -ggdb causes internal compiler error at dwarf2out.c:13110
Summary: [3.4/ICE] building Firebird 2.0.0 RC2 with -ggdb causes internal compiler err...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 168298 (view as bug list)
Depends on:
Blocks: 144224
  Show dependency tree
 
Reported: 2006-06-17 01:00 UTC by Mark Kirkwood
Modified: 2007-02-25 08:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
preprocesses source (cc20ZfjL.out,205.01 KB, text/plain)
2006-06-17 02:45 UTC, Mark Kirkwood
Details
reduced testcase (ice.ii,212 bytes, text/plain)
2006-06-17 17:43 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Kirkwood 2006-06-17 01:00:24 UTC
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo/ ftp://ftp.planetmirror.com/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo "
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr cli crypt cups dri dvd eds emboss encode esd expat foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 isdnlog java jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev usb vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY


Download firebird-2.0.0.12654-RC2 source (not an ebuild - there isn't one yet)
Configure and build
$ ./configure --prefix=/usr/local/firebird/2.0 --enable-superserver --enable-debug
$ make
....
g++  -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -I../extern/icu/source/common -I../extern/icu/source/i18n -DNAMESPACE=Vulcan -DUSE_VALGRIND -ggdb -DLINUX -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0 -DDEV_BUILD -c ../src/common/classes/ClumpletReader.cpp -o ../temp/boot/common/classes/ClumpletReader.o
../src/common/classes/ClumpletReader.cpp:541: internal compiler error: in dwarf2out_finish, at dwarf2out.c:13110
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/cc20ZfjL.out file, please attach this to your bugreport.
make[3]: *** [../temp/boot/common/classes/ClumpletReader.o] Error 1

This is repeatable, have performed 'make clean;make' 3 times, same error at same point.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-17 02:09:39 UTC
Please, attach the preprocesses source here (don't refer to third party links that tend to go away after a while) and reopen then. Thanks.
Comment 2 Mark Kirkwood 2006-06-17 02:45:05 UTC
Created attachment 89375 [details]
preprocesses source
Comment 3 Mark Kirkwood 2006-06-17 02:55:06 UTC
Reopen after attaching pre-processed source as requested.
Comment 4 SpanKY gentoo-dev 2006-06-17 16:25:58 UTC
this has been fixed in 4.0.x and above

dont compile that file with -ggdb ;)
Comment 5 SpanKY gentoo-dev 2006-06-17 17:43:33 UTC
Created attachment 89428 [details]
reduced testcase
Comment 6 Mark Kirkwood 2006-06-17 19:15:50 UTC
Confirm that build completes successfully after replacing -ggdb with -g.
Comment 7 SpanKY gentoo-dev 2006-09-07 20:30:00 UTC
3.4 is not supported anymore as 4.1.1 is now stable
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 08:07:49 UTC
*** Bug 168298 has been marked as a duplicate of this bug. ***