amosbird / ldb_toolchain_gen

MIT License
66 stars 21 forks source link

Building a docker images encounter some error (envirnment: arm,ubuntu ) #1

Closed Andydufresneguohao closed 2 years ago

Andydufresneguohao commented 2 years ago

Step 5/14 : RUN wget https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/ldb_toolchain_gen-v0.4.sh -q -O /tmp/ldb_toolchain_gen.sh && sh /tmp/ldb_toolchain_gen.sh /var/local/ldb-toolchain/ && rm /tmp/ldb_toolchain_gen.sh ---> Running in 1805d086ad7b bin/gcc: line 7: /var/local/ldb-toolchain/bin/gcc-11: cannot execute binary file bin/gcc: line 7: /var/local/ldb-toolchain/bin/gcc-11: Success Generated toolchain cannot compile a simple program. Please file an issue at https://github.com/amosbird/ldb_toolchain_gen/issues with current setup information. The command '/bin/sh -c wget https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/ldb_toolchain_gen-v0.4.sh -q -O /tmp/ldb_toolchain_gen.sh && sh /tmp/ldb_toolchain_gen.sh /var/local/ldb-toolchain/ && rm /tmp/ldb_toolchain_gen.sh' returned a non-zero code: 1

amosbird commented 2 years ago

Currently only x86 architecture is supported.

Andydufresneguohao commented 2 years ago

Thanks

amosbird commented 2 years ago

Starting from v0.9.1 there is an aarch64 branch. Future releases will also contain pre-built generators for different architectures. https://github.com/amosbird/ldb_toolchain_gen/releases/tag/v0.9.1