Skip to content

[WASM] Perl crashes without LC_ALL=1 #22992

Open
@andrewmd5

Description

I've completed my work of compiling Perl5 to WebAssembly, but one issue I never tracked down is that if the environment variable LC_ALL is not set with a value off '1' Perl crashes with this error:

locale.c: 1480: panic: 'C.UTF-8;C;C;C;C;C' needs an '=' to split name=value
; errno=28
Called by locale.c: 4097

The only reason I found that solution is because of this issue, but other solutions did not work. Prior to me contributing an official target, this is one thing that needs to be resolved. Any hints or guidance would be appreciated.

The full workflow is here.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions