Re: [PATCH 4/7] x86, boot, LLVM: #undef memcpy etc in string.c

2017-06-30 Thread Matthias Kaehlcke
El Thu, Jun 22, 2017 at 03:37:23PM -0700 H. Peter Anvin ha dit: > On 06/22/17 15:31, Matthias Kaehlcke wrote: > > (removed some non-x86 lists and folks from recipients) > > > > El Thu, Mar 16, 2017 at 05:15:17PM -0700 Michael Davidson ha dit: > > > >> undef memcpy and friends in boot/string.c so

Re: [PATCH 4/7] x86, boot, LLVM: #undef memcpy etc in string.c

2017-06-22 Thread H. Peter Anvin
On 06/22/17 15:31, Matthias Kaehlcke wrote: > (removed some non-x86 lists and folks from recipients) > > El Thu, Mar 16, 2017 at 05:15:17PM -0700 Michael Davidson ha dit: > >> undef memcpy and friends in boot/string.c so that the functions >> defined here will have the correct names, otherwise we

Re: [PATCH 4/7] x86, boot, LLVM: #undef memcpy etc in string.c

2017-06-22 Thread Matthias Kaehlcke
(removed some non-x86 lists and folks from recipients) El Thu, Mar 16, 2017 at 05:15:17PM -0700 Michael Davidson ha dit: > undef memcpy and friends in boot/string.c so that the functions > defined here will have the correct names, otherwise we end up > up trying to redefine __builtin_memcpy etc.

[PATCH 4/7] x86, boot, LLVM: #undef memcpy etc in string.c

2017-03-16 Thread Michael Davidson
undef memcpy and friends in boot/string.c so that the functions defined here will have the correct names, otherwise we end up up trying to redefine __builtin_memcpy etc. Surprisingly, gcc allows this (and, helpfully, discards the __builtin_ prefix from the function name when compiling it), but clan