tsoding / bm

Simple compiler ecosystem
MIT License
169 stars 16 forks source link

Fix broken nobuild on FreeBSD #397

Closed herrhotzenplotz closed 3 years ago

herrhotzenplotz commented 3 years ago

Was completely broken. Now builds on both amd64 and arm64 FreeBSD. No change of #348 :

...
[INFO] CMD: ld build/test/cases/read-write.o -o build/test/cases/read-write.elf64
[INFO] CMD: build/toolchain/basm -I ./lib/ -t gas-freebsd-arm64 test/cases/rot13.basm -o build/test/cases/rot13.S
[INFO] CMD: cc -c -g build/test/cases/rot13.S -o build/test/cases/rot13.o
[INFO] CMD: ld build/test/cases/rot13.o -o build/test/cases/rot13.elf64
Assertion failed: (0 && "TODO(#348): implement some mechanism to test native executables"), function test_command, file nobuild.c, line 402.
[2] + Abort trap - core dumped    ./nobuild test asm
[nico@henricus ~/src/bm]$
rexim commented 3 years ago

@herrhotzenplotz thank you for your contribution!