Gentoo Archives: gentoo-user

From: Li <fender0107401@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Failed to emerge sys-devel/libperl-5.8.8-r2
Date: Thu, 14 Jan 2010 02:40:47
Message-Id: 20100114023936.GA24869@PC-686.Workstation
In Reply to: [gentoo-user] Re: Failed to emerge sys-devel/libperl-5.8.8-r2 by walt
1 On Wed, Jan 13, 2010 at 05:07:25PM -0800, walt wrote:
2 > On 01/13/2010 04:01 AM, Li wrote:
3 >
4 > > CCCMD = x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe -Wall
5 > > x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -o libperl.so.1.5.8 -shared -L/usr/local/lib64 -Wl,-O1 perl.o gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o -lnsl -ldl -lm -lcrypt -lutil -lc -Wl,-soname -Wl,libperl.so.`echo libperl.so.1.5.8 | cut -d. -f3`
6 > > perlio.o: file not recognized: File format not recognized...
7 >
8 > I see that no smart people have answered your question yet, so I'm safe if I give
9 > you a stupid answer instead :-)
10 >
11 > The problem file is perlio.o, so I'm wondering if the there was anything unusual
12 > about the compiler output for perlio.c, which would be somewhere earlier than the
13 > error you posted above.
14 >
15 > To be even less helpful, I've emerged libperl on x86 and ~amd64 with no errors.
16 > Sorry :-/
17 >
18
19 Thank you for the help.
20
21 I tried emerge -C libperl and emerge --deep --update --newuse world, but
22 still can't compile it.
23
24 > emerge --pre --verb libperl
25
26 These are the packages that would be merged, in order:
27
28 Calculating dependencies... done!
29 [ebuild N ] sys-devel/libperl-5.8.8-r2 USE="berkdb gdbm -debug
30 -ithreads" 0 kB
31
32 Total: 1 package (1 new), Size of downloads: 0 kB
33
34 Even, I deleted the /usr/portage/dev-perl and the corresponding
35 distfiles, the problem still exist.
36
37 In the build log, I found this:
38
39 `sh cflags "optimize='-march=native -O2 -pipe'" perlio.o` -fPIC perlio.c
40 CCCMD = x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe -Wall
41 >perlio.c: In function 'PerlIO_debug':
42 >perlio.c:489: warning: ignoring return value of 'write', declared with attribute warn_unused_result
43 `sh cflags "optimize='-march=native -O2 -pipe'" perlapi.o` -fPIC perlapi.c
44 CCCMD = x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe -Wall
45 `sh cflags "optimize='-march=native -O2 -pipe'" numeric.o` -fPIC numeric.c
46 CCCMD = x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe -Wall
47 `sh cflags "optimize='-march=native -O2 -pipe'" locale.o` -fPIC locale.c
48 CCCMD = x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe -Wall
49 `sh cflags "optimize='-march=native -O2 -pipe'" pp_pack.o` -fPIC pp_pack.c
50 CCCMD = x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe -Wall
51 `sh cflags "optimize='-march=native -O2 -pipe'" pp_sort.o` -fPIC pp_sort.c
52 CCCMD = x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe -Wall
53 x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -o libperl.so.1.5.8 -shared -L/usr/local/lib64 -Wl,-O1 perl.o gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o -lnsl -ldl -lm -lcrypt -lutil -lc -Wl,-soname -Wl,libperl.so.`echo libperl.so.1.5.8 | cut -d. -f3`
54 perlio.o: file not recognized: File
55 format not recognized
56 collect2: ld returned 1 exit status
57 make: *** [libperl.so.1.5.8] Error 1
58
59 I think this is the point:
60 >perlio.c: In function 'PerlIO_debug':
61 >perlio.c:489: warning: ignoring return value of 'write', declared with attribute warn_unused_result
62
63 For details about build log see the attachment, if you have time. :)
64
65 fender0107401

Attachments

File name MIME type
log text/plain