embecosm / embecosm-toolchain-releases Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
This repository contains build scripts, Dockerfiles and Jenkinsfiles for building release versions of toolchains. The intent is for these to be consumed by the Embecosm Public Buildbot (https://buildbot.embecosm.com, but also be usable by others to produce the same packages).
Hi there,
I tried to download prebuilt toolchain from https://buildbot.embecosm.com/view/Releases/job/riscv32-clang-ubuntu2004-release/.
compiled a simple helloworld.
$ cat hello.c
#include <stdio.h>
int main(void) {
printf("Hello World!\n");
return 0;
}
riscv32-embecosm-clang-centos7-20230115
$ clang --target=riscv64-unknown-elf -march=rv64imafdc -mabi=lp64d -fuse-ld=lld -o hello.elf hello.c
ld.lld: error: /tmp/hello-1b68d7.o: cannot link object files with different floating-point ABI
clang-16: error: ld command failed with exit code 1 (use -v to see invocation)
riscv32-embecosm-clang-centos7-20230115
$ clang --target=riscv64-unknown-elf -march=rv64imafdc -mabi=lp64d -o hello.elf hello.c
/home/share/devtools/riscv/llvmtoolchain/riscv32-embecosm-clang-centos7-20230115/bin/riscv64-unknown-elf-ld: /tmp/hello-924f32.o: can't link double-float modules with soft-float modules
/home/share/devtools/riscv/llvmtoolchain/riscv32-embecosm-clang-centos7-20230115/bin/riscv64-unknown-elf-ld: failed to merge target specific data of file /tmp/hello-924f32.o
clang-16: error: ld command failed with exit code 1 (use -v to see invocation)
I thought it might be caused by the compiler-rt is not multilib compiled, so link failed. Any suggestion about how to fix it.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.