Giter VIP home page Giter VIP logo

Comments (5)

jjhelmus avatar jjhelmus commented on June 29, 2024 23

I was running the same segmentation fault issue with the armhfp image and found that specifying the yum and rpm architecture explicitly got yum working:

echo "armhfp" > /etc/yum/vars/basearch 
echo "armv7hl" > /etc/yum/vars/arch
echo "armv7hl-redhat-linux-gpu" > /etc/rpm/platform

from centos.

moul avatar moul commented on June 29, 2024

I experienced similar issues, from what I understood they are caused by limited features support in QEMU.
For the CentOS family I don't know, but in Ubuntu, I had numerous similar errors with Ubuntu 14.04, and now I'm fine with Ubuntu 16.04


As a workaround, you can try to run the failing commands on real ARM hardware.

Then you can push the generated Docker image and continue to work using QEMU for "working" Docker RUN commands

from centos.

junaruga avatar junaruga commented on June 29, 2024

I am similar report about this issue.
https://stackoverflow.com/questions/54735030/qemu-arm-qemu-uncaught-target-signal-11-segmentation-fault-core-dumped

Today I tried it with latest qemu 4.0.0. But still same error.

$ docker run --rm --privileged multiarch/qemu-user-static:register --reset

$ docker run --rm -t multiarch/centos:7.6-armhfp-iso uname -a
Linux 51248b9602e1 5.0.10-300.fc30.x86_64 #1 SMP Tue Apr 30 16:22:12 UTC 2019 armv7l armv7l armv7l GNU/Linux

$ docker run --rm -t multiarch/centos:7.6-armhfp-iso yum -y update
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
^C

from centos.

mikesart avatar mikesart commented on June 29, 2024

I'm running into this also. Wrote docker scripts to build SDL2 x86_64, Aarch64, and Armhf with multiarch centos 7, and everything works great except armhf yum is crashing. I'm using qemu v3.1.0 on Debian Buster. Bummed to see this is still broken with the latest qemu. Guess I'll need to track down a Raspberry Pi and build on native hardware.

from centos.

Valiento avatar Valiento commented on June 29, 2024

@jjhelmus thank you so much, it works!

from centos.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.