Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626952 - sys-boot/syslinux-6.04_pre1 won't compile on musl
Summary: sys-boot/syslinux-6.04_pre1 won't compile on musl
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
: 713768 716714 (view as bug list)
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2017-08-03 05:54 UTC by hanetzer
Modified: 2020-07-30 18:14 UTC (History)
4 users (show)

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


Attachments
build.log (file_626952.txt,913.41 KB, text/plain)
2017-08-03 05:54 UTC, hanetzer
Details
proposed (syslinux.patch,8.44 KB, patch)
2017-08-03 10:57 UTC, Felix Janda
Details | Diff
build.log.1 (file_626952.txt,256.44 KB, text/plain)
2017-08-03 11:14 UTC, hanetzer
Details
emerge --info (file_626952.txt,6.23 KB, text/plain)
2017-08-03 11:20 UTC, hanetzer
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***