On Mon, Mar 16, 2020 at 1:05 AM Gerd Hoffmann <kra...@redhat.com> wrote:
>
> On Sun, Mar 15, 2020 at 10:52:56AM -0700, Fangrui Song wrote:
> > (
> > depends on
> > https://mail.coreboot.org/hyperkitty/list/seabios@seabios.org/thread/SWDV7MB6KSP2ZJF3SEVB3W3H3SOJMXEB/
> > "[PATCH] Makefile: Refactor cc-option"
> >
> > see linux/arch/x86/Makefile for a similar use case
> > )
>
> Better patch description please.  You should also send the patches as
> series, that'll take care of the dependencies, and you can also describe
> the purpose of whole series, requirements and testing status in the
> cover letter.
>
> Purpose seems to be to make seabios buildable with clang.  A note about
> the required clang versions would be useful.  Building with gcc must
> continue to work of course.  Did you test that?  Which gcc version?

Most patches don't have a dependency. They can be applied in arbitrary
order. This patch depends on "[PATCH] Makefile: Refactor cc-option"
just because that patch removes $(CC) and this patch deletes a line
without $(CC).

This patch can be applied without "[PATCH] Makefile: Refactor
cc-option" if ,$(CC) is added back.


I tested with GCC 9.2.1. Note that clang still does not build due to
other reasons:

(1) probable misuse of constraint code 'Q':
(2) clang cannot handle a typeof on GNU expression statement
extension. I haven't investigated whether it is a clang bug.
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to