Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors during configure and compile process when building wolfSSL with "--enable-debug-trace-errcodes" and "--enable-debug" option. #8083

Open
zxg-code opened this issue Oct 16, 2024 · 1 comment
Assignees

Comments

@zxg-code
Copy link

Version

v5.7.2

Description

Build wolfssl using option --enable-debug-trace-errcodes , I get a configure error:

......
| configure: Running make clean...
| configure: ---
| configure: Generating user options header...
| ../wolfssl-fips-5.7.2/configure: line 37541: support/gen-debug-trace-error-codes.sh: No such file or directory
| configure: error: Header generation for debug-trace-errcodes failed.
| WARNING: exit code 1 from a shell command.
......

Build wolfssl using option --enable-debug , I get a compile error:

...
| ../wolfssl-fips-5.7.2/wolfcrypt/src/sp_arm32.c: In function 'sp_2048_mul_8':
| ../wolfssl-fips-5.7.2/wolfcrypt/src/sp_arm32.c:2710:1: error: fp cannot be used in asm here
|  2710 | }
|       | ^
| arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-gcc -mfpu=vfp -mfloat-abi=hard -mcpu=cortex-a7
...
@kareem-wolfssl kareem-wolfssl self-assigned this Oct 17, 2024
@kareem-wolfssl
Copy link
Contributor

Hi @zxg-code,

For your first issue make sure you have the file support/gen-debug-trace-error-codes.sh in your wolfSSL directory when you are running ./configure.
For the second issue try rebuilding with -fomit-frame-pointer added to your CFLAGS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants