Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933080 - 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]
Summary: sys-boot/gnu-efi-3.0.18-r2 - console.c:84:68: error: passing argument 2 of 'C...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 938012
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-28 19:03 UTC by ktoupt
Modified: 2024-08-26 04:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.15 KB, text/x-log)
2024-05-28 19:03 UTC, ktoupt
Details
emerge --info (info.txt,7.20 KB, text/plain)
2024-05-28 19:03 UTC, ktoupt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ktoupt 2024-05-28 19:03:28 UTC
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...
Comment 1 ktoupt 2024-05-28 19:03:55 UTC
Created attachment 894566 [details]
emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-27 08:53:30 UTC
tinderbox_musl has reproduced this issue with version 3.0.18-r2 - Updating summary.
Comment 3 Viorel Munteanu gentoo-dev 2024-08-02 04:45:45 UTC
This happens on musl.  On glibc if can be built with both gcc 14 and gcc 15.
Comment 4 Larry the Git Cow gentoo-dev 2024-08-26 04:34:43 UTC
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(+)