[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/1] Fix clang build, partially
From: |
Darren Kenny |
Subject: |
[PATCH 0/1] Fix clang build, partially |
Date: |
Tue, 14 Jun 2022 13:35:43 +0000 |
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(+)
--
2.31.1
- [PATCH 0/1] Fix clang build, partially,
Darren Kenny <=