Gentoo Archives: gentoo-amd64

From: Olivier Crete <tester@g.o>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] undefined reference to `attr_copy_check_permissions'
Date: Tue, 05 Dec 2006 19:51:19
Message-Id: 1165348064.2590.15.camel@cocagne.max-t.internal
In Reply to: [gentoo-amd64] undefined reference to `attr_copy_check_permissions' by Brian Litzinger
1 Hi,
2 On Tue, 2006-05-12 at 09:33 -0800, Brian Litzinger wrote:
3 > During my most recent emerge -u world:
4 >
5 > x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64
6 > -fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o
7
8 do you have -Wl,--as-needed in your CFLAGS ?
9
10 > ../lib/libcoreutils.a ../lib/libcoreutils.a -lrt
11 > copy.o: In function `copy_attr_filter':
12 > copy.c:(.text+0x5a5): undefined reference to `attr_copy_check_permissions'
13 > copy.o: In function `copy_internal':
14 > copy.c:(.text+0xb3b): undefined reference to `attr_copy_file'
15 > collect2: ld returned 1 exit status
16 > make[2]: *** [cp] Error 1
17 > make[2]: *** Waiting for unfinished jobs....
18 > make[2]: Leaving directory
19 > `/var/tmp/portage/sys-apps/coreutils-6.6/work/coreutils-6.6/src'
20 > make[1]: *** [all] Error 2
21 > make[1]: Leaving directory
22 > `/var/tmp/portage/sys-apps/coreutils-6.6/work/coreutils-6.6/src'
23 > make: *** [all-recursive] Error 1
24 >
25 > !!! ERROR: sys-apps/coreutils-6.6 failed.
26 >
27 > Nothing related to undefined reference to `attr_copy_check_permissions'
28 > in google or gentoo forums.
29 >
30 > Anyone else hit this?
31 >
32 > --
33 > Brian Litzinger
34 > The evolution of Unix: 1970 -x, 2000 --x, 2030, ----x
35 --
36 Olivier Crête
37 tester@g.o
38 Gentoo Developer
39
40
41 --
42 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] undefined reference to `attr_copy_check_permissions' Brian Litzinger <brian@××××××××××××.com>