Displaying 4 results from an estimated 4 matches for "d38481".
2017 Oct 04
7
Minimal glibc version supported by LLVM build
Hi All,
The landed patch https://reviews.llvm.org/D38481 introduced the usage of CPU_COUNT defined in glibc sched.h header.
I failed to find this symbol in sched.h of glibc version 2.5-24, so compilation just fails.
/home/dolphin/merge-from-upstream-area/ws/pristine/lib/Support/Threading.cpp: In function 'unsigned int llvm::hardware_concurrency()'...
2017 Oct 04
2
Minimal glibc version supported by LLVM build
...his breaks at least on Centos 6.4 which is derived from REHL 6.
This appears to break on anything REHL 6 (or earlier) derived. I think this patch needs to be reverted. Thoughts?
Philip
On 10/04/2017 12:08 AM, Serguei Katkov via llvm-dev wrote:
Hi All,
The landed patch https://reviews.llvm.org/D38481 introduced the usage of CPU_COUNT defined in glibc sched.h header.
I failed to find this symbol in sched.h of glibc version 2.5-24, so compilation just fails.
/home/dolphin/merge-from-upstream-area/ws/pristine/lib/Support/Threading.cpp: In function ‘unsigned int llvm::hardware_concurrency()’:
/home...
2017 Oct 04
2
Minimal glibc version supported by LLVM build
..., so I wonder what operating system
> you are using now.
>
> On Wed, Oct 4, 2017 at 12:08 AM, Serguei Katkov via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> Hi All,
>
> The landed patch https://reviews.llvm.org/D38481
> <https://reviews.llvm.org/D38481> introduced the usage of
> CPU_COUNT defined in glibc sched.h header.
>
> I failed to find this symbol in sched.h of glibc version 2.5-24,
> so compilation just fails.
>
> /home/dolphin/merge-from-upstream-area/ws/pri...
2017 Oct 04
2
Minimal glibc version supported by LLVM build
...released 11 years ago, so I wonder what operating system you
> are using now.
>
> On Wed, Oct 4, 2017 at 12:08 AM, Serguei Katkov via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi All,
>>
>>
>>
>> The landed patch https://reviews.llvm.org/D38481 introduced the usage of
>> CPU_COUNT defined in glibc sched.h header.
>>
>> I failed to find this symbol in sched.h of glibc version 2.5-24, so
>> compilation just fails.
>>
>> /home/dolphin/merge-from-upstream-area/ws/pristine/lib/Support/Threading.cpp:
>>...