| Summary: | qemu-system-ppc -M mac99 does not boot for glibc system | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | wbx |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED MOVED | ||
| Severity: | normal | CC: | buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
wbx
2022-02-10 13:46:58 UTC
Hi Waldemar, Thanks for the report! I can reproduce it easily with gcc-10 and gcc-11 but not with gcc-9. The powerpc 7400 support has been broken since the beginning of gcc-10 development. After the commit [1] removing -many from the options passed by default to the assembler, the build of this defconfig fail with assembler errors: arch/powerpc/perf/bhrb.S: Assembler messages: arch/powerpc/perf/bhrb.S:22: Error: unrecognized opcode: `cmpldi' arch/powerpc/perf/bhrb.S:24: Error: unrecognized opcode: `ld' arch/powerpc/perf/bhrb.S:25: Error: unrecognized opcode: `sldi' It was fixed later by the commit [2] before the gcc-10 release but glibc segfault at runtime since then. The Buildroot gitlab-ci testing only test with uClibc-ng libc but I try sometime with Glibc... but I missed this issue. This issue should be reported to gcc. [1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e154242724b084380e3221df7c08fcdbd8460674 [2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=66711279083121b07d909ac0fc2f3a744ac7c937 Best regards, Romain Thank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
|