[PATCH] x86: Don't include <x86intrin.h>

H.J. Lu hjl.tools@gmail.com
Sun Oct 21 07:04:00 GMT 2018


On 10/20/18, H.J. Lu <hjl.tools@gmail.com> wrote:
> On 10/20/18, Florian Weimer <fw@deneb.enyo.de> wrote:
>> * Florian Weimer:
>>
>>
>>> I'm trying to remove the #include <hp-timing.h> from
>>> <libc-internal.h>, but I don't know how hard this will be.
>>
>> That doesn't help.  It's pulled in via <tls.h> and <descr.h> as well.
>> We would need a separate <hp_timing_t.h> header file to avoid that
>> because hp_timing_t is required in a few central places (thread
>> descriptor and link map).
>>
>
> Please try this.
>

It is not about GCC 6.  GCC 8 has the same issue.  Here is the updated
patch.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Don-t-include-x86intrin.h.patch
Type: text/x-patch
Size: 1724 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20181021/e795663f/attachment.bin>


More information about the Libc-alpha mailing list