gcc and clang not working under qemu-aarch64-static

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

gcc and clang not working under qemu-aarch64-static

Postby k4s4s » Wed May 27, 2020 8:41 pm

Hi,
I am using qemu-aarch64-static and chroot to run the aarch64 image on my x86_64 host. However, I am not able to run gcc or clang, I get "bash: /usr/bin/gcc: cannot execute binary file: Exec format error". I used pacman to install gcc and clang. Other packages I installed with pacman, such as git and vim work fine, as well as arm executable I compiled myself using a different chroot environment on a different machine. Any suggestions as to what may be the problem?
k4s4s
 
Posts: 1
Joined: Wed May 27, 2020 8:35 pm

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 11 guests