This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Inconsistency detected by ld.so: dynamic-link.h: 161:elf_get_dynamic_info: Assertion `info[15] == ((void *)0)' failed!
- From: "Jeremy C. Reed" <reed at reedmedia dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 26 Sep 2003 17:57:45 -0700 (PDT)
- Subject: Re: Inconsistency detected by ld.so: dynamic-link.h: 161:elf_get_dynamic_info: Assertion `info[15] == ((void *)0)' failed!
On Thu, 25 Sep 2003, Daniel Jacobowitz wrote:
> > Inconsistency detected by ld.so: dynamic-link.h: 161:
> > elf_get_dynamic_info: Assertion `info[15] == ((void *)0)' failed!
> > I used GCC 3.3.1. I don't know if it is related, but gcc is built with
> > DRIVER_DEFINES = \
> > -DLINK_LIBGCC_SPEC="\"%D $(RPATH_FLAG)$(prefix)/lib\"" \
>
> This is probably causing ld.so to be linked with an rpath.
>
> Don't do that. If you don't understand all the issues with using an
> rpath, I highly recommend you not use one.
Thank you, Daniel! glibc built and is working for me now.
I am still using the same GCC for now, but used gcc --specs=/my/newspecs
instead.
gcc -dumpspecs | awk '{ if (found == 1 && $0 ~ /^\%D -R/) { print
substr($0,1,2) ; found = 2 ; next ; } if ( $0 ~ /^\*link_libgcc/ ) {
found++ } print }' > newspecs
I am not sure about all the negative issues with using an rpath. (But I'd
like to learn more.) This gcc (that sets RPATH /usr/gcc3/lib) is provided
by pkgsrc. It used by many to build and use qt3, gnome, kde, openldap and
thousands of other programs.
Jeremy C. Reed
http://bsd.reedmedia.net/