ELFUTILS / Embedded configuration
The current configuration (using buildroot) builds elfutils for lots of architectures. This is for using minicoredumper on - in our case - a powerpc platform: safe:/usr/lib/elfutils> ls libebl_aarch64-0.177.so libebl_i386.so libebl_s390-0.177.so libebl_aarch64.solibebl_ia64-0.177.so libebl_s390.so libebl_alpha-0.177.solibebl_ia64.so libebl_sh-0.177.so libebl_alpha.so libebl_m68k-0.177.so libebl_sh.so libebl_arm-0.177.so libebl_m68k.so libebl_sparc-0.177.so libebl_arm.solibebl_ppc-0.177.so libebl_sparc.so libebl_bpf-0.177.so libebl_ppc.solibebl_tilegx-0.177.so libebl_bpf.solibebl_ppc64-0.177.solibebl_tilegx.so libebl_csky-0.177.so libebl_ppc64.so libebl_x86_64-0.177.so libebl_csky.so libebl_riscv-0.177.solibebl_x86_64.so libebl_i386-0.177.so libebl_riscv.so On the local platform there is only a need for libebl_ppc*.so - nothing else. I cannot find a configure option to limit for that, am I missing something? - Maurice
Re: ELFUTILS / Embedded configuration
Frank, Thanks for the fast response. While each module is about 64k, in total they take up ~1.1MB, so for embedded systems - which - in our application if we'd need to update over a lossy link no faster than about 160k baud is a lot of extra stuff. Can I just remove the library files not appropriate for the architecture at hand - or should i update Makefile.am - rerun automake and do it that way? Maurice On Mon, Oct 12, 2020 at 5:22 PM Frank Ch. Eigler wrote: > > Hi - > > > The current configuration (using buildroot) builds elfutils for lots > > of architectures. [...] > > libebl is a small part of elfutils, and in recent versions all those > distinct files have been simply linked into -ldw. They're very small, > so we didn't bother make them individually configurable. > > - FChE > -- Maurice Smulders, GTI