tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wasi-libc
On Thu, 19 Jun 2025 on 14:49:45 +0200, Benny Siegert wrote:
> 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?
This is PR pkg/59439, not that that gives you useful information, beyond
perhaps "don't use LLVM/clang 19", since that's evidently what caused
it to break. (Perhaps the least sophisticated move, though if weighing
longer bulk build times vs. less developer brain compute time consumed,
hmm...)
Regards,
Dave
Home |
Main Index |
Thread Index |
Old Index