Fix clang build, partially
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | gensymlist: fix clang build with exporting of __builtin_trapgrub-core/ | +1 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] Fix clang build, partially
To fix the build with clang, there are 2 parts needed, the first is to get a fix back into gnulib to ensure that the regex code can build, that has been submitted upstream and can be pulled in later since there is now a preference not to have patches held in GRUB's own sources but fix upstream.
But even with that fix, GRUB won't build, and that is because Clang replaces the 'abort()' call with '__builtin_trap', but the abort call is surrounded by an EXPORT_FUNC(), which is valid for GCC.
The core of the issue is that the gensymlist script should be filtering out any call starting with '__builtin_', so this patch will add that filter.
Thanks,
Darren.
Darren Kenny (1):
gensymlist: fix clang build with exporting of __builtin_trap
grub-core/gensymlist.sh | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
2.31.1