compiler bug turning up in cmake package?

Ulrich Drepper drepper at redhat.com
Tue Aug 26 14:43:54 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew Woehlke wrote:
> The relevant code is pretty boring:
> 
> 785     bool cmELF::Valid() const
> 786     {
> 787       return this->Internal && this->Internal->GetFileType() !=
> FileTypeInvalid;
> 788     }

It's most certainly not that simple.  I haven't looked at the sources.
But the asm code does not really correspond to the code above.  The
function above is most certainly inlined.  The problem might very well
(and most likely is) in the use of this function.  Look at the

  cmELF::GetRPath()

function and where it directly or indirectly uses the Valid function.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAki0FqoACgkQ2ijCOnn/RHSU1gCfTrXyNODqmhe8HVq0/TqUimNP
qp8AoLLh96ff+ujzn7Foq7nULxhvivtX
=br4V
-----END PGP SIGNATURE-----




More information about the fedora-devel-list mailing list