Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20922 - emerging glibc-2.3.1-r4 fails with pic in use flags
Summary: emerging glibc-2.3.1-r4 fails with pic in use flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 07:56 UTC by Diego Palacios
Modified: 2003-10-13 15:49 UTC (History)
1 user (show)

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 Diego Palacios 2003-05-13 07:56:08 UTC
: /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_nonshared.a
gcc   -nostdlib -nostartfiles -r -o /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.os \
 -Wl,-d -Wl,--whole-archive /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.a
/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.a: member /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.a(cfmakeraw.os) in archive is not an object
collect2: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.os] Error 1
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.1-r4 failed.
!!! Function src_compile, Line 222, Exitcode 2
!!! (no error message)

this is my emerge info

rosanegra root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-ck6 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://gentoo.linux.no/ http://ftp.gentoo.or.kr/ http://gentoo.gnukorea.org/ http://distro.ibiblio.org/gentoo "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts bonobo svga java guile X sdl gpm tcpd pam ssl python esd imlib oggvorbis gnome gtk qt kde motif opengl aalib acl cdr directfb dvd fbcon gd gtkhtml mozilla moznoirc mozsvg nptl -oss perl pic samba tcltk xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-tbird  -O3 -pipe -fomit-frame-pointer -fPIC -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow"
CXXFLAGS="-mcpu=athlon-tbird  -O3 -pipe -fomit-frame-pointer -fPIC -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-05-13 12:51:52 UTC
pic in use flag is ok

! But Remove It From CFLAGS !
Comment 2 Diego Palacios 2003-05-13 16:58:22 UTC
Without -fPIC en cflags, the same error.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-05-13 17:16:38 UTC
try again with mcpu=athlon-tbird -O2 -pipe 
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-13 17:45:11 UTC
Check that you have enouth disk space.  Errors like these are usually due
to a corrupted object, which could be caused by the object being created
when disk space free is zero (or not enouth), or faulty hardware.  (No,
I do not say it could not be a problem with gcc/binutils/glibc, but in
my experience it is usually disk/memory that runs out, or faulty memory/cpu).
Comment 5 Diego Palacios 2003-05-13 21:58:23 UTC
I have space in my hd.
With that flags, I fails compiling too
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-13 15:49:08 UTC
Binutils bug that should be fixed in latest stable.