tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wasi-libc



The latest NetBSD 9 x86_x64 build has a build failure for wasi-libc,
breaking all the Firefoxes:

http://releng.netbsd.org/bulktracker/pkg/55017706

In file included from dlmalloc/src/dlmalloc.c:63:
dlmalloc/src/malloc.c:4568:7: error: Invalid address space for
WebAssembly target
 4568 | void* dlmalloc(size_t bytes) {
      |       ^

followed by an internal compiler error:

fatal error: error in backend: Cannot select: 0x79574ec38000: i32 =
addrspacecast[10175400 -> 10155368] 0x79574ec38700
  0x79574ec38700: i32 = WebAssemblyISD::Wrapper
TargetGlobalAddress:i32<ptr addrspace(10175400) @_gm_> 0
    0x79574ec38690: i32 = TargetGlobalAddress<ptr addrspace(10175400) @_gm_> 0
In function: dlmalloc
PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash
backtrace, preprocessed source, and associated run script.

Any ideas?


-- 
Benny


Home | Main Index | Thread Index | Old Index