This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: finishing cancellation handling


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]