FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-08-2010, 09:49 AM
Maximilian Bräutigam
 
Default sys-libs/glibc gives strange error

Hi all,

I'm trying to update my glibc for now 2 weeks or so and it doesn't
matter what I'm doing, I run into a strange error.

"""
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.a(init-first.os).data+0x0):
multiple definition of `__libc_multiple_libcs'
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os.bss+0xe8):
first defined here
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.a(dl-addr.os):
In function `_dl_addr_inside_object':
dl-addr.c.text+0x0): multiple definition of `_dl_addr_inside_object'
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os.text+0x11260):
first defined here
collect2: ld gab 1 als Ende-Status zurück
[...]
make for amd64 failed
"""

The last 100 lines of the build.log you can find here:
http://paste.pocoo.org/show/287750/

And my emerge --info sys-libs/glibc here:
http://paste.pocoo.org/show/287772/

I tried many things like: playing with cflags "-fstack-protector",
downgrading gcc from 4.4.5 to 4.4.4, recompiling DEPEND packages and
later hole @system. To my mind it is not a bug of glibc, at least I
didn't find anything appropiate at bugs.gentoo.org and on another
machine in office it's compiling w/o errors.

Any idea and help is welcome, slowly I'm becoming despaired.
Thank you very much in advance for your reply.
Kind regards,
der Max

P.S. In the last time I receive lots of segfaults, does it has something
to do with my glibc error?
 
Old 11-08-2010, 11:04 AM
Alex Schuster
 
Default sys-libs/glibc gives strange error

Maximilian Bräutigam writes:

> I'm trying to update my glibc for now 2 weeks or so and it doesn't
> matter what I'm doing, I run into a strange error.
>
> """
> /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
> nux-gnu-nptl/libc_pic.a(init-first.os).data+0x0): multiple definition
> of `__libc_multiple_libcs'
> /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
> nux-gnu-nptl/elf/dl-allobjs.os.bss+0xe8): first defined here
> /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
> nux-gnu-nptl/libc_pic.a(dl-addr.os): In function
> `_dl_addr_inside_object':
> dl-addr.c.text+0x0): multiple definition of `_dl_addr_inside_object'
> /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
> nux-gnu-nptl/elf/dl-allobjs.os.text+0x11260): first defined here
> collect2: ld gab 1 als Ende-Status zurück
> [...]


> I tried many things like: playing with cflags "-fstack-protector",

Hmm, does this mean you removed -fstack-protector?

> downgrading gcc from 4.4.5 to 4.4.4, recompiling DEPEND packages and
> later hole @system. To my mind it is not a bug of glibc, at least I
> didn't find anything appropiate at bugs.gentoo.org and on another
> machine in office it's compiling w/o errors.

http://bugs.gentoo.org/show_bug.cgi?id=332823 says that -fstack-protector
is supported for hardened profiles only.

Wonko
 
Old 11-08-2010, 12:34 PM
Mick
 
Default sys-libs/glibc gives strange error

On Monday 08 November 2010 12:04:50 Alex Schuster wrote:
> Maximilian Bräutigam writes:
> > I'm trying to update my glibc for now 2 weeks or so and it doesn't
> > matter what I'm doing, I run into a strange error.
> >
> > """
> > /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
> > nux-gnu-nptl/libc_pic.a(init-first.os).data+0x0): multiple definition
> > of `__libc_multiple_libcs'
> > /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
> > nux-gnu-nptl/elf/dl-allobjs.os.bss+0xe8): first defined here
> > /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
> > nux-gnu-nptl/libc_pic.a(dl-addr.os): In function
> > `_dl_addr_inside_object':
> > dl-addr.c.text+0x0): multiple definition of `_dl_addr_inside_object'
> > /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
> > nux-gnu-nptl/elf/dl-allobjs.os.text+0x11260): first defined here
> > collect2: ld gab 1 als Ende-Status zurück
> > [...]
> >
> >
> > I tried many things like: playing with cflags "-fstack-protector",
>
> Hmm, does this mean you removed -fstack-protector?
>
> > downgrading gcc from 4.4.5 to 4.4.4, recompiling DEPEND packages and
> > later hole @system. To my mind it is not a bug of glibc, at least I
> > didn't find anything appropiate at bugs.gentoo.org and on another
> > machine in office it's compiling w/o errors.
>
> http://bugs.gentoo.org/show_bug.cgi?id=332823 says that -fstack-protector
> is supported for hardened profiles only.

BTW, did you try setting MAKEOPTS="-j1" in your /etc/make.conf or command
line, just this once? It usually solves emerge problems here and is the first
thing I try.
--
Regards,
Mick
 

Thread Tools




All times are GMT. The time now is 11:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org