Skip to content

LLVM16: Libraries Report No Archive #336

@ericpassmore

Description

@ericpassmore

Libraries are not built correctly

wasm-ld --gc-sections --strip-all --no-merge-data-segments --entry apply --export=apply:function --export-memory -lc++ -lc -leosio -leosio_dsm /tmp/antelope-bbb113..o -L/repos/cdt/build/lib -L/repos/cdt/build/lib64 --stack-first --lto-O3 -zstack-size=8192 -L/repos/cdt/build/lib -L/repos/cdt/build/lib64 -o enf.wasm --allow-undefined-file=/repos/cdt/build/cdt.imports
wasm-ld: error: /repos/cdt/build/lib/libc++.a: archive has no index; run ranlib to add one
wasm-ld: error: /repos/cdt/build/lib/libc.a: archive has no index; run ranlib to add one
wasm-ld: error: /repos/cdt/build/lib/libeosio.a: archive has no index; run ranlib to add one
wasm-ld: error: /repos/cdt/build/lib/libeosio_dsm.a: archive has no index; run ranlib to add one

Next Steps here
https://hackmd.io/HE1un916Spy64TXdfzLeDQ?view

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions