[Bug]: Missing file in lib32-gcc-libs
bug
### Package name
cachyos-znver4/lib32-gcc-libs
### Package version
16.1.1+r346+g4e03491b401d-2
### Issue type
Packaging error (wrong deps, missing files, etc.)
### Description
I believe that the file /usr/lib/gcc/x86_64-pc-linux-gnu/16/32/libgcc_s.so is missing from the package in it's latest version.
### Steps to reproduce
1. Run `clang -m32 /dev/null -lgcc_s`
2. Notice `/usr/bin/ld: cannot find -lgcc_s: No such file or directory` in the logs
### Relevant logs or error output
```shell
~/Documents
❯ clang -m32 /dev/null -lgcc_s
/usr/bin/ld: cannot find -lgcc_s: No such file or directory
/usr/bin/ld: cannot find -lgcc_s: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
~/Documents
❯ sudo ln -s ../libgcc_s.so /usr/lib/gcc/x86_64-pc-linux-gnu/16/32/libgcc_s.so
~/Documents
❯ clang -m32 /dev/null -lgcc_s
/usr/bin/ld: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16/../../../../lib32/Scrt1.o: in function `_start':
(.text+0x1e): undefined reference to `main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
### CachyOS bug report
https://paste.cachyos.org/p/5c5fd3a.log
### Additional context
The following command `sudo ln -s libgcc_s.so 32/` (from the /usr/lib/gcc/x86_64-pc-linux-gnu/16 folder and gcc-libs installed) fixes it
0 条评论