Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Another findutils failed (but on Solaris)
Date: Wed, 07 May 2008 18:35:43
Message-Id: 20080507183523.GH16108@gentoo.org
In Reply to: Re: [gentoo-alt] Another findutils failed (but on Solaris) by Bacchella Fabrice
1 On 07-05-2008 20:18:51 +0200, Bacchella Fabrice wrote:
2 >
3 > Le 7 mai 08 à 18:53, Jeremy Olexa a écrit :
4 >>
5 >>
6 >> But, I don't even know if that is valid... It would be interesting to
7 >> know if you could compile findutils by hand, using the trusty
8 >> ./configure, make, make install. Hopefully someone else can chime in
9 >> here.
10 >
11 > I got it when I build manually
12 > my exports :
13 > declare -x CFLAGS="-O2 -pipe -m64"
14 > declare -x CXXFLAGS="-O2 -pipe -m64"
15
16 Hehe....
17 are you bootstrapping?
18
19 64-bits Solaris isn't in my usual testing stage. I'll see what I
20 encounter.
21
22 > declare -x LC_CTYPE
23 > declare -x MAKE="gmake"
24 > declare -x MAKEOPTS
25 > declare -x PAGER="/usr/bin/less"
26 > declare -x
27 > PATH="/data/gentoo/usr/bin:/data/gentoo/bin:/data/gentoo/tmp/usr/bin:/data/gentoo/tmp/bin:/usr/sfw/bin:/usr/sfw/i386-sun-solaris2.10/bin:/usr/bin:/bin:/sbin"
28 > declare -x PWD="/tmp/findutils-4.4.0"
29 >
30 >
31 > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../lib
32 > -I../gnulib/lib -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -O2
33 > -pipe -m64 -MT pred.o -MD -MP -MF .deps/pred.Tpo -c -o pred.o pred.c
34 > pred.c: In function `file_sparseness':
35 > pred.c:661: error: wrong type argument to unary minus
36 >
37 > or another try :
38 > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../lib
39 > -I../gnulib/lib -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2
40 > -MT pred.o -MD -MP -MF .deps/pred.Tpo -c -o pred.o pred.c
41 > pred.c: In function `file_sparseness':
42 > pred.c:661: error: wrong type argument to unary minus
43 >
44 > The wrong line :
45 > return p->st_blocks < 0 ? -HUGE_VAL : HUGE_VAL;
46 > $ find . -type f | xargs grep HUGE_VAL
47 > ./find/pred.c: return p->st_blocks < 0 ? -HUGE_VAL : HUGE_VAL;
48 >
49 > my gcc :
50 > $ type -p gcc
51 > /usr/sfw/bin/gcc
52 >
53 > $ gcc -v
54 > Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
55 > Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
56 > --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
57 > --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
58 > --enable-shared
59 > Thread model: posix
60 > gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
61 >
62 > The find I'm trying to compile is :
63 > http://www.gentoo.org/~grobian/distfiles/findutils-4.4.0-patched.tar.gz--
64 > gentoo-alt@l.g.o mailing list
65 >
66
67 --
68 Fabian Groffen
69 Gentoo on a different level
70 --
71 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] Another findutils failed (but on Solaris) Bacchella Fabrice <fabrice.bacchella@×××××××.com>