Chris Quenelle is a tools developer at Oracle Corp. He's worked on performance and debugging tools at Sun and Oracle for over 15 years. He reads comic books and science fiction,and has more tivos than he can keep track of.

 

May 2012
SMTWTFS
«Apr  
 12345
6789101112
13141516171819
20212223242526
2728293031 

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:

http://quenelle.org/unix/wp-content/plugins/sociofluid/images/digg_24.pnghttp://quenelle.org/unix/wp-content/plugins/sociofluid/images/reddit_24.pnghttp://quenelle.org/unix/wp-content/plugins/sociofluid/images/dzone_24.pnghttp://quenelle.org/unix/wp-content/plugins/sociofluid/images/stumbleupon_24.pnghttp://quenelle.org/unix/wp-content/plugins/sociofluid/images/delicious_24.pnghttp://quenelle.org/unix/wp-content/plugins/sociofluid/images/furl_24.pnghttp://quenelle.org/unix/wp-content/plugins/sociofluid/images/technorati_24.pnghttp://quenelle.org/unix/wp-content/plugins/sociofluid/images/facebook_24.pnghttp://quenelle.org/unix/wp-content/plugins/sociofluid/images/twitter_24.png

Leave a Reply

  

  

  

You can use these HTML tags

<a href=""title=""><abbr title=""><acronym title=""><b><blockquote cite=""><cite><code><del datetime=""><em><i><q cite=""><strike><strong>