jart / cosmopolitan

build-once run-anywhere c library
ISC License
18.44k stars 637 forks source link

Bug: `pigz` decompression does not work #1277

Closed mattyclarkson closed 2 months ago

mattyclarkson commented 2 months ago

Contact Details

No response

What happened?

pigz decompress after cosmo-3.2.4 does not work anymore

$ uname -srmo
Linux 6.8.1-arch1-1 x86_64 GNU/Linux
$ wget https://cosmo.zip/pub/cosmos
/v/3.7.1/bin/ape-x86_64.elf
$ wget https://cosmo.zip/pub/cosmos/v/3.7.1/bin/pigz -O pigz-3.7.1
$ wget https://cosmo.zip/pub/cosmos/v/3.2.4/bin/pigz -O pigz-3.2.4
$ chmod u+x ape-x86_64.elf
$ echo "Hello, world" | gzip | ./ape-x86_64.elf ./pigz-3.2.4 -d
Hello, world
$ echo "Hello, world" | gzip | ./ape-x86_64.elf ./pigz-3.7.1 -d
pigz-3.7.1: abort: internal error

The captured strace/ftrace logs for each command:

Version

cosmos 3.7.1

What operating system are you seeing the problem on?

Linux

Relevant log output

No response

mattyclarkson commented 2 months ago

Duplicate of ahgamut/superconfigure#38. Shall I close this in favour of that one?

jart commented 2 months ago

Yes it's an issue with superconfigure.