cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rickysu
Explorer
Explorer
3,041 Views
Registered: ‎08-12-2007

Does MB OSL kernel compiling need glibc 2.11 and 2.4 both for microblaze_v2.0_le?

I first tried to compile it on RHEL4 servers, it reports glibc 2.11 and 2.4 are missing.

I then turned to RHEL5, it reports glibc 2.11 not found.

 

Does this mean both versions are required? How can I make such a platform with both versions installed?

 

Error Message:

microblazeel-unknown-linux-gnu-gcc: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by microblazeel-unknown-linux-gnu-gcc)

 

0 Kudos
2 Replies
linnj
Xilinx Employee
Xilinx Employee
3,033 Views
Registered: ‎09-10-2008

I have seen that they do need 2.11, I didn't see that they needed both as that doesn't make much sense to me.

 

I don't know of a Xilinx RH machine this will work on as I have only used it on an Ubuntu machine.

 

Sorry.

0 Kudos
rickysu
Explorer
Explorer
3,029 Views
Registered: ‎08-12-2007

I found the gcc always use the libc.so.6 in /lib64/tls directory. This is a 64 bit version which doesn't include 2.11.

 

But the 32bit version has 2.11.

 

I tried to set /lib to LD_LIBRARY_PATH, LIBRARY_PATH  and even PATH, none of them changed the library path used by microblazeel-unknown-linux-gnu-gcc.

 

So it comes to a general question: Is there a way to assign library path for kernel compiling?

 

Thanks

Ricky

0 Kudos