Git Product home page Git Product logo

Comments (5)

amotl avatar amotl commented on August 20, 2024

Currently I have no idea why this happens. Some observations and thoughts:

  • Building the baseline images for arm32v7 works flawlessly.
  • Might there be some woes because this was running on an AMD CPU, specifically an AMD Ryzen 5 3600 6-Core Processor (Zen2) [1]?

[1] cat /proc/cpuinfo | grep "model name" | uniq

from kotori.

amotl avatar amotl commented on August 20, 2024

Hi again,

in this post we outline a minimal example how to reproduce the problem.

  1. Follow the first few sections of https://getkotori.org/docs/development/releasing/packaging.html, specifically
    1.1. Install Docker
    1.2. Install more packages to support multiarch builds: apt-get install qemu-user-static binfmt-support

  2. Invoke this docker run command, targeting arm64v8:

docker run --pull --rm -it --env DEBIAN_FRONTEND=noninteractive arm64v8/debian:bullseye-slim dpkg-reconfigure libc-bin
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
  1. As mentioned above, targeting arm32v7 has no issues:
docker run --pull --rm -it --env DEBIAN_FRONTEND=noninteractive arm32v7/debian:bullseye-slim dpkg-reconfigure libc-bin

With kind regards,
Andreas.

from kotori.

amotl avatar amotl commented on August 20, 2024

Hi again,

at moby/moby#43039 (comment), we found a solution to this problem. Apparently, we needed a more recent version of qemu-aarch64-static. While it didn't work with version 4.2.1, version 5.0.0 from [1] works like a charm.

$ docker run --pull --rm -it arm64v8/debian:bullseye-slim /bin/sh -c "ldconfig --version"

ldconfig (Debian GLIBC 2.31-13+deb11u2) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Andreas Jaeger.

With kind regards,
Andreas.

[1] http://security.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user-static_5.0-5ubuntu9.9_amd64.deb

from kotori.

amotl avatar amotl commented on August 20, 2024

With 3b029ca, we just updated the documentation and added this to the troubleshooting section, see [2].

[2] https://getkotori.org/docs/development/releasing/packaging.html#troubleshooting

from kotori.

amotl avatar amotl commented on August 20, 2024

Others are also confirming that this has been resolved with Qemu 5, see [3].

[3] https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1928075/comments/15

from kotori.

Related Issues (20)

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.