tech-pkg archive

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

2025Q2 branch status; wasi-libc



Hi!

Looking at the latest series of bulk builds, I think we are in good
shape to branch. Two things that make me uncomfortable though:

lang/wasi-libc was broken on NetBSD 9/amd64 back in May by the update
of LLVM to version 19. Crucially, this means no Firefox and no
Thunderbird on this platform.
The latest failure was https://releng.netbsd.org/bulktracker/pkg/54419667:

libc-bottom-half/cloudlibc/src/libc/dirent/fdopendir.c:12:6: error:
Invalid address space for WebAssembly target
   12 | DIR *fdopendir(int fd) {
      |      ^
libc-bottom-half/crt/crt1-command.c:11:6: error: Invalid address space
for WebAssembly target
   11 | void _start(void) {
      |      ^
libc-bottom-half/crt/crt1-command.c:11:6: error: Invalid address space
for WebAssembly target
1 error generated.
2 errors generated.
libc-bottom-half/crt/crt1-reactor.c:8:6: error: Invalid address space
for WebAssembly target
    8 | void _initialize(void) {
      |      ^
libc-bottom-half/crt/crt1-reactor.c:8:6: error: Invalid address space
for WebAssembly target
2 errors generated.
In file included from libc-bottom-half/crt/crt1.c:3:
libc-bottom-half/crt/crt1-command.c:11:6: error: Invalid address space
for WebAssembly target
   11 | void _start(void) {
      |      ^
libc-bottom-half/crt/crt1-command.c:11:6: error: Invalid address space
for WebAssembly target
2 errors generated.

Any ideas on this one? I cannot even find an explanation of this
compiler error on Google.

The other failure is OpenEXR on i386. This is a regression in the
3.3.3 update from April. The error message is:

/pbulk/work/graphics/openexr/work/openexr-3.3.3/src/lib/OpenEXRCore/chunk.c:
In function 'extract_chunk_table':
/pbulk/work/graphics/openexr/work/openexr-3.3.3/src/lib/OpenEXRCore/chunk.c:642:16:
warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
  642 |         nptr = (uint64_t) ctable;
      |                ^
In file included from
/pbulk/work/graphics/openexr/work/openexr-3.3.3/src/lib/OpenEXRCore/internal_structs.h:53,
                 from
/pbulk/work/graphics/openexr/work/openexr-3.3.3/src/lib/OpenEXRCore/internal_coding.h:13,
                 from
/pbulk/work/graphics/openexr/work/openexr-3.3.3/src/lib/OpenEXRCore/chunk.c:8:
/pbulk/work/graphics/openexr/work/openexr-3.3.3/src/lib/OpenEXRCore/chunk.c:644:14:
error: size mismatch in argument 2 of '__atomic_compare_exchange'
  644 |         if (!atomic_compare_exchange_strong (
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/graphics/openexr/work/openexr-3.3.3/src/lib/OpenEXRCore/chunk.c:650:22:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
  650 |             ctable = (uint64_t*) eptr;
      |                      ^


-- 
Benny


Home | Main Index | Thread Index | Old Index