> On May 29, 2022, at 22:12, Mike <tankf33...@disroot.org> wrote:
> 
>> ➜ pil21+ git:(master) ✗ cd src
>> ➜ src git:(master) ✗ rm *.bc
>> ➜ src git:(master) ✗ make
>> opt -O3 -o base.bc base.ll
>> clang -O3 -w -c -o lib.bc -D_OS='"Darwin"' -D_CPU='"x86_64"' `pkg-config 
>> --cflags libffi` -emit-llvm lib.c
>> llvm-link -o picolisp.bc base.bc lib.bc
>> /opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: error: Unknown attribute 
>> kind (68) (Producer: 'APPLE_1_1300.0.29.30_0' Reader: 'LLVM 10.0.1')
>> /opt/local/libexec/llvm-10/bin/llvm-link: error: loading file 'lib.bc'
>> make: *** [picolisp.bc] Error 1
> 
> show output:
> ===
> $ which opt
> $ which clang 
> $ which llvm-link
> ===


➜  src git:(master) ✗ which opt
/opt/local/bin/opt
➜  src git:(master) ✗ which clang
/usr/bin/clang
➜  src git:(master) ✗ which llvm-link 
/opt/local/bin/llvm-link

It looks like clang is not the one we might want ?

➜  src git:(master) ✗ clang --version
Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to