|
From: Tom H. <to...@co...> - 2006-09-14 09:21:52
|
In message <43d...@ma...>
joh...@gm... wrote:
> Hi Tom,
> $ apt-cache policy binutils
> binutils:
> Installed: 2.17-1ubuntu1
> $ gcc --version
> gcc (GCC) 4.1.2 20060903 (prerelease) (Ubuntu 4.1.1-13ubuntu1)
>
>
> But i also have gcc 4.0 and gcc 3.4 installed. cmake should be using
> the 4.1.2 version right? I'm not sure how to check sorry.
I've had a look at the copy of the library you sent me now and I have
to say that it does look seriously bogus.
Trying to read it with libdwarf (via dwarfdump) also fails although
for a different reason - libddwarf's main complaint is that the
instructions in the FDE go beyond the length declared in the header.
If I disable that error in libdwarf then it appears to be able to
decode all the instructions without finding any unexpected opcodes
but I'm not 100% convinced that it is coping.
Equally the length mismatches may be throwing valgrind off, although
it doesn't look like it should from a quick look at the code.
Either way, it looks like the eh_frame information in the library is
horribly broken, which is most likely gcc's fault.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|