Comments (2)
Mostly works now, but compiling still fails:
clang version 3.8.0 (https://github.com/CTSRD-CHERI/clang.git 473591c52d2160071616e8574dc80305abfdda52) (https://github.com/CTSRD-CHERI/llvm.git 388f6926b8f9bb0557c65b74badb8a34734f13dc)
Target: cheri-unknown-freebsd11
Thread model: posix
InstalledDir: /build/cheri-on-linux/sdk256/bin
"/build/cheri-on-linux/sdk256/bin/clang-3.8" -cc1 -triple cheri-unknown-freebsd11 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name testprog.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-abi n64 -mfloat-abi hard -v -dwarf-column-info -resource-dir /build/cheri-on-linux/sdk256/bin/../lib/clang/3.8.0 -isysroot /build/cheri-on-linux/sdk256/sysroot -fdebug-compilation-dir /staticdata/sources/ctsrd/my-cheri-stuff/testprog -ferror-limit 19 -fmessage-length 164 -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -cheri-linker -o /tmp/testprog-cd7b07.o -x c ./testprog.c
clang -cc1 version 3.8.0 based upon LLVM 3.8.0svn default target cheri-unknown-freebsd
#include "..." search starts here:
#include <...> search starts here:
/build/cheri-on-linux/sdk256/bin/../lib/clang/3.8.0/include
/build/cheri-on-linux/sdk256/sysroot/usr/include
End of search list.
"/build/cheri-on-linux/sdk256/bin/ld" --sysroot=/build/cheri-on-linux/sdk256/sysroot --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --enable-new-dtags -o ./testprog.cheri /build/cheri-on-linux/sdk256/sysroot/usr/lib/crt1.o /build/cheri-on-linux/sdk256/sysroot/usr/lib/crti.o /build/cheri-on-linux/sdk256/sysroot/usr/lib/crtbegin.o -L/build/cheri-on-linux/sdk256/sysroot/usr/lib /tmp/testprog-cd7b07.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /build/cheri-on-linux/sdk256/sysroot/usr/lib/crtend.o /build/cheri-on-linux/sdk256/sysroot/usr/lib/crtn.o
/build/cheri-on-linux/sdk256/sysroot/usr/lib/libgcc_s.so: could not read symbols: File in wrong format
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
from cheribuild.
remote-cheribuild.py can be used
from cheribuild.
Related Issues (20)
- Building cheribsd-morello-purecap on macOS (Aarch64) HOT 6
- Failing freebsd and cheribsd builds on macOS. pkg-config --exists libarchive HOT 1
- freebsd-aarch64 on macOS Ventura HOT 5
- Fails to build on CheriBSD 14.0 on Morello platform HOT 3
- Building -morello-purecap targets on a Morello system should suggest -native
- Build error - cheribuild.py cheribsd-aarch64 -d HOT 2
- Error in cross compilation HOT 7
- gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 checksum mismatch HOT 4
- About Rebuilding Images HOT 2
- Failed when build pkg-riscv64-purecap HOT 2
- Stuck synthesizing Cheri on AWS F1 Ubuntu 18.04
- How to enable caprevoke feature and build freeBSD with it? HOT 6
- Re-enable lib32 by default (and remove option?)
- Switch to new Morello ABI
- Being asked for a password to login as root on SSH HOT 3
- Switch parity of --cheribsd/caprevoke-kernel HOT 1
- Failed to invoke compiler in order to build my own code targeting RISC-V purecap on cheriBSD HOT 1
- How to enable caprevoke in cheribsd? HOT 2
- GMP mercurial host blocks certain IP ranges HOT 2
- Workflow of adding instruction in CHERI RISC-V HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cheribuild.