Skip to content

Execution hangs on arm (while success on real raspberry pi)  #15

Description

@alexkutsan

Hi,
I am trying to compile bdwgc (for crystal lang on rpi).
But it hangs on make check step. I was trying the same on real raspberry pi (armv7), and it executes successfully.

My steps :

  1. Run aptman/qus
docker run --rm --privileged aptman/qus -s -- -p arm
  1. Build dockerfile :
FROM --platform=linux/arm/v5 debian

ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Kiev
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt update && apt-get install -y \
    automake build-essential git libbsd-dev libedit-dev \
    libevent-dev libgmp-dev libgmpxx4ldbl libpcre3-dev \
    libssl-dev libtool libxml2-dev libyaml-dev \
    lld llvm llvm-dev

RUN git clone -b v8.0.6 https://github.com/ivmai/bdwgc.git && \
    cd bdwgc && \
    git clone https://github.com/ivmai/libatomic_ops.git && \
    autoreconf -vif && \
    ./configure --enable-static --disable-shared && \
    make -j && \
    make check

It hangs forever on make check step (host system x86_64).

ng -o disclaim_weakmap_test tests/disclaim_weakmap_test.o  ./.libs/libgc.a -lpthread -ldl
make[2]: 'libstaticrootslib_test.la' is up to date.
make[2]: 'libstaticrootslib2_test.la' is up to date.
make[2]: Leaving directory '/bdwgc'
/usr/bin/make  check-TESTS
make[2]: Entering directory '/bdwgc'
make[3]: Entering directory '/bdwgc'
PASS: cordtest

Not sure if this is bug in https://github.com/ivmai/bdwgc.git or in quemu. But on raspberrypi it works (both on host and using the same dockerfile)

Reproduced also via github actions : https://github.com/alexkutsan/arm_actions/runs/5584613559?check_suite_focus=true

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions