Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135545 - Linking of net-misc/wget fails w/ FEATURES="confcache"
Summary: Linking of net-misc/wget fails w/ FEATURES="confcache"
Status: RESOLVED DUPLICATE of bug 135069
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-04 11:43 UTC by spiralvoice
Modified: 2006-06-04 11:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spiralvoice 2006-06-04 11:43:59 UTC
i686-pc-linux-gnu-gcc -march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe -Wl,-O1 -Wl,--sort-common -o wget  cmpt.o connect.o convert.o cookies.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o  hash.o host.o html-parse.o html-url.o http.o http-ntlm.o init.o log.o main.o gen-md5.o netrc.o progress.o ptimer.o recur.o res.o retr.o safe-ctype.o snprintf.o openssl.o url.o utils.o version.o xmalloc.o  -lssl -lcrypto -ldl
ptimer.o: In function `posix_measure':
ptimer.c:(.text+0x17): undefined reference to `clock_gettime'
ptimer.o: In function `ptimer_new':
ptimer.c:(.text+0xe5): undefined reference to `clock_getres'
ptimer.c:(.text+0x116): undefined reference to `clock_getres'

Linking with -lrt solves this problem.
I could compile wget without problems, but after changing some
CFLAGS it fails now while emerge -e system.

Flags before were :
CFLAGS="-march=athlon-xp -O3 -fforce-addr -fomit-frame-pointer -ftracer -pipe"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS=""

Portage 2.1_rc4-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden -fno-enforce-eh-specs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.inode.at http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="de"
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 /usr/portage/local/layman/ecatmur"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acpi alsa arts automount avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cli cups dbus dri dvd dvdr dvdread eds emboss encode ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif glitz gmp gnokii gpm graphviz gs gtk gtk2 hal howl idn ieee1394 imagemagick imap imlib isdnlog jbig joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lame lcms libg++ libwww lzo mad matroska mbox mhash mikmod mmx mng mozilla mozsvg mp3 mpeg mplayer ncurses nls nptl nsplugin nvidia ogg openexr opengl oss pam pcre pdflib perl pic png ppds pppd qt quicktime readline real reflection samba session slp sndfile spell spl sse ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis win32codecs wmf xine xinerama xml xmms xorg xprint xv xvid zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_de userland_GNU video_cards_nv video_cards_vesa video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 11:46:46 UTC

*** This bug has been marked as a duplicate of 135069 ***