Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

how get glibc version? this gives me an error! ($25000)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Gentoo Server
Apprentice
Apprentice
Posts: 279
Joined: Mon Jul 21, 2003 1:46 pm

how get glibc version? this gives me an error! ($25000)

  • Quote

Post by Gentoo Server » Fri Feb 13, 2004 12:31 pm

libcso=`ls /lib/libc.so.6* 2>/dev/null| tail -1`
GLIBC=`$libcso | grep "^GNU C" | sed -e 's/^[^0-9]*2./2./' -e 's/,.*//' `


lanner-server CDftp-2003r4n03p01 # $libcso | grep "^GNU C" | sed -e 's/^[^0-9]*2./2./' -e 's/,.*//'
Inconsistency detected by ld.so: rtld.c: 1252: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!


this I got from a $25.000 linux software we got

this line
GLIBC=`$libcso | grep "^GNU C" | sed -e 's/^[^0-9]*2./2./' -e 's/,.*//' `

gives me an error
Inconsistency detected by ld.so: rtld.c: 1252: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!

is this a gentoo bug or are the software developer wrong?
Top
pilla
Bodhisattva
Bodhisattva
User avatar
Posts: 7732
Joined: Wed Aug 07, 2002 8:19 pm
Location: Underworld

  • Quote

Post by pilla » Fri Feb 13, 2004 1:02 pm

Not very helpfull, but running your expensive code at my box (hopefully not breaking your copyrights)

Code: Select all

% libcso=`ls /lib/libc.so.6* 2>/dev/null| tail -1`
% echo $libcso
/lib/libc.so.6
% $libcso | grep "^GNU C" | sed -e 's/^[^0-9]*2./2./' -e 's/,.*//'
2.3.2
It seems like you have some problem with your ld. Maybe you should reemerge ld.so, maybe also binutils and glibc.
"I'm just very selective about the reality I choose to accept." -- Calvin
Top
Gentoo Server
Apprentice
Apprentice
Posts: 279
Joined: Mon Jul 21, 2003 1:46 pm

  • Quote

Post by Gentoo Server » Fri Feb 13, 2004 1:19 pm

pilla wrote:Not very helpfull, but running your expensive code at my box (hopefully not breaking your copyrights)

Code: Select all

% libcso=`ls /lib/libc.so.6* 2>/dev/null| tail -1`
% echo $libcso
/lib/libc.so.6
% $libcso | grep "^GNU C" | sed -e 's/^[^0-9]*2./2./' -e 's/,.*//'
2.3.2
It seems like you have some problem with your ld. Maybe you should reemerge ld.so, maybe also binutils and glibc.
i did this gentoo box fresh on on dual opteron system

CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"

gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib --with-x --disable-multilib
Thread model: posix
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)


looks like -O3 is still buggy damn!

i changed now to
CFLAGS="-O2 -march=pentium4"
Top
Gentoo Server
Apprentice
Apprentice
Posts: 279
Joined: Mon Jul 21, 2003 1:46 pm

  • Quote

Post by Gentoo Server » Fri Feb 13, 2004 1:58 pm

s3@lanner-server s3 $ $libcso | grep "^GNU C" | sed -e 's/^[^0-9]*2./2./' -e 's/,.*//'
s3@lanner-server s3 $ libcso=`ls /lib/libc.so.6* 2>/dev/null| tail -1`
s3@lanner-server s3 $ echo $libcso
/lib/libc.so.6
s3@lanner-server s3 $ $libcso | grep "^GNU C" | sed -e 's/^[^0-9]*2./2./' -e 's/,.*//'
Inconsistency detected by ld.so: rtld.c: 1252: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!
s3@lanner-server s3 $


this is indeeed a strange bug!
Top
makuk66
n00b
n00b
User avatar
Posts: 11
Joined: Tue Nov 19, 2002 1:49 pm

  • Quote

Post by makuk66 » Tue Feb 17, 2004 4:27 pm

duplicate of this thread, which refers to:
http://bugs.gentoo.org/show_bug.cgi?id=34733
Last edited by makuk66 on Tue Feb 17, 2004 10:54 pm, edited 1 time in total.
Top
pilla
Bodhisattva
Bodhisattva
User avatar
Posts: 7732
Joined: Wed Aug 07, 2002 8:19 pm
Location: Underworld

  • Quote

Post by pilla » Tue Feb 17, 2004 4:36 pm

makuk66 wrote:duplicate of this thread, which refers to:
http://bugs.gentoo.org/show_bug.cgi?id=34733
the first link has a problem and returns a 404.
"I'm just very selective about the reality I choose to accept." -- Calvin
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic