Code Monkey home page Code Monkey logo

embecosm-toolchain-releases's Introduction

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).

embecosm-toolchain-releases's People

Contributors

simonpcook avatar cohenarthur avatar

Stargazers

Allen Guo avatar Vettel avatar Swapnil Agrawal (MIPS) avatar MaryBennett avatar XiaoYu Hong avatar BenHu avatar Yuning Li avatar  avatar Pietra Ferreira avatar Junning Wu avatar Ibrahim Abu Kharmeh avatar Huaqi Fang avatar  avatar Florian Zaruba avatar Liyuan von Rheinland avatar

Watchers

 avatar Andrew avatar James Cloos avatar Jeremy Bennett avatar  avatar  avatar Scott Egerton avatar  avatar Dan Gorringe avatar Craig Blackmore avatar Pietra Ferreira avatar  avatar

embecosm-toolchain-releases's Issues

Multilib llvm riscv toolchain not work as expected

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.