Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alexkutsan opened this issue Mar 17, 2022 · 0 comments
Open

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

alexkutsan opened this issue Mar 17, 2022 · 0 comments

Comments

@alexkutsan
Copy link

alexkutsan commented Mar 17, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant