Summary: | sys-apps/systemd-tmpfiles-246 fails to build on x86 with ::musl gcc, undefined reference to `__stack_chk_fail_local' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gyakovlev, releng, sam, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=706210 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93509 https://bugs.gentoo.org/show_bug.cgi?id=812329 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas K. Hüttel
![]() ![]() The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31be81b1141d76911fbde9d927bde3d2141d80d0 commit 31be81b1141d76911fbde9d927bde3d2141d80d0 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-07-06 18:59:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-07-06 19:00:51 +0000 profiles/default/linux/x86/17.0/musl: mask sys-apps/systemd-tmpfiles for now Requires -fstack-protector at the moment which is broken on x86 + musl for the timebeing. Masked to allow stage builds to proceed. Bug: https://bugs.gentoo.org/800893 Signed-off-by: Sam James <sam@gentoo.org> profiles/default/linux/x86/17.0/musl/package.mask | 8 ++++++++ 1 file changed, 8 insertions(+) Another option if to use equivalent of -fno-stack-protector on i?86-*-musl* and powerpc(le?)-*-musl*. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a63c983a559f87d693e606380a49c139d3e356 commit 48a63c983a559f87d693e606380a49c139d3e356 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-09-14 02:49:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-09-14 02:50:13 +0000 profiles/default/linux/x86/17.0/musl: unmask systemd-tmpfiles There's now a patch for gcc in ::musl and we'll hopefully import it to ::gentoo shortly. Bug: https://bugs.gentoo.org/800893 Signed-off-by: Sam James <sam@gentoo.org> profiles/default/linux/x86/17.0/musl/package.mask | 8 -------- 1 file changed, 8 deletions(-) Gcc not links libssp_nonshared.a for all archs. |