Summary: | sys-boot/gnu-efi-3.0.18-r2 - console.c:84:68: error: passing argument 2 of 'ConOut->OutputString' from incompatible pointer type [-Wincompatible-pointer-types] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ktoupt |
Component: | Current packages | Assignee: | Viorel Munteanu <ceamac> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ktoupt |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/38263 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 938012 | ||
Bug Blocks: | 870412 | ||
Attachments: |
build.log
emerge --info |
Created attachment 894566 [details]
emerge --info
tinderbox_musl has reproduced this issue with version 3.0.18-r2 - Updating summary. This happens on musl. On glibc if can be built with both gcc 14 and gcc 15. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a94ba86475049c1806eb81fe28200ee3020a59 commit c4a94ba86475049c1806eb81fe28200ee3020a59 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-08-23 14:39:13 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-08-26 04:28:37 +0000 sys-boot/gnu-efi: Fix compilation on musl amd64 On amd64, musl typedefs wchar_t to int, conflicting with -fshort-wchar. Also, /usr/include is searched before the compiler provided include directory. As a workaround, use -nostdinc and switch them around. Closes: https://bugs.gentoo.org/933080 Bug: https://bugs.gentoo.org/938012 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild | 128 ++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) |
Created attachment 894565 [details] build.log [ebuild N ] sys-boot/gnu-efi-3.0.18-r1 USE="(-custom-cflags)" This is probably because of GCC 14, so it should probably block on c99-porting? There are a lot of these incompatible pointers in this code base...