On 07/21/16 04:35 PM, Robert Mustacchi wrote:
On 7/20/16 20:34 , Ian Collins wrote:
I am trying to configure am ARM cross-compiler environment (from
yoctoproject.org) on an ubuntu 14.04 lx zone.
All of the configuration runs fine, but the compilers crap out thus:
arm-poky-linux-gnueabi-gcc
arm-poky-linux-g: Invalid interpreter
Segmentation fault (core dumped)
The invalid interpreter is suspicious. What's the output of
/native/usr/bin/elfdump -ei on that?
# /native/usr/bin/elfdump -ei `which arm-poky-linux-gnueabi-ld`
ELF Header
ei_magic: { 0x7f, E, L, F }
ei_class: ELFCLASS64 ei_data: ELFDATA2LSB
ei_osabi: ELFOSABI_NONE ei_abiversion: 0
e_machine: EM_AMD64 e_version: EV_CURRENT
e_type: ET_EXEC
e_flags: 0
e_entry: 0x404db0 e_ehsize: 64 e_shstrndx: 28
e_shoff: 0x142448 e_shentsize: 64 e_shnum: 29
e_phoff: 0x40 e_phentsize: 56 e_phnum: 8
/opt/poky/2.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld:
ELFOSABI_NONE object has Linux .note.ABI-tag section. Assuming
ELFOSABI_LINUX
Interpreter Section: .interp
/opt/poky/2.1/sysroots/x86_64-pokysdk-linux/lib/ld-linux-x86-64.so.2
That looks suspicious...
# ls -l
/opt/poky/2.1/sysroots/x86_64-pokysdk-linux/lib/ld-linux-x86-64.so.2
lrwxrwxrwx 1 root root 10 Jul 21 03:24
/opt/poky/2.1/sysroots/x86_64-pokysdk-linux/lib/ld-linux-x86-64.so.2 ->
ld-2.23.so
# file /opt/poky/2.1/sysroots/x86_64-pokysdk-linux/lib/ld-2.23.so
/opt/poky/2.1/sysroots/x86_64-pokysdk-linux/lib/ld-2.23.so: ELF 64-bit
LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
Is there a meaningful stack trace
for the core file?
Alas, no.
--
Ian.
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com