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

intel_ish_5_8_0: libraries.libc.c11_threads.* - Build failure #85305

Open
majunkier opened this issue Feb 6, 2025 · 4 comments · May be fixed by #85327
Open

intel_ish_5_8_0: libraries.libc.c11_threads.* - Build failure #85305

majunkier opened this issue Feb 6, 2025 · 4 comments · May be fixed by #85327
Assignees
Labels
area: POSIX POSIX API Library area: X86 x86 Architecture (32-bit) bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug Regression Something, which was working, does not anymore

Comments

@majunkier
Copy link
Collaborator

Describe the bug
Below tests are failing during building on platform intel_ish_5_8_0
libraries.libc.c11_threads.minimal
libraries.libc.c11_threads.picolibc
libraries.libc.c11_threads.picolibc.module
libraries.libc.c11_threads.picolibc.notls
libraries.libc.c11_threads.newlib
libraries.libc.c11_threads.newlib_nano

This commit causes a regression 0ac931b

To Reproduce
example of one test from list:
west twister -p intel_ish_5_8_0/intel_ish_5_8_0 -s libraries.libc.c11_threads.minimal

Logs and console output

FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /zephyrproject/zephyr/twister-out/intel_ish_5_8_0_intel_ish_5_8_0/zephyr/tests/lib/c_lib/thrd/libraries.libc.c11_threads.minimal/zephyr/zephyr_pre0.map
:   <trimmed>
/zephyr-sdk-0.17.0/x86_64-zephyr-elf/bin/../lib/gcc/x86_64-zephyr-elf/12.2.0/../../../../x86_64-zephyr-elf/bin/ld.bfd:
 zephyr/arch/arch/x86/core/libarch__x86__core.a(prep_c.c.obj): in function `z_prep_c':
/zephyrproject/zephyr/arch/x86/core/prep_c.c:40: undefined reference to `z_x86_mmu_init'

/zephyr-sdk-0.17.0/x86_64-zephyr-elf/bin/../lib/gcc/x86_64-zephyr-elf/12.2.0/../../../../x86_64-zephyr-elf/bin/ld.bfd: zephyr/kernel/libkernel.a(mmu.c.obj):
in function `k_mem_map_phys_bare':
/zephyrproject/zephyr/kernel/mmu.c:961: undefined reference to `arch_mem_map'

collect2: error: ld returned 1 exit status

Environment (please complete the following information):

  • OS: Ubuntu
  • Toolchain: zephyr-sdk-0.17.0
  • Version used : v4.0.0-4669-g20516b78348d
@majunkier majunkier added bug The issue is a bug, or the PR is fixing a bug platform: Intel ISH Intel Corporation, Integrated Sensor Hub labels Feb 6, 2025
@nashif
Copy link
Member

nashif commented Feb 6, 2025

@cfriedt bisection leads to 0ac931b, any idea what is going on here?

@nashif nashif added area: POSIX POSIX API Library and removed platform: Intel ISH Intel Corporation, Integrated Sensor Hub labels Feb 6, 2025
@nashif nashif assigned cfriedt and unassigned kwd-doodling Feb 6, 2025
@cfriedt
Copy link
Member

cfriedt commented Feb 6, 2025

Yes. I'll submit a PR

@cfriedt
Copy link
Member

cfriedt commented Feb 6, 2025

@nashif - is there a way to automatically run this test suite when there are changes under lib/posix?

@cfriedt
Copy link
Member

cfriedt commented Feb 10, 2025

Found a better way than what is in #85327 currently. Will re-use that PR to fix the regression.

@cfriedt cfriedt added Regression Something, which was working, does not anymore area: X86 x86 Architecture (32-bit) priority: high High impact/importance bug labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library area: X86 x86 Architecture (32-bit) bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug Regression Something, which was working, does not anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants