arm64 ldconfig.real segfaults on some armhf libs

Bug #1490023 reported by dann frazier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
New
Undecided
Unassigned

Bug Description

I ran 'dpkg --add-architecture armhf' on my arm64 system so I could try to use an app that hasn't been ported to arm64 yet.
After installing some armhf libs, ldconfig began to segfault. Specifically, it seems to trip over libsystemd.so.0 and libudev.so.1. It seems to process other armhf libs just fine.

Revision history for this message
dann frazier (dannf) wrote :

(gdb) run
Starting program: /home/dannf/glibc-2.21/build-tree/arm64-libc/elf/ldconfig

Program received signal SIGSEGV, Segmentation fault.
is_library_hf (file_name=<optimized out>, file_length=<optimized out>, file_contents=0x7fb7d0b000)
    at ../sysdeps/unix/sysv/linux/aarch64/../arm/readelflib.c:68
68 if (SHT_ARM_ATTRIBUTES == shdrs[i].sh_type)

Which appears to be from debian/patches/arm/unsubmitted-ldconfig-cache-abi.diff

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.