This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inconsistency detected by 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 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
> >   -DLINK_LIBGCC_SPEC="\"%D $(RPATH_FLAG)$(prefix)/lib\"" \
> This is probably causing 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

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]