[Pkg-javascript-devel] Bug#1076425: inwasm: Estimated memorySettings.descriptor.maximum is wrong on i386
    Jérémy Lal 
    kapouer at melix.org
       
    Tue Jul 16 09:17:58 BST 2024
    
    
  
Package: inwasm
Severity: normal
Hi,
passing a memory descriptor of { initial: 1 } to inwasm makes it
find out what's the best value for maximum.
It seems to be doing that by trying to grow memory until it fails.
However the value fond on i386 seems to be wrong. Too high maybe.
For example node-xterm fails with
-Wl,--initial-memory=65536 -Wl,--max-memory=716832768
LinkError: WebAssembly.Instance(): memory import 0 has no maximum limit, expected at most 4294967295
-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.9.8-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
    
    
More information about the Pkg-javascript-devel
mailing list