Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106965 - perl-5.8.7-r1: cc1 fails at -fno-stack-protector"
Summary: perl-5.8.7-r1: cc1 fails at -fno-stack-protector"
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-23 01:20 UTC by Dead Schorsch
Modified: 2005-11-04 00:28 UTC (History)
1 user (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 Dead Schorsch 2005-09-23 01:20:39 UTC
Now you must run 'make'.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

`sh  cflags "optimize='-march=athlon-xp -O3 -pipe'" miniperlmain.o` -fPIC minipe
rlmain.c
          CCCMD =  i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pi
pe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe  -Wall
`sh  cflags "optimize='-march=athlon-xp -O3 -pipe'" perl.o` -fPIC perl.c
          CCCMD =  i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pi
pe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe  -Wall
`sh  cflags "optimize='-march=athlon-xp -O3 -pipe'" gv.o` -fPIC gv.c
          CCCMD =  i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pi
pe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe  -Wall
`sh  cflags "optimize='-march=athlon-xp -O3 -pipe'" toke.o` -fPIC toke.c
          CCCMD =  i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pi
pe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe  -Wall
`sh  cflags "optimize='-march=athlon-xp -O3 -pipe'" perly.o` -fPIC perly.c
          CCCMD =  i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pi
pe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe  -Wall
`sh  cflags "optimize='-march=athlon-xp -O3 -pipe'" op.o` -fPIC op.c
          CCCMD =  i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pi
pe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe  -Wall
`sh  cflags "optimize='-march=athlon-xp -O3 -pipe'" pad.o` -fPIC pad.c
          CCCMD =  i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pi
pe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe  -Wall
`sh  cflags "optimize='-march=athlon-xp -O3 -pipe'" regcomp.o` -fPIC regcomp.c
          CCCMD =  i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pi
pe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-stack-protector -march=athlon
-xp -O3 -pipe  -Wall
cc1: error: unrecognized command line option "-fno-stack-protector"
make: *** [regcomp.o] Error 1

!!! ERROR: dev-lang/perl-5.8.7-r1 failed.
!!! Function src_compile, Line 263, Exitcode 2
!!! Unable to make
!!! If you need support, post the topmost build error, NOT this status message.


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




Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4,
glibc-2.2.5-r2,glibc-2.3.5-r1, 2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
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 aac aalib acpi acpi4linux activefilter adns aim alsa
apache2 async audiofile avi bash-completion berkdb bitmap-fonts bluetooth bmp
bonobo bzip2 bzlib cddb cdinstall cdparanoia cdr chroot crypt cups curl dga
divx4linux doc dvb dvd dvdr eds emboss encode esd evo exif fam fbcon flac
foomaticdb fortran ftp gd gdbm gif gimp gimpprint gnome gnomedb gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imap imlib imlib2 ipv6
irmc java jikes jpeg junit ldap libg++ libwww live lzw-tiff mad mbox mime mmx
mmx2 mmxext mozilla moznocompose moznoirc moznomail mozp3p mozplaintext mozsvg
mp3 mpeg mpeg4 msn ncurses netbeans nls nocd nptl ntplonly nvidia ogg oggvorbis
openal opengl pam pda pdflib perl php png posix postgres ppds python quicktime
readline samba scanner sdl slang smime sockets sox speex spell sse ssl svg svga
tcpd tetex tga tiff truetype-fonts type1-fonts unicode usb vanilla vcd videos
vidix vorbis win32codecs wmf xfs xine xinerama xml xml2 xosd xpm xv xvid xvmc
zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Comment 1 Shyam Mani (RETIRED) gentoo-dev 2005-09-23 22:14:13 UTC
Exact same error.

# emerge info
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13 i686)
=================================================================
System uname: 2.6.13 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.19-r1, 2.4.22, 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -mmmx -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mmmx -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_GB.utf8"
LINGUAS="en"
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="x86 X a52 aac aalib acpi alsa apache2 apm avi bash-completion berkdb
bitmap-fonts bluetooth bonobo bzlib cdr crypt cscope ctype cups curl directfb
divx4linux eds emboss encode esd ethereal examples exif fam fbcon foomaticdb
fortran ftp gd gdbm geoip gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile hal imagemagick imlib imlib2 innodb ipv6 javascript jpeg ldap
libg++ libwww mad mbox md5sum mikmod mmx motif mozilla mp3 mpeg mpeg4 mysql
ncurses nls nvidia odbc offensive ogg oggvorbis opengl oss pam pdflib perl php
png python qt quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd
tiff truetype truetype-fonts type1-fonts unicode usb vanilla vorbis win32codecs
xml xml2 xmms xosd xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
Comment 2 Jason Wever (RETIRED) gentoo-dev 2005-09-24 08:45:13 UTC
May want to check out comment #5 in bug #101471 and see if that applies to you
folks as well.
Comment 3 Shyam Mani (RETIRED) gentoo-dev 2005-09-25 06:48:00 UTC
(In reply to comment #2)
> May want to check out comment #5 in bug #101471 and see if that applies to you
> folks as well.

Nope. Removed vanilla from /etc/make.conf and got the exact same error again, so
I guess it isn't related...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-10-02 23:38:55 UTC
(In reply to comment #3)
> Nope. Removed vanilla from /etc/make.conf and got the exact same error again, so
> I guess it isn't related...

You need to re-emerge gcc.
Comment 5 Dead Schorsch 2005-10-18 05:43:10 UTC
Confirmed. Removing vanilla and re-emerging gcc solved.
Comment 6 Dead Schorsch 2005-10-21 13:50:59 UTC
Remove vanilla flag from make.conf and re-emerge gcc.
Comment 7 Dead Schorsch 2005-11-04 00:28:56 UTC
fix approved