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] esp32s3 builds fail with "Invalid size of struct __lock" #15137

Closed
1 task done
lupyuen opened this issue Dec 11, 2024 · 2 comments · Fixed by #15143
Closed
1 task done

[BUG] esp32s3 builds fail with "Invalid size of struct __lock" #15137

lupyuen opened this issue Dec 11, 2024 · 2 comments · Fixed by #15143
Labels
Arch: xtensa Issues related to the Xtensa architecture Area: Board support Board support issues OS: Linux Issues related to Linux (building system, etc) Type: Bug Something isn't working

Comments

@lupyuen
Copy link
Member

lupyuen commented Dec 11, 2024

Description / Steps to reproduce the issue

ESP32-S3 builds are failing for the past 12 hours:
https://github.com/NuttX/nuttx/actions/runs/12263479539/job/34215187224#step:7:761

Configuration/Tool: esp32s3-devkit/rtc
In file included from chip/esp32s3_libc_stubs.c:25:
chip/esp32s3_libc_stubs.c: In function 'esp_setup_syscall_table':
Error: chip/esp32s3_libc_stubs.c:418:3: error: static assertion failed: "Invalid size of struct __lock"
  418 |   static_assert(sizeof(struct __lock) >= sizeof(mutex_t),
      |   ^~~~~~~~~~~~~
make[1]: *** [Makefile:146: esp32s3_libc_stubs.o] Error 1
make[1]: Target 'libarch.a' not remade because of errors.

More details at nuttx-dashboard.org
Screenshot 2024-12-11 at 4 39 23 PM

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu LTS at GitHub Actions

NuttX Version

master

Issue Architecture

[Arch: xtensa]

Issue Area

[Area: Board support]

Verification

  • I have verified before submitting the report.
@lupyuen lupyuen added the Type: Bug Something isn't working label Dec 11, 2024
@github-actions github-actions bot added Arch: xtensa Issues related to the Xtensa architecture Area: Board support Board support issues OS: Linux Issues related to Linux (building system, etc) labels Dec 11, 2024
@fdcavalcanti
Copy link
Contributor

Hi @lupyuen thanks for the report.
I tracked this build error to commit b74a507 (PR #15075)

@zyfeier could you take a look at this? Thanks!

@fdcavalcanti
Copy link
Contributor

Please hold on for a while, I believe we already have a fix incoming for this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: xtensa Issues related to the Xtensa architecture Area: Board support Board support issues OS: Linux Issues related to Linux (building system, etc) Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants