Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 110440
Alias:
Product:
Component:
Status: RESOLVED
Resolution: CANTFIX
Assigned To: optical media herd <media-optical@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Heinz <thomasheinz@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cdadao.bug Tried with version 1.2.1 and gcc 4.1. Don't work with USE="pccts"! text/plain Mich Klamminger 2006-06-30 06:01 0000 16.31 KB Details
gcc-4.0.patch Patch to make cdrdao compile for gcc-4.0 patch Rishi 2006-08-07 14:22 0000 295 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 110440 depends on: 139249 Show dependency tree
Bug 110440 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-25 07:10 0000
cdrdao-1.2.0-r1 fails to compile with hardened gcc. After adding
"-fno-stack-protector -fno-stack-protector-all" to CFLAGS, the compilation works.

Reproducible: Always
Steps to Reproduce:
1. emerge cdrdao

Actual Results:  
Making all in pccts
make[2]: Entering directory
`/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/pccts'

             Welcome to PCCTS 1.33MR32 installation

             (Version 1.33 Maintenance Release #32)

                  Released 3 March 2002

                        Featuring
         ANTLR     -- ANother Tool for Language Recognition
         DLG       -- DFA-based Lexical Analyzer Generator
         SORCERER  -- Source-to-source translator (tree walker)

                  http://www.antlr.org

             Trouble reports to tmoog@polhode.com
             Additional PCCTS 1.33 information at
                  http://www.polhode.com


To substitute gcc for CC to invoke compiler: make CC=gcc
If there are problems with cr and lf try: unzip -a ...

Making executables...
(cd ./antlr; make CC="cc" COPT="-march=athlon -pipe -fno-inline")
make[3]: Entering directory
`/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/pccts/antlr'
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c antlr.c -o antlr.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c scan.c -o scan.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c err.c -o err.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c bits.c -o bits.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c build.c -o build.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c fset2.c -o fset2.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c fset.c -o fset.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c gen.c -o gen.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c globals.c -o globals.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c hash.c -o hash.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c lex.c -o lex.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c main.c -o main.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c misc.c -o misc.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c -o set.o ../support/set/set.c
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c pred.c -o pred.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c egman.c -o egman.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c mrhoist.c -o mrhoist.o
cc -march=athlon -pipe -fno-inline -I. -I../support/set -I../h -DUSER_ZZSYN 
-DZZLEXBUFSIZE=32000 -c fcache.c -o fcache.o
cc  -o ../bin/antlr antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o
globals.o hash.o lex.o main.o misc.o set.o pred.o egman.o mrhoist.o fcache.o
make[3]: Leaving directory
`/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/pccts/antlr'
antlr executable now in bin

[...]

Making all in trackdb
make[2]: Entering directory
`/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/trackdb'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o Cddb.o Cddb.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o lec.o lec.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o Toc.o Toc.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o TrackDataList.o TrackDataList.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o CdTextContainer.o CdTextContainer.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o Msf.o Msf.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o Track.o Track.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o util.o util.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o CdTextItem.o CdTextItem.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o SubTrack.o SubTrack.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o TrackData.o TrackData.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o TempFileManager.o TempFileManager.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o FormatConverter.o FormatConverter.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o Cue2Toc.o Cue2Toc.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o CueParser.o CueParser.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o FormatMp3.o FormatMp3.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../pccts/h    
-march=athlon -pipe -fno-inline -c -o FormatOgg.o FormatOgg.cc
./../pccts/bin/antlr -k 3 -CC  -w2 -fl TocLexer.dlg -ft TocParserTokens.h
./TocParser.g
Antlr parser generator   Version 1.33MR32   1989-2001
make[2]: *** [TocParser.cpp] Segmentation fault
make[2]: Leaving directory
`/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/trackdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdrdao-1.2.0-r1 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! could not compile
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib accessibility acl acpi aim alsa apache2 apm
arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bluetooth bzip2
calendar caps cdb cdparanoia cdr cpdflib crypt cscope cups curl curlwrappers dbm
dbus dedicated dga dio directfb doc dv dvb dvd dvdr dvdread eds emacs emboss
encode esd ethereal examples exif fam fastcgi fbcon ffmpeg fftw flac flash
flatfile foomaticdb fortran freetds ftp gd gdbm geoip gif ginac glut gmp gnome
gnutls gphoto2 gpm gps gstreamer gtk gtk2 guile hal hardened hardenedphp howl
hyperwave-api icc iconv icq ieee1394 imagemagick imap imlib innodb iodbc ipv6
jabber jack java javascript joystick jpeg kde kdeenablefinal kerberos krb4
ladcca lcms ldap leim lesstif libcaca libg++ libgda libwww lirc lm_sensors mad
maildir matroska matrox mcal mcve memlimit mhash mikmod milter mime ming mmap
mmx mng mono motif mozilla mp3 mpeg mpi msession msn mule mysql mysqli nas
ncurses netcdf nls nocd nptl offensive ofx ogg oggvorbis openal opengl osc oscar
oss pam pcntl pcre pda pdflib perl pfpro php plotutils png portaudio posix ppds
python qdbm qt quicktime radius readline recode ruby samba sasl scanner sdl
session sharedext sharedmem shorten simplexml skey slang slp smartcard sndfile
snmp soap sockets socks5 sox speex spell spl sqlite ssl svg svga tcltk tcpd
tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts
udev usb v4l vcd vhosts videos vorbis wddx win32codecs wmf wxwindows x86 xface
xine xml xml2 xmlrpc xmms xpm xprint xsl xv xvid yahoo yaz zeo zlib linguas_de
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Marc Christiansen 2005-10-25 12:20:53 0000 -------
This seems to be a problem with the contained pccts. Using 'USE=pccts emerge 
cdrdao' the emerge works without problem. My 'emerge info':

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.
13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer -g -Wstack-protector 
-fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X
11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips
/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config
/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer -g -Wstack-
protector -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict userpriv 
usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.
informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/
gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-
muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/
mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-
stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/
gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE.utf8"
LINGUAS="de en eo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 aac acl acpi alsa apm avi bash-completion 
berkdb bitmap-fonts bzip2 caps cdparanoia cdr crypt cups curl doc dvd dvdread 
encode esd ethereal expat fam fbcon ffmpeg flac foomaticdb ftp gcj gd gdbm gif 
glut gmp gnustep gpm gs gsl gstreamer gtk gtk2 gtkhtml guile iconv idn 
imagemagic imap imlib ipv6 java jpeg junit ldap libg++ libwww live lm_sensors 
lzo mad matroska mbox mikmod mime mmap mmx mmxext mng motif mp3 mpeg ncurses 
nls nptl nvidia objc offensive ogg oggvorbis opengl oss pam pcre pdflib perl 
png posix python qt quicktime readline real recode rtc samba sasl sdl sharedmem 
sndfile sockets sox spell sqlite ssl tcltk tcpd tetex theora threads tiff 
truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs xml2
 xmms xpm xv xvid xvmc zlib linguas_de linguas_en linguas_eo userland_GNU kernel
_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS


------- Comment #2 From Benno Schulenberg 2005-10-25 16:09:18 0000 -------
Same problem here, but only with hardened gcc-3.3.6 -- with hardened gcc-3.4.4
it compiles fine.  With a vanilla gcc-3.3.6 it's also fine, the same for
hardenednopiessp and hardenednossp, but not for hardenednopie.  And when using
the vanilla gcc-3.3.6 and adding -fstack-protector to the CXXFLAGS, compilation
fails too, always with "make[2]: *** [TocParser.cpp] Segmentation fault".

Using the USE=pccts makes the compile indeed succeed.


Gentoo Base System version 1.12.0_pre9
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13 i686)
=================================================================
System uname: 2.6.13 i686 AMD Athlon(tm) XP 2800+
dev-lang/python:     2.4.2
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks notitles sandbox sfperms strict test userpriv
usersandbox"
LINGUAS="en eo es nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 3dnow X aac aim alsa apm arts avi bash-completion berkdb bitmap-fonts
cdr crypt curl doc dri eds emboss encode esd fam fbcon ffmpeg flac gd gdbm gif
glx gpm gstreamer hardened icq imagemagick imlib jabber jpeg kde kdeenablefinal
libg++ libwww lm_sensors mad mbox mikmod mime mmap mmx mp3 mpeg ncurses nls nptl
ogg oggvorbis opengl pam pdflib png python qt quicktime readline sasl sdl slang
speex spell sse ssl svg svga tcltk test threads tidy tiff truetype
truetype-fonts type1-fonts udev unicode vorbis win32codecs wnf xface xine xml
xml2 xmms xpm xsl xv xvid yahoo zlib video_cards_via linguas_en linguas_eo
linguas_es linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #3 From Kevin F. Quinn (RETIRED) 2005-11-26 09:06:10 0000 -------
Thanks Benno; so it appears there's a problem with SSP & 3.3.6 but all's ok
with
SSP & 3.4.4.

media-optical - adding

[[ $(gcc-version) == 3.3 ]] && filter-flags -fstack-protector

to src_compile() just before the econf line should do the trick.

------- Comment #4 From Kevin F. Quinn (RETIRED) 2005-11-26 10:15:10 0000 -------
media-optical: update; we (hardened) will think a bit more about this, and get
back to you.

------- Comment #5 From Lee Davis 2005-12-31 11:52:04 0000 -------
Getting the same problem with non-hardened

make[2]: *** [TocParser.cpp] Segmentation fault
make[2]: Leaving directory
`/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/trackdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdrdao-1.2.0-r1 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! could not compile
!!! If you need support, post the topmost build error, NOT this status message.

make[2]: *** [TocParser.cpp] Segmentation fault
make[2]: Leaving directory
`/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/trackdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdrdao-1.2.0-r1 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! could not compile
!!! If you need support, post the topmost build error, NOT this status message.

Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.0_pre12
dev-lang/python:     2.3.5, 2.4.2
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.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi alsa apache2 apm arts audiofile avi bash-completion
berkdb bitmap-fonts bzip2 cdr clamav crypt cups curl dlloader dvd dvdr dvdread
eds emboss encode esd exif expat fam fbcon foomaticdb fortran ftp gdbm gif glut
gnome gpm gstreamer gtk gtk2 hal hardened idn imagemagick imap imlib ipv6
jabber javascript jpeg lcms ldap libg++ libwww mad maildir mhash mikmod mime
mng motif mozilla mp3 mpeg msn ncurses nls ogg oggvorbis opengl oss pam pcmcia
pcre pda pdflib perl php png python quicktime readline recode samba sdl spell
ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wifi
xine xinerama xml2 xmms xv xvid yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
PORTDIR_OVERLAY

------- Comment #6 From Luis Medinas (RETIRED) 2006-01-02 19:47:17 0000 -------
please test with the new version 1.2.1 

------- Comment #7 From Mich Klamminger 2006-06-30 06:01:44 0000 -------
Created an attachment (id=90524) [details]
cdadao bug and emerge --info

------- Comment #8 From solar 2006-06-30 08:13:20 0000 -------
gcc-4.1 and hardened are not supported together. They dont even exist.. 
Comment #5 tells us same problem with non hardened compilers also.
Reassigning bug to maintainer.

------- Comment #9 From solar 2006-06-30 08:14:58 0000 -------
And note.. -fstack-protector via CFLAGS is simply not supported.

------- Comment #10 From Malte S. Stretz 2006-07-01 05:27:17 0000 -------
Note before I remove myself from CC:  I had this problem with non-hardened
gcc-3.3, now that gcc-3.4 is stable and cdrdao-1.2.1 compiles fine its not an
issue for me anymore.  I didn't try with (even non-hardened) gcc-4.x, as
suggested in the subject.

------- Comment #11 From Rishi 2006-08-07 14:22:48 0000 -------
Created an attachment (id=93695) [details]
Patch to make cdrdao compile for gcc-4.0

Fixes cdrdao to let it compile with gcc-4.0. 

------- Comment #12 From Luis Medinas (RETIRED) 2006-08-07 17:16:38 0000 -------
for gcc 4.0 ? We already have a patch to fix compile on gcc 4.1 and gcc 4.0
isn' supported.

------- Comment #13 From Lars Weiler (RETIRED) 2006-12-02 19:04:45 0000 -------
I don't have a hardened system.  Is this bug still valid?

------- Comment #14 From Lars Weiler (RETIRED) 2007-02-28 00:13:51 0000 -------
Let's close this bug, as nobody jumped into it.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug