Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73907 - kde-base/arts-1.3.2 cc1plus: error: unrecognized command line option "-fno-stack-protector"/ "-fno-stack-protector-all"
Summary: kde-base/arts-1.3.2 cc1plus: error: unrecognized command line option "-fno-st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 06:59 UTC by Hans-Christian Armingeon
Modified: 2005-01-22 16:48 UTC (History)
0 users

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


Attachments
patch output (1.3.0-jack-configure.in.in.patch-3639.out,2.89 KB, text/plain)
2004-12-09 07:36 UTC, Hans-Christian Armingeon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-12-09 06:59:58 UTC
make[2]: Entering directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/mcopidl'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include  -I../libltdl  -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -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 -m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99 -O0 -fno-stack-protector -fno-stack-protector-all -c -o mcopidl.o `test -f 'mcopidl.cc' || echo './'`mcopidl.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include  -I../libltdl  -DQT_THREAD_SUPPORT  -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -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 -m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99 -O0 -fno-stack-protector -fno-stack-protector-all -c -o yacc.o `test -f 'yacc.cc' || echo './'`yacc.cc
cc1plus: error: unrecognized command line option "-fno-stack-protector"
cc1plus: error: unrecognized command line option "-fno-stack-protector-all"
cc1plus: error: unrecognized command line option "-fno-stack-protector"
cc1plus: error: unrecognized command line option "-fno-stack-protector-all"
make[2]: *** [mcopidl.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [yacc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2/mcopidl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.3.2/work/arts-1.3.2'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-1.3.2 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

ortage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 mobile AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 26 2004, 17:27:32)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.3, 1.8.5-r2, 1.5, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/openjms/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/fax /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/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X X509 Xaw3d a52 aac aalib accessibility accounting acl acpi activefilter adns afs aim alsa apache2 apm arts asterisk async atm audiofile authdaemond avi bash-completion bcmath berkdb bidi bitmap-fonts blender-game bluetooth bmp bonobo bootsplash boundchecking boundschecking bzlib c++ calendar camaelon caps cddbcdparanoia cdr cgi chasen chroot clearpasswd codecs cpdflib crypt cscope ctype cups curl curlwrappers dbase dbm dbx dedicated devfs26 devmap dga dhcp dio directfb divx4linux djbfft drac dts dv dvd dvdr dvdread edl eds emacs encode esd ethereal evo exif f77 faac faad fam fame fastcgi fax fbcon fbdev fftw filepro flac flash flatfile flexrespflood fltk fluidsynth foomaticdb fortran fpx frascend freetype frlargefiles frxp ftp gb gcj gd gd-external gdbm ggi gif gimpprint glitz glut gmp gnokii gnome gnutls gphoto2 gpm gps graphviz gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal howl hub iconv icq icu idea idled ieee1394 imagemagic imagemagick imap imlib imlib2 immqt immqt-bc inetd inifile innodb insecure-drivers intl ipalias ipv6 irda isdn jabber jack jack-tmpfs java javascript jbig jce jikes jit jks jms joystick jpeg jpeg2k junit jython kde kerberos koffice-plugin krb4 ladcca latex lcd lcms ldap leim lesstif libcaca libclamav libg++ libgda libsamplerate libwww live lm_sensors lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska mbox mbrola mcal mcve md5sum mecab memlimit mhash mikmod mime ming mjpeg mmap mmx mmx2 modelock motif mozcalendar mozilla mozsvg mpeg mpeg4 mpi mppe-mppc msn multicall multilib multislot multitarget mysql mysql41 mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses netcdf nethack network neural nis nls nntp nptl nptlonly oav objc odbc offensive oggvorbis opengl oscar oss pam pcap pcmcia pcntl pcre pcsc-lite pda pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils png pnp portaudio posix postgres povray ppds prelude pri procmail pvm python qemu-fast qt quicktime quotas radius readline real resperl rhino rrdtool rtc ruby sambasasl scanner sdl sendfile serial session sftplogging shaper shared sharedmem silc simplexml skey slang slp smartcard smime sndfile snmp snortsam soap sockets socks5 softmmu softquota soundtouch sox spamassassin speex spell spl sqlite sse ssl stats stencil-buffer subject-rewrite svg svga sysvipc szip tcltk tcpd tetex tga theora threads tidytiff timidity tokenizer transcode transparent-proxy truetype unicode usb userlocales v4l v4l2 vda vdesktop vhosts vim-with-x virus-scan vpopmail wddx wifi winbind wmf wxwindows x86 xanim xfs xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz zaptel zlib"
Comment 1 Hans-Christian Armingeon 2004-12-09 07:04:36 UTC
I build gcc with boundschecking, nut wothout the hardened use flag.

Has this sopmething to do with that?

Johnny
Comment 2 Imad R. Faiad 2004-12-09 07:25:59 UTC
edit the ebuild comment the following line,
epatch ${FILESDIR}/arts-1.3.2-mcopidl.patch
or change it as follows
has_libssp && epatch ${FILESDIR}/arts-1.3.2-mcopidl.patch
you will also need to change
inherit kde flag-o-matic eutils
to
inherit kde flag-o-matic eutils toolchain
hth
Comment 3 Imad R. Faiad 2004-12-09 07:29:52 UTC
another thing, not sure whether arts will compile with boundschecking,
if you have problems try to edit the ebuild adding flags to disable it.
i'm running a cvs gcc, with none of the hardened patches, otherwise
would have advised whether boundschecking is OK.
hth
Comment 4 Hans-Christian Armingeon 2004-12-09 07:31:34 UTC
Thank you very much for this quick reply.

Is the same procedure for the other kde ebuild needed, too?

Johnny
Comment 5 Hans-Christian Armingeon 2004-12-09 07:36:30 UTC
Created attachment 45608 [details]
patch output

Whats wrong?

>>> md5 src_uri ;-) arts-1.3.2.tar.bz2
>>> Unpacking source...
>>> Unpacking arts-1.3.2.tar.bz2 to /var/tmp/portage/arts-1.3.2/work
/usr/portage/eclass/base.eclass: line 37: cd:
/var/tmp/portage/arts-1.3.2/work/gcc-1.3.2: No such file or directory
/usr/portage/eclass/kde.eclass: line 42: cd:
/var/tmp/portage/arts-1.3.2/work/gcc-1.3.2: No such file or directory
 * Applying 1.3.0-jack-configure.in.in.patch ...

 * Failed Patch: 1.3.0-jack-configure.in.in.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/arts-1.3.2/temp/1.3.0-jack-configure.in.in.patch-3639.out


!!! ERROR: kde-base/arts-1.3.2 failed.
!!! Function epatch, Line 402, Exitcode 0
!!! Failed Patch: 1.3.0-jack-configure.in.in.patch!
!!! If you need support, post the topmost build error, NOT this status message.


[arts ebuild]
src_unpack() {
    kde_src_unpack
    epatch ${FILESDIR}/1.3.0-jack-configure.in.in.patch
    epatch ${FILESDIR}/${P}-alsa-bigendian.patch
#   epatch ${FILESDIR}/arts-1.3.2-mcopidl.patch
    kde_sandbox_patch ${S}/soundserver
    # for the configure.in.in patch, for some reason it's not automatically
picked up
    # rm -f $S/configure
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-12-09 07:43:45 UTC
Just committed a fix to portage - please retry after a sync.
Comment 7 Imad R. Faiad 2004-12-09 07:56:46 UTC
i just commented epatch ${FILESDIR}/arts-1.3.2-mcopidl.patch
and left inherit kde flag-o-matic eutils as is i.e. no toolchain
Comment 8 Hans-Christian Armingeon 2004-12-09 08:12:48 UTC
@Caleb Tennis:

What is the actual fix? When is it actually in portage?

Johnny
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2004-12-09 09:31:03 UTC
        if (is-flag -fstack-protector || is-flag -fstack-protector-all || use hardened); then
                epatch ${FILESDIR}/arts-1.3.2-mcopidl.patch
        fi

Comment 10 Niklas Bergsten 2005-01-11 06:33:03 UTC
You say there's a fix in the portage? It still isn't working for me anyway. I'm running GCC 3.4.3 20041125.
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2005-01-22 15:34:26 UTC
Yes, the fix is in portage.  Please open a new report and post logs of the error if you're having a problem.
Comment 12 Hans-Christian Armingeon 2005-01-22 16:48:50 UTC
Well, I don't know what to write, because I merged gcc again without the hardening patches, and then arts merged withou problems.

Johnny