* [gentoo-amd64] undefined reference to `attr_copy_check_permissions'
@ 2006-12-05 17:33 Brian Litzinger
2006-12-05 19:47 ` Olivier Crete
2007-01-11 8:58 ` [gentoo-amd64] Re: undefined reference to `attr_copy_check_permissions' [SOLVED] Brian Litzinger
0 siblings, 2 replies; 7+ messages in thread
From: Brian Litzinger @ 2006-12-05 17:33 UTC (permalink / raw
To: gentoo-amd64
During my most recent emerge -u world:
x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64
-fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o
../lib/libcoreutils.a ../lib/libcoreutils.a -lrt
copy.o: In function `copy_attr_filter':
copy.c:(.text+0x5a5): undefined reference to `attr_copy_check_permissions'
copy.o: In function `copy_internal':
copy.c:(.text+0xb3b): undefined reference to `attr_copy_file'
collect2: ld returned 1 exit status
make[2]: *** [cp] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/sys-apps/coreutils-6.6/work/coreutils-6.6/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-apps/coreutils-6.6/work/coreutils-6.6/src'
make: *** [all-recursive] Error 1
!!! ERROR: sys-apps/coreutils-6.6 failed.
Nothing related to undefined reference to `attr_copy_check_permissions'
in google or gentoo forums.
Anyone else hit this?
--
Brian Litzinger
The evolution of Unix: 1970 -x, 2000 --x, 2030, ----x
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-amd64] undefined reference to `attr_copy_check_permissions'
2006-12-05 17:33 [gentoo-amd64] undefined reference to `attr_copy_check_permissions' Brian Litzinger
@ 2006-12-05 19:47 ` Olivier Crete
2006-12-05 20:30 ` Brian Litzinger
2007-01-11 8:58 ` [gentoo-amd64] Re: undefined reference to `attr_copy_check_permissions' [SOLVED] Brian Litzinger
1 sibling, 1 reply; 7+ messages in thread
From: Olivier Crete @ 2006-12-05 19:47 UTC (permalink / raw
To: gentoo-amd64
Hi,
On Tue, 2006-05-12 at 09:33 -0800, Brian Litzinger wrote:
> During my most recent emerge -u world:
>
> x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64
> -fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o
do you have -Wl,--as-needed in your CFLAGS ?
> ../lib/libcoreutils.a ../lib/libcoreutils.a -lrt
> copy.o: In function `copy_attr_filter':
> copy.c:(.text+0x5a5): undefined reference to `attr_copy_check_permissions'
> copy.o: In function `copy_internal':
> copy.c:(.text+0xb3b): undefined reference to `attr_copy_file'
> collect2: ld returned 1 exit status
> make[2]: *** [cp] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> `/var/tmp/portage/sys-apps/coreutils-6.6/work/coreutils-6.6/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/sys-apps/coreutils-6.6/work/coreutils-6.6/src'
> make: *** [all-recursive] Error 1
>
> !!! ERROR: sys-apps/coreutils-6.6 failed.
>
> Nothing related to undefined reference to `attr_copy_check_permissions'
> in google or gentoo forums.
>
> Anyone else hit this?
>
> --
> Brian Litzinger
> The evolution of Unix: 1970 -x, 2000 --x, 2030, ----x
--
Olivier Crête
tester@gentoo.org
Gentoo Developer
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-amd64] undefined reference to `attr_copy_check_permissions'
2006-12-05 19:47 ` Olivier Crete
@ 2006-12-05 20:30 ` Brian Litzinger
2006-12-06 13:29 ` Michael Weyershäuser
0 siblings, 1 reply; 7+ messages in thread
From: Brian Litzinger @ 2006-12-05 20:30 UTC (permalink / raw
To: gentoo-amd64
On Tue, Dec 05, 2006 at 02:47:44PM -0500, Olivier Crete wrote:
> Hi,
> On Tue, 2006-05-12 at 09:33 -0800, Brian Litzinger wrote:
> > During my most recent emerge -u world:
> >
> > x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64
> > -fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o
>
> do you have -Wl,--as-needed in your CFLAGS ?
I do not have '-Wl,--as-needed' in my CFLAGS so far as I understand
how things work.
grep CFLAGS /etc/make.conf
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
--
Brian Litzinger
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-amd64] undefined reference to `attr_copy_check_permissions'
2006-12-05 20:30 ` Brian Litzinger
@ 2006-12-06 13:29 ` Michael Weyershäuser
2006-12-06 19:15 ` Brian Litzinger
0 siblings, 1 reply; 7+ messages in thread
From: Michael Weyershäuser @ 2006-12-06 13:29 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
Brian Litzinger wrote:
> On Tue, Dec 05, 2006 at 02:47:44PM -0500, Olivier Crete wrote:
>> Hi,
>> On Tue, 2006-05-12 at 09:33 -0800, Brian Litzinger wrote:
>>> During my most recent emerge -u world:
>>>
>>> x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64
>>> -fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o
>> do you have -Wl,--as-needed in your CFLAGS ?
>
> I do not have '-Wl,--as-needed' in my CFLAGS so far as I understand
> how things work.
>
> grep CFLAGS /etc/make.conf
> CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
> CXXFLAGS="${CFLAGS}"
If --as-needed is somewhere it should be in LDFLAGS, not CFLAGS. To be
sure please post the output of emerge --info here.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-amd64] undefined reference to `attr_copy_check_permissions'
2006-12-06 13:29 ` Michael Weyershäuser
@ 2006-12-06 19:15 ` Brian Litzinger
0 siblings, 0 replies; 7+ messages in thread
From: Brian Litzinger @ 2006-12-06 19:15 UTC (permalink / raw
To: gentoo-amd64
> On Tue, 2006-05-12 at 09:33 -0800, Brian Litzinger wrote:
> During my most recent emerge -u world:
x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64
-fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o
../lib/libcoreutils.a ../lib/libcoreutils.a -lrt
copy.o: In function `copy_attr_filter':
copy.c:(.text+0x5a5): undefined reference to
`attr_copy_check_permissions'
On Wed, Dec 06, 2006 at 02:29:18PM +0100, Michael Weyersh?user wrote:
> If --as-needed is somewhere it should be in LDFLAGS, not CFLAGS. To be
> sure please post the output of emerge --info here.
Portage 2.1.2_rc2-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r1 x86_64 AMD Turion(tm) 64 Mobile Technology MT-37
Gentoo Base System version 1.12.6
Last Sync: Wed, 06 Dec 2006 18:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa alsa_cards_intel8x0 alsa_cards_usb-audio amd64 berkdb bitmap-fonts browserplugin cairo cli cracklib crypt cups dbus divx4linux dlloader dri dts dv dvb dvd dvdread elibc_glibc encode examples faad fame ffmpeg fortran gdbm gimp glitz gnome gpm gtk gtk2 httpd iconv idea input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog ithreads jpeg kernel_linux lcms libg++ libnotify libsexy live lzo mjpeg mmx2 motif mp4live mpeg mpeg2 ncurses network nls nowin nptl nptlonly nsplugin nvidia opengl oss pam pcre pdf perl player png ppds pppd python readline reflection rtsp session spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_nvidia video_cards_vesa vlm wxwindows xorg xprint xv xvmc zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
--
Brian Litzinger
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-amd64] Re: undefined reference to `attr_copy_check_permissions' [SOLVED]
2006-12-05 17:33 [gentoo-amd64] undefined reference to `attr_copy_check_permissions' Brian Litzinger
2006-12-05 19:47 ` Olivier Crete
@ 2007-01-11 8:58 ` Brian Litzinger
2007-01-11 10:37 ` Duncan
1 sibling, 1 reply; 7+ messages in thread
From: Brian Litzinger @ 2007-01-11 8:58 UTC (permalink / raw
To: gentoo-amd64
On Tue, Dec 05, 2006 at 09:33:48AM -0800, Brian Litzinger wrote:
> During my most recent emerge -u world:
>
> x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -march=athlon64
> -fomit-frame-pointer -pipe -Wl,--as-needed -o dd dd.o
> ../lib/libcoreutils.a ../lib/libcoreutils.a -lrt
> copy.o: In function `copy_attr_filter':
> copy.c:(.text+0x5a5): undefined reference to `attr_copy_check_permissions'
> copy.o: In function `copy_internal':
> copy.c:(.text+0xb3b): undefined reference to `attr_copy_file'
> !!! ERROR: sys-apps/coreutils-6.6 failed.
This problem continued for quite a while.
I tracked 'attr_copy_file' to sys-apps/attr.
I re-emerged sys-apps/attr followed by core-utils and all is well.
--
Brian Litzinger
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-amd64] Re: undefined reference to `attr_copy_check_permissions' [SOLVED]
2007-01-11 8:58 ` [gentoo-amd64] Re: undefined reference to `attr_copy_check_permissions' [SOLVED] Brian Litzinger
@ 2007-01-11 10:37 ` Duncan
0 siblings, 0 replies; 7+ messages in thread
From: Duncan @ 2007-01-11 10:37 UTC (permalink / raw
To: gentoo-amd64
Brian Litzinger <brian@worldcontrol.com> posted
20070111085813.GA6141@top.worldcontrol.com, excerpted below, on Thu, 11
Jan 2007 00:58:13 -0800:
> I tracked 'attr_copy_file' to sys-apps/attr.
>
> I re-emerged sys-apps/attr followed by core-utils and all is well.
Thanks. It's always great to read how something was resolved. =8^)
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-01-11 10:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 17:33 [gentoo-amd64] undefined reference to `attr_copy_check_permissions' Brian Litzinger
2006-12-05 19:47 ` Olivier Crete
2006-12-05 20:30 ` Brian Litzinger
2006-12-06 13:29 ` Michael Weyershäuser
2006-12-06 19:15 ` Brian Litzinger
2007-01-11 8:58 ` [gentoo-amd64] Re: undefined reference to `attr_copy_check_permissions' [SOLVED] Brian Litzinger
2007-01-11 10:37 ` Duncan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox