[Nix-dev] _rtld_global_ro at GLIBC_PRIVATE

Armijn Hemel armijn at uulug.nl
Mon Nov 15 11:36:57 CET 2004


hi Eelco,

> When compiling Stratego programs with gcc 3.3.3 from nix-pkgs, I get
> 
> /usr/lib/libm.so: undefined reference to `_rtld_global_ro at GLIBC_PRIVATE'
> collect2: ld returned 1 exit status
> make: *** [strc] Error 1
> 
> The only reference I found to this problem is 
> 
>   http://bugs.gentoo.org/show_bug.cgi?id=49089
> 
> which seems to suggest that there is a problem with gcc.

What version of binutils are you using?

I Googled a bit as well and found:

"_rtld_global_ro is defined in ld.so and exported from there.  If you
cannot use it something is wrong with ld.so, the way libm is built, or
your binutils."

http://sources.redhat.com/ml/libc-hacker/2004-05/msg00022.html

armijn 

-- 
 ---------------------------------------------------------------------------
  armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
 ---------------------------------------------------------------------------



More information about the nix-dev mailing list