Skip to content

CI wheel build fails with segfault of cc in AArch64 manylinux and musllinux images. #2615

Closed
@Rot127

Description

@Rot127

Work environment

Questions Answers
System Capstone runs on OS/arch/bits Github CI, cibuildwheel
Capstone module affected ...
Source of Capstone Github
Version/git commit #2614

Expected behavior

CI builds

Actual behavior

manylinux_2014 - aarch64 Ubuntu image:

  [ 21%] Building C object CMakeFiles/capstone.dir/arch/Mips/MipsModule.c.o
  [ 22%] Building C object CMakeFiles/capstone.dir/arch/PowerPC/PPCDisassembler.c.o
  [ 23%] Building C object CMakeFiles/capstone.dir/arch/PowerPC/PPCInstPrinter.c.o
  gmake[2]: *** [CMakeFiles/capstone.dir/arch/PowerPC/PPCMapping.c.o] Segmentation fault (core dumped)
  gmake[2]: *** Waiting for unfinished jobs....
  gmake[1]: *** [CMakeFiles/capstone.dir/all] Error 2
  gmake: *** [all] Error 2
  error: [Errno 2] No such file or directory: 'libcapstone.so.6'
  
  ERROR Backend subprocess exited when trying to invoke build_wheel

musllinux_1_2 - aarch64 Ubuntu image:

  [ 12%] Building C object CMakeFiles/capstone.dir/arch/ARM/ARMModule.c.o
  [ 13%] Building C object CMakeFiles/capstone.dir/arch/AArch64/AArch64BaseInfo.c.o
  [ 14%] Building C object CMakeFiles/capstone.dir/arch/AArch64/AArch64Disassembler.c.o
  gmake[2]: *** [CMakeFiles/capstone.dir/build.make:289: CMakeFiles/capstone.dir/arch/AArch64/AArch64Disassembler.c.o] Segmentation fault (core dumped)
  gmake[2]: *** Waiting for unfinished jobs....
  gmake[1]: *** [CMakeFiles/Makefile2:94: CMakeFiles/capstone.dir/all] Error 2
  gmake: *** [Makefile:156: all] Error 2

Steps to reproduce the behavior

Run CI

Additional Logs, screenshots, source code, configuration dump, ...

This is just a tracking issue we can link in the files.

Runs:

https://github.com/capstone-engine/capstone/actions/runs/13011576391/job/36290786445?pr=2614
https://github.com/capstone-engine/capstone/actions/runs/13011576391/job/36290786852?pr=2614

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working as it shouldbuild & packagingBuild system and packaging related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions