[Top][All Lists]

[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.



Darren Kenny (1):
  gensymlist: fix clang build with exporting of __builtin_trap

 grub-core/ | 1 +
 1 file changed, 1 insertion(+)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]