https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50818
Steven Shi changed:
What|Removed |Added
CC||steven.shi at intel dot com
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50818
--- Comment #6 from Steven Shi ---
BTW, latest LLVM/Clang 3.8 release has fixed this va_list ms_abi issue, please
see below email thread. Does GCC really cannot fix it as LLVM/Clang? This issue
really impact Uefi firmware building with GCC.
http
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50818
--- Comment #9 from Steven Shi ---
GCC6.10 lto fails to support below MS ABI buildin of va list, but GCC5 works.
This is a regression bug for GCC6. I suspect current GCC trunk also has this
regression bug.
__builtin_ms_va_list ap;
__builtin_m
Assignee: unassigned at gcc dot gnu.org
Reporter: steven.shi at intel dot com
Target Milestone: ---
GCC6.10 lto fails to support below MS ABI buildin of va list, but GCC5 works.
This is a regression bug for GCC6. I suspect current GCC trunk also has this
regression bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955
--- Comment #16 from Steven Shi ---
How to checkout the 6.3 code from GCC trunk? I hope to verify this fix on Uefi
firmware GCC LTO build.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955
--- Comment #19 from Steven Shi ---
(In reply to vries from comment #18)
> Created attachment 39484 [details]
> Tentative patch using attributes ms_abi/sysv_abi
>
> not build or regression tested yet, but at least makes test-case pass.
Vries,
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955
--- Comment #21 from Steven Shi ---
Vries,
Sorry, my bad. I didn't apply your patch completely. Yes, your patch works.
And with your patch, my UEFU firmware gcc lto build pass and boot successfully.
Hope we could check in a formal fix ASAP, becau