[U-Boot] [PATCH v8 14/30] efi: Don't build sandbox with __attribute__((ms_abi))

Alexander Graf agraf at suse.de
Wed Jun 20 08:56:01 UTC 2018


On 06/20/2018 12:02 AM, Simon Glass wrote:
> Hi Alex,
>
> On 18 June 2018 at 08:46, Alexander Graf <agraf at suse.de> wrote:
>> On 06/18/2018 04:08 PM, Simon Glass wrote:
>>> There appears to be a bug [1] in gcc when using varargs with this
>>> attribute. Disable it for sandbox so that functions which use that can
>>> work correctly, such as install_multiple_protocol_interfaces().
>>>
>>> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955
>>>
>>> Signed-off-by: Simon Glass <sjg at chromium.org>
>>
>> See my patch instead please.
> OK I see it now. Do you know what gcc fixes this problem?

The bug you found was really just a gcc bug that hit early gcc6 
versions. I doubt you're running into it :).


Alex



More information about the U-Boot mailing list