07-06-2011 02:38 AM
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?
microblazeel-unknown-linux-gnu-gcc: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by microblazeel-unknown-linux-gnu-gcc)
07-06-2011 03:46 PM
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.
07-06-2011 08:12 PM
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?