| Summary: | musl hardened: Error relocating /usr/lib/syslog-ng/libtfgetent.so: getprotobynumber_r: symbol not found' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Steve Arnold <nerdboy> |
| Component: | Current packages | Assignee: | Anthony Basile <blueness> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | hydrapolic |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Steve Arnold
2018-05-01 19:51:25 UTC
The alpine "fix" is just:
rm -f ${pkgdir}/usr/lib/$pkgname/libtfgetent.so
(In reply to Steve Arnold from comment #1) > The alpine "fix" is just: > > rm -f ${pkgdir}/usr/lib/$pkgname/libtfgetent.so i added this fix to the musl overlay. i tried writting a wrapper for getprotobynumber_r() but its re-entrant and the version provided by musl is getprotobynumber() which is not. this could cause serious issues on a multithreaded system, so it would have to be written just right or cause very hard to detect bugs. why a re-entrant function is needed here is beyond me, but that's what upstream used. |