Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114443 - [User reports] Compiler reports error with regcomp.c when building perl
Summary: [User reports] Compiler reports error with regcomp.c when building perl
Status: RESOLVED DUPLICATE of bug 101471
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 114442 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-04 06:18 UTC by Ferris McCormick (RETIRED)
Modified: 2005-12-04 07:02 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 Ferris McCormick (RETIRED) gentoo-dev 2005-12-04 06:18:26 UTC
I am reporting this on behalf of user <stefano@merlinobbs.net>, who filed it
with me rather than with <b.g.o> directly.  User is trying to build perl on U10
and is seeing this:
===================================================
> > !!! ERROR: dev-lang/perl-5.8.7-r2 failed.
> developer list.  I've redirected the CC to gentoo-sparc@gentoo.org (where 
> you will get a wider reading), but still probably not an answer.

thanks

> By the way, when you file the bug, you will be asked to provide a lot of 
> environment information, such as output from 'emerge --info'.  For a 
> problem like yours, that can be particularly important.  (Unless the 
> answer is obvious, but I'm just not seeing it.)

sorry but i'm not a developer, on work i'm a Network Specialist and
advanced user on Unix platform. I'm using Gentoo from October 2005 (when
someone donate me the Ultra Sparc 10). 

I'm use your suggests but report the same error
==================================================
==================================================

`sh  cflags "optimize='-O2 -mcpu=ultrasparc -pipe'" regcomp.o` 
regcomp.c
          CCCMD =  sparc-unknown-linux-gnu-gcc -DPERL_CORE -c
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-fno-stack-protector -O2 -mcpu=ultrasparc -pipe  -Wall
cc1: error: unrecognized option `-fno-stack-protector'
make: *** [regcomp.o] Error 1
!!! ERROR: dev-lang/perl-5.8.7-r2 failed.
!!! Function src_compile, Line 268, Exitcode 2
!!! Unable to make
!!! If you need support, post the topmost build error, NOT this status
message.

and this is the report from the emerge --info 

# emerge --info
Portage 2.0.51.22-r3 (default-linux/sparc/sparc64/2005.1,
gcc-3.3.5-20050130, glibc-2.3.3.20040420-r2, 2.4.31-sparc-r2 sparc64)
=================================================================
System uname: 2.4.31-sparc-r2 sparc64 sun4u
Gentoo Base System version 1.6.13
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.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.23
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-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 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache 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.de.gentoo.org/gentoo-portage"
USE="sparc X apache2 arts audiofile avi berkdb bitmap-fonts bzip2 crypt
cups curl dga dlloader dri eds encode esd ethereal expat fam fbcon flac
foomaticdb fortran ftp gcc64 gdbm gif glut gstreamer gtk gtk2 gtkhtml
idn imagemagick imagemagik imap imlib innodb ipv6 java jpeg kde lcms
libwww mad mhash mikmod mng motif mozilla mpeg mysql ncurses nis nls ogg
oggvorbis opengl oss pam pcre pdflib perl php png python qt readline
samba sasl sdl sockets spell ssl tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts vanilla vorbis win32codec xinerama xml xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
PORTDIR_OVERLAY

> This was a non-answer and someone else might have one for you, but if not 
> your best approach is to file the bug report.

on this information do you have any suggest ?

Regards,

Stefano
=================================================
My uninformed guess would be some problem with the gcc-config profile, I
understand that this is almost certainly not a perl problem, and I understand
you will all beat up on me for filing on behalf of a user. :)  At this point, I
just want to put this curiosity on record for my benefit.
Comment 1 Ferris McCormick (RETIRED) gentoo-dev 2005-12-04 06:31:30 UTC
*** Bug 114442 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 07:02:35 UTC
(In reply to comment #0)
> cc1: error: unrecognized option `-fno-stack-protector'

...

> truetype-fonts type1-fonts vanilla vorbis win32codec xinerama xml xml2

So let the user stops putting USE=vanilla into make.conf and recompiles gcc.

*** This bug has been marked as a duplicate of 101471 ***