[CentOS] Mysterious versioning reported by file command

John Stanley john.stanley at elslc.com
Sun May 27 03:12:22 UTC 2012


On Sat, 2012-05-26 at 17:21 -0600, Frank Cox wrote:

> Ok, then where does it come from, since it's not the current kernel version and
> it's not the elfutils version?  gcc somehow finds that number and inserts it
> into the binary.  Where did it find it and why is that number not the same as
> the other stuff, notably the kernel, since it appears to be a kernel version
> number?  Just not the current kernel version number.

An educated guess would be because the C and C++ ABI is backwards
compatable with el5.  Check it out...build the code on el5 and it should
run under el6. For el5 you need the gcc44 update package.


John




More information about the CentOS mailing list