Linux Compilers require a glibc fix (headers)

There is a glibc bug that makes our new C Compiler on Linux not work. The symptom looks like this:

> "helloworld.c", line 8: internal compiler error: DBGGEN ERROR:
> FILE="../src/dbg_libdwarf.c", LINE=46, Could not load dwarf library:
> libdwarf.so : libdwarf.so: cannot open shared object file: No such file
> or directory [DBG_GEN 5.0.8]
> cc: acomp failed for helloworld.c

The way to fix it on SuSE Linux Enterprise 9 (our primary tested version of SuSE) is to use this patch. But now we have someone asking how to fix that in SuSE 9.1? Now I’m at the limits of my Linux experience. Here are my questions:

  • How do I find out what version of glibc is installed?
  • How do I find out which version of glibc got a specific fix?

I know I can use rpm -qf to find out which SuSE package is installed and contains /lib/libc.so.XX But that doesn’t give me the glibc version (like 2.3.3 or whatever). The bug I’m looking at is described as “Bug 47950” in the SuSE SLES9 docs. Is that a novell-specific bug tracking system? Technorati tags :

Comments are closed.