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 packages | Assignee: | 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 |
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>.
(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. Created attachment 487790 [details]
build.log.1
Created attachment 487792 [details]
emerge --info
You may want to report this upstream in syslinux bugzilla: https://bugzilla.syslinux.org/ Once you did that, provide the link in this bug. *** Bug 713768 has been marked as a duplicate of this bug. *** *** Bug 716714 has been marked as a duplicate of this bug. *** *** Bug 828978 has been marked as a duplicate of this bug. *** tinderbox_musl has reproduced this issue with version 6.04_pre1-r3 - Updating summary. tinderbox_musl has reproduced this issue with version 6.04_pre1-r5 - Updating summary. (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 |
Created attachment 487776 [details] build.log as above. errors out in efi/wrapper.c for lack of types __uint{8,16,32,64}_t.