Problem when compiling Xenomai 3.0.8 user libraries with enable-debug
jan.kiszka at siemens.com
Mon Jul 13 19:40:33 CEST 2020
On 11.07.20 19:42, Matheus Leitzke via Xenomai wrote:
> I am setting my Xenomai user libraries with:
> ./configure --host=arm-linux-gnueabihf --enable-smp --enable-debug=full
> --enable-pshared --with-core=cobalt
> But when I use make to compile the user libraries, the following error is
> make: Entering directory
> CC libarch_la-features.lo
> features.c: In function ‘cobalt_check_features’:
> features.c:78:1: error: r7 cannot be used in asm here
> This error is thrown because the r7 register is being used in macro
> XENOMAI_SYSCALL2 inside cobalt_check_features from features,c cobalt file.
> I try to follow this suggestion:
> However, when inserting "-fomit-frame-pointer" on Makefile c flags
> variables, this has no effect.
> This error occurs only when I set --enable-debug flag.
> Do you have any suggestions?
Cannot reproduce - what toolchain are you using? I'm on Linaro gcc
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
More information about the Xenomai