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

Compilation fails for 'classic_armv7_a7' because of 'FLAGS' instead of 'CFLAGS' #111

Open
DrUm78 opened this issue Apr 10, 2024 · 0 comments

Comments

@DrUm78
Copy link

DrUm78 commented Apr 10, 2024

Compilation fails for 'classic_armv7_a7'. Indeed, it seems like CFLAGS should be used instead of FLAGS below (works for me):

FLAGS += -DARM -Ofast \

Stack:

during RTL pass: expand
libretro.c: In function ‘retro_run’:
libretro.c:561:6: internal compiler error: in arm_expand_divmod_libfunc, at config/arm/arm.c:33047
  561 | void retro_run(void)
      |      ^
0x7f52f6930082 __libc_start_main
        ../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://bugs.buildroot.net/> for instructions.
lto-wrapper: fatal error: /opt/FunKey-sdk/bin/arm-funkey-linux-musleabihf-g++.br_real returned 1 exit status
compilation terminated.
/opt/FunKey-sdk/bin/../lib/gcc/arm-funkey-linux-musleabihf/10.2.0/../../../../arm-funkey-linux-musleabihf/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:659: mednafen_ngp_libretro.so] Error 1
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

1 participant