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

[BUG] curl does not build on arm/aarch when LE is built with DEBUG #9607

Closed
heitbaum opened this issue Dec 22, 2024 · 1 comment · Fixed by #9609
Closed

[BUG] curl does not build on arm/aarch when LE is built with DEBUG #9607

heitbaum opened this issue Dec 22, 2024 · 1 comment · Fixed by #9609
Assignees

Comments

@heitbaum
Copy link
Contributor

Describe the bug

release build works fine. Something to do with the optimization of not -O / -O2 in glibc?

How to reproduce

Steps to reproduce the behavior:

  1. PROJECT=RPi ARCH=aarch64 DEVICE=RPi4 DEBUG=yes s/build curl

Information

  • LibreELEC Version: [e.g. 9.2.1] LE13
  • Hardware Platform: [e.g. RPi3] RPi2 and RPi4

Log file

In file included from /LibreELEC.tv/build.LibreELEC-RPi4.aarch64-13.0-devel-debug/build/curl-8.10.1/lib/easy.c:78:
/LibreELEC.tv/build.LibreELEC-RPi4.aarch64-13.0-devel-debug/build/curl-8.10.1/lib/easy_lock.h: In function 'curl_global_init':
/LibreELEC.tv/build.LibreELEC-RPi4.aarch64-13.0-devel-debug/build/curl-8.10.1/lib/easy_lock.h:72:20: error: inlining failed in call to 'curl_simple_lock_lock': function not considered for inlining [-Werror=inline]

Context

Similar to

@heitbaum heitbaum self-assigned this Dec 22, 2024
@mglae
Copy link
Contributor

mglae commented Dec 22, 2024

Should be an error on all platforms, did the fix for Generic debug build (and forgot it)

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

Successfully merging a pull request may close this issue.

2 participants