Mailing List Archive

Re: Error on emerge perl
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 3 Dec 2005, Stefano Tagliaferri wrote:

> Hallo,
>
> i`m Stefano from Velletri (Italy) and i`m running an Ultra
> Sparc 10 (440Mhz processor):
> from dmesg:
> PROMLIB: Sun IEEE Boot Prom 3.25.3 2000/06/29 14:12
> Linux version 2.4.31-sparc-r2 (root@sparc64-b) (gcc version
> 3.3.5 (Gentoo Linux 3.3.5)) #1 SMP Thu Oct 6 15:12:47 CEST
> 2005 ARCH: SUN4U
>
> And this is the error when i emerge perl, i use Gentoo on
> Spar64 since October without problems
>
> `sh cflags "optimize='-O1 -mcpu=ultrasparc'" 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 -O1
> -mcpu=ultrasparc -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.
>

It shouldn't do this, of course, but there is not enough information
here for me to guess what is going on. (Hint: '-fno-stack-protector' is a
recognized option.) Further, you will get better results by filing a bug
report at https://bugs.gentoo.org than by asking on just the sparc
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.

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.)

(Good CFLAGS for that system are CFLAGS = "-O2 -mcpu=ultrasparc -pipe")

>
> Ciao,
>
> S.
>

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.

Regards,
- --
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (sparc, devrel)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDkjmsQa6M3+I///cRApL7AKDW/OZ+30eImU483/X+9Ike/kwHegCdHcvp
WGZGo2V6Ojb81ooDTIOtWd0=
=uXIL
-----END PGP SIGNATURE-----
--
gentoo-sparc@gentoo.org mailing list
Re: Error on emerge perl [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 4 Dec 2005, Stefano wrote:

> Il dom, 2005-12-04 alle 01:34, Ferris McCormick ha scritto:
>
> Hallo Ferris,
>
>>> !!! 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
>
>
>> 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
>
>
>
I have created Bug https://bugs.gentoo.org/show_bug.cgi?id=114443
on your behalf. Please log into http://bugs.gentoo.org, create an account
if you don't have one, and add yourself to the CC: list for this bug.
Otherwise, you will never know the outcome.

If I were you, I'd look at what gcc-config is set to.

By the way, is this the first thing perl is trying to compile, or is this
in the middle of the build someplace? After you have added yourself to
Bug 114443, please add the context leading up to this error (The emerge
output leading up to it.) PLEASE add it to the Bug yourself; if you send
it to me, there is a good chance it will get lost. :)

Sorry, I'm not a very dependable interface between you and
<bugs.gentoo.org>; things will go much more smoothly if you enter
information onto the bug itself.

(If you have already entered this Bug, ignore all this, but if you did, I
couldn't find it.)

Regards,
Ferris

- --
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (sparc, devrel)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDkv0RQa6M3+I///cRAhI1AKCGjTIKw6atSOG/wx1iio/cUUlr1wCfRt7B
9vE1kLh/iqU0E9t7vtD7dNQ=
=0310
-----END PGP SIGNATURE-----
--
gentoo-sparc@gentoo.org mailing list
Re: Error on emerge perl [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 4 Dec 2005, Stefano wrote:

> Il dom, 2005-12-04 alle 01:34, Ferris McCormick ha scritto:
>
> Hallo Ferris,
>
.............

> 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
>

Stefano,
Here's the answer: You will need to rebuild gcc:
=============
So let the user stops putting USE=vanilla into make.conf and recompiles
gcc.
=============
You will need to take 'vanilla' out of your USE flags when you rebuild the
compiler. I don't know why you want it at all, and if you have it in your
USE= flags in make.conf, consider removing it. In any event, this should
get you a better gcc:

USE='-vanilla' emerge gcc

=============
Then perl should build correctly. (Response thanks to Jakob Moc.)

Long discussion at https://bugs.gentoo.org/show_bug.cgi?id=101471
which you should review if you want to USE=vanilla for some things.

Regards,
Ferris
- --
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (sparc, devrel)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDkwiYQa6M3+I///cRAlmmAJ9l8Qai7WaYO4g69FoKjo2t7gSAmACfT/jd
QKTqfrLTxmLam/OR+d0wM/8=
=r9Up
-----END PGP SIGNATURE-----
--
gentoo-sparc@gentoo.org mailing list