Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 626952

Summary: sys-boot/syslinux-6.04_pre1-r5 won't compile on musl: wrapper.h:30:2: error: unknown type name ‘__uint16_t’
Product: Gentoo Linux Reporter: hanetzer
Component: Current packagesAssignee: Chí-Thanh Christopher Nguyễn <chithanh>
Status: CONFIRMED ---    
Severity: normal CC: base-system, jstein, musl, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: build.log
proposed
build.log.1
emerge --info

Description hanetzer 2017-08-03 05:54:39 UTC
Created attachment 487776 [details]
build.log

as above. errors out in efi/wrapper.c for lack of types __uint{8,16,32,64}_t.
Comment 1 Felix Janda 2017-08-03 10:57:21 UTC
Created attachment 487788 [details, diff]
proposed

Please try the attached patch.

It is not very minimal but should be clean enough for upstream. It just
replaces the legacy __uint*_t types by the uint_*_t types from
<stdint.h>.
Comment 2 hanetzer 2017-08-03 11:13:45 UTC
(In reply to Felix Janda from comment #1)
> Created attachment 487788 [details, diff] [details, diff]
> proposed
> 
> Please try the attached patch.
> 
> It is not very minimal but should be clean enough for upstream. It just
> replaces the legacy __uint*_t types by the uint_*_t types from
> <stdint.h>.

Works for a while, but I end up with a segfault later on. will upload a
new build.log.
Comment 3 hanetzer 2017-08-03 11:14:08 UTC
Created attachment 487790 [details]
build.log.1
Comment 4 hanetzer 2017-08-03 11:20:58 UTC
Created attachment 487792 [details]
emerge --info
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2017-08-25 19:20:37 UTC
You may want to report this upstream in syslinux bugzilla: https://bugzilla.syslinux.org/

Once you did that, provide the link in this bug.
Comment 6 Pacho Ramos gentoo-dev 2020-07-30 18:14:08 UTC
*** Bug 713768 has been marked as a duplicate of this bug. ***
Comment 7 Pacho Ramos gentoo-dev 2020-07-30 18:14:42 UTC
*** Bug 716714 has been marked as a duplicate of this bug. ***
Comment 8 Mike Gilbert gentoo-dev 2022-05-30 20:15:16 UTC
*** Bug 828978 has been marked as a duplicate of this bug. ***
Comment 9 Agostino Sarubbo gentoo-dev 2022-07-29 14:20:34 UTC
tinderbox_musl has reproduced this issue with version 6.04_pre1-r3 - Updating summary.
Comment 10 Agostino Sarubbo gentoo-dev 2023-05-10 14:00:42 UTC
tinderbox_musl has reproduced this issue with version 6.04_pre1-r5 - Updating summary.
Comment 11 hugegameartgd 2023-09-09 16:09:05 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #5)
> You may want to report this upstream in syslinux bugzilla:
> https://bugzilla.syslinux.org/
> 
> Once you did that, provide the link in this bug.

https://bugzilla.syslinux.org/show_bug.cgi?id=77