-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Describe the bug
Building the mainline/debian/Dockerfile (at nginx 1.25.5) causes an error in linking with undefined references. It seems like a missing dependency.
Log:
Also available on the DOI jenkins instance (at least for a little while) https://doi-janky.infosiftr.net/job/wip/job/new/job/build-arm32v5/1693/.
make[1]: *** [Makefile:272: run-test262] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: /tmp/cc3YvmNt.ltrans12.ltrans.o: in function `js_atomics_op.lto_priv.0':
/tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55162: undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55148: undefined reference to `__atomic_fetch_xor_8'
/usr/bin/ld: /tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55149: undefined reference to `__atomic_exchange_8'
/usr/bin/ld: /tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55189: undefined reference to `__atomic_compare_exchange_8'
/usr/bin/ld: /tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55144: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55145: undefined reference to `__atomic_fetch_and_8'
/usr/bin/ld: /tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55146: undefined reference to `__atomic_fetch_or_8'
/usr/bin/ld: /tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55147: undefined reference to `__atomic_fetch_sub_8'
/usr/bin/ld: /tmp/cc3YvmNt.ltrans12.ltrans.o: in function `js_atomics_store.lto_priv.0':
/tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13/quickjs.c:55253: undefined reference to `__atomic_store_8'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:214: qjsc] Error 1
make[1]: Leaving directory '/tmp/tmp.FYcdktwJfh/nginx-module-njs-1.25.5+0.8.4/debian/extra/quickjs-2024.01.13'
make: *** [debian/rules:48: config.pre.nginx] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
E: Build command 'cd nginx-module-njs-1.25.5+0.8.4 && dpkg-buildpackage -b -uc' failed.To reproduce
Steps to reproduce the behavior:
(either on a native host or one with qemu user mode emulation)
docker build --platform linux/arm/v5 --progress=plain mainline/debian- wait ... wait some more ...
- See error
Expected behavior
A built arm32v5 image at the end.
Your environment
- docker 26.0.0 on Docker Desktop (Windows) and on the DOI builder running Docker 20.10
nginx:1.25.5- platform:
arm32v5
Metadata
Metadata
Assignees
Labels
No labels