Gentoo Archives: gentoo-sparc

From: Ferris McCormick <fmccor@g.o>
To: Stefano Tagliaferri <stefano@××××××××××.net>
Cc: gentoo-sparc@l.g.o
Subject: [gentoo-sparc] Re: Error on emerge perl
Date: Sun, 04 Dec 2005 00:35:27
Message-Id: Pine.LNX.4.64.0512040020280.19011@terciopelo.krait.us
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Sat, 3 Dec 2005, Stefano Tagliaferri wrote:
5
6 > Hallo,
7 >
8 > i`m Stefano from Velletri (Italy) and i`m running an Ultra
9 > Sparc 10 (440Mhz processor):
10 > from dmesg:
11 > PROMLIB: Sun IEEE Boot Prom 3.25.3 2000/06/29 14:12
12 > Linux version 2.4.31-sparc-r2 (root@sparc64-b) (gcc version
13 > 3.3.5 (Gentoo Linux 3.3.5)) #1 SMP Thu Oct 6 15:12:47 CEST
14 > 2005 ARCH: SUN4U
15 >
16 > And this is the error when i emerge perl, i use Gentoo on
17 > Spar64 since October without problems
18 >
19 > `sh cflags "optimize='-O1 -mcpu=ultrasparc'" regcomp.o`
20 > regcomp.c CCCMD = sparc-unknown-linux-gnu-gcc -DPERL_CORE -c
21 > -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
22 > -D_FILE_OFFSET_BITS=64 -fno-stack-protector -O1
23 > -mcpu=ultrasparc -Wall cc1: error: unrecognized option
24 > `-fno-stack-protector' make: *** [regcomp.o] Error 1
25 >
26 > !!! ERROR: dev-lang/perl-5.8.7-r2 failed.
27 > !!! Function src_compile, Line 268, Exitcode 2
28 > !!! Unable to make
29 > !!! If you need support, post the topmost build error, NOT
30 > this status message.
31 >
32
33 It shouldn't do this, of course, but there is not enough information
34 here for me to guess what is going on. (Hint: '-fno-stack-protector' is a
35 recognized option.) Further, you will get better results by filing a bug
36 report at https://bugs.gentoo.org than by asking on just the sparc
37 developer list. I've redirected the CC to gentoo-sparc@g.o (where
38 you will get a wider reading), but still probably not an answer.
39
40 By the way, when you file the bug, you will be asked to provide a lot of
41 environment information, such as output from 'emerge --info'. For a
42 problem like yours, that can be particularly important. (Unless the
43 answer is obvious, but I'm just not seeing it.)
44
45 (Good CFLAGS for that system are CFLAGS = "-O2 -mcpu=ultrasparc -pipe")
46
47 >
48 > Ciao,
49 >
50 > S.
51 >
52
53 This was a non-answer and someone else might have one for you, but if not
54 your best approach is to file the bug report.
55
56 Regards,
57 - --
58 Ferris McCormick (P44646, MI) <fmccor@g.o>
59 Developer, Gentoo Linux (sparc, devrel)
60 -----BEGIN PGP SIGNATURE-----
61 Version: GnuPG v1.4.2 (GNU/Linux)
62
63 iD8DBQFDkjmsQa6M3+I///cRApL7AKDW/OZ+30eImU483/X+9Ike/kwHegCdHcvp
64 WGZGo2V6Ojb81ooDTIOtWd0=
65 =uXIL
66 -----END PGP SIGNATURE-----
67 --
68 gentoo-sparc@g.o mailing list