This is the mail archive of the
mailing list for the elfutils project.
elfutils/libdw ARM compilation (native and cross compile)
- From: Jean Pihet <jean dot pihet at linaro dot org>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 25 Feb 2014 18:17:24 +0100
- Subject: elfutils/libdw ARM compilation (native and cross compile)
Hi Jan, Mark,
I have a simple question which I cannot find the solution for.
The goal is to add the libdw support for perf on ARM (and later AARCH64).
I am trying to compile libdw for ARM, both natively and on x86_64. I
am getting build errors, it seems that the build is always targeted to
The question is: how to compile for non-x86, including the backends?
make: Leaving directory `/home/def/work/linaro/elfutils/libdw'
Making all in libcpu
make: Entering directory `/home/def/work/linaro/elfutils/libcpu'
m4 -Di386 -DDISASSEMBLER defs/i386 > i386_defsT
m4 -Dx86_64 -DDISASSEMBLER defs/i386 > x86_64_defsT
*** missing i386_dis.h; configure with --enable-maintainer-mode
*** missing x86_64_dis.h; configure with --enable-maintainer-mode
make: *** [i386_dis.h] Error 1
If I disable libcpu in Makefile I get an error in the backends dir:
make: *** No rule to make target `../libcpu/libcpu_i386.a', needed
by `libebl_i386.so'. Stop.
make: Leaving directory `/home/def/work/linaro/elfutils/backends'
make: *** [all-recursive] Error 1