CFLAGS="-O2 -march=i686 -fstack-protector -fomit-frame-pointer" gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice) Actually, it gets an Internal Compiler Error. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-2.4.22) ================================================================= System uname: 2.4.22-2.4.22 i686 Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fstack-protector -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/co nfig" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=i686 -fstack-protector -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/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="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib a lsa gdbm berkdb slang readline arts bonobo svga tcltk java ruby mysql postgres X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla ldap cdr"
ping?
The nature of an internal compiler error is that ultimately, it is a compiler bug, not a problem with the source code. A possible workaround would be for the emacs ebuild to filter out the -fstack-protector flag. It is also possible that this is fixed with future versions of GCC.
(Future or later versions of GCC, that is)
I could reproduce the problem (internal compiler error at xterm.c) with gcc-3.2.3-r3 and glibc-2.3.2-r3, so I filtered out -fstack-protector from emacs-21.3-r1.ebuild for the moment. Could hardend herd people look into the problem? Thanks.
i will test this ebuild in a week or two when the ssp.o -nostdlib/-nostartfiles fix with hardened-gcc comes around thanks, Alex
works for me with gcc-3.3.2-r3 and hardened-gcc can you test with this gcc please? TIA, Alex