Closed geaaru closed 9 months ago
On compile ruby under ARM fails on link coroutine and other POSIX functions:
linking miniruby rb_mjit_header.h updated [91m/lib/gcc/armv7a-mocaccino-linux-musleabihf/9.2.0/../.[0m[91m./../../armv7a-[0m[91mmocaccino-linux-musleabihf/bin/ld: cont.o: [0m[91min function `coroutine_initialize_main[0m[91m': cont.c[0m[91m:(.text+[0m[91m0x45c): [0m[91mundefined reference [0m[91mto `getcontext[0m[91m' /lib[0m[91m/gcc/armv7a-mocaccino-linux-musleabihf/9.2.0/.[0m[91m./../../../armv7a-mocaccino-linux-musleabihf/bin/ld: [0m[91mcont.o: in function `coroutine_initialize': cont.c:(.text+0x528): undefined reference[0m[91m to `makecontext' /lib/gcc/armv7a-mocaccino-linux-musleabihf/9.2.0[0m[91m/../../../../armv7a-mocaccino-linux-musleabihf/[0m[91mbin/ld: cont.o: in function `coroutine_transfer': cont.c:(.[0m[91mtext+0x588): undefined reference to `swapcontext' [0m[91mcollect2: error: ld returned 1 exit status [0m[91mmake: *** [Makefile miniruby] Error 1 [0mThe command '/bin/sh -c wget https://cache.ruby-lang.org/pub/${PACKAGE_NAME}/2.7/${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.gz && tar -xvf ${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.gz && mv ${PACKAGE_NAME}-${PACKAGE_VERSION} ${PACKAGE_NAME} && cd ${PACKAGE_NAME} && mkdir -p /${PACKAGE_NAME} && ./configure --prefix=/usr && make -j8 && make DESTDIR=/${PACKAGE_NAME} install && cp -rfv /${PACKAGE_NAME}/* / && cd .. && rm -rf ruby' returned a non-zero code: 2 : exit status 2 Bailing out
Temporary we convert the package as virtual package without files until will be fixed.
closing
On compile ruby under ARM fails on link coroutine and other POSIX functions:
Temporary we convert the package as virtual package without files until will be fixed.