finishing cancellation handling

Ulrich Drepper drepper@redhat.com
Mon Sep 8 19:20:00 GMT 2003


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

Steven Munroe wrote:

>  ../find-cps -f libc_pic.a -d libc.so open close
> find-cps: ../../libelf/elf32_getshdr.c:93: elf64_getshdr: Assertion
> `ehdr->e_ident[5] != 2 || (! 0 && (ehdr->e_shoff & (__alignof__
> (Elf64_Shdr) - 1)) != 0)' failed.
> Aborted
> 
> I assume that libelf.so is biarch? The only libelf.so in this install is
> 32-bit but the libc_pic.a and libc.so are 64-bit...

libelf from elfutils supports all architectures, nothin as crude as
biarch.  The error means that the ELF data structures as mmaped are
unnaturally aligned in memory.  This probably happens because the
alignment in the archive is unnatural.

If you recompile find-cps and change all ELF_C_READ_MMAP to ELF_C_READ
it should work.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/XNZz2ijCOnn/RHQRAse2AJsHOf2q0F1EKxQWuzyWDpIZWDErnQCggDIY
KKtrBTpCEyoqpUr+S7Sltdo=
=8M3q
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list