[PATCH] D133405: [Linux] Hack around Linux/sparc <bits/stdio-ldbl.h>

John Paul Adrian Glaubitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 10 03:13:46 PDT 2022


glaubitz added a comment.

In D133405#3782137 <https://reviews.llvm.org/D133405#3782137>, @nikic wrote:

> In D133405#3782136 <https://reviews.llvm.org/D133405#3782136>, @glaubitz wrote:
>
>> In D133405#3782092 <https://reviews.llvm.org/D133405#3782092>, @nikic wrote:
>>
>>>> I've been using this hack to work around the Linux/sparc64 compile failure described in Issue #47994, especially since the underlying glibc PR build/27558 doesn't seem to be making progress and some fix is required to have LLVM build on sparc64-unknown-linux-gnu at all, as evidenced on the buildbot.
>>>
>>> Didn't this already get fixed by https://github.com/bminor/glibc/commit/d0fa09a7701956036ff36f8ca188e9fff81553d8 upstream? There was also a later fix for the wchar.h header.
>>
>> Seems it has only been fixed for some headers, see: https://sourceware.org/bugzilla/show_bug.cgi?id=27087
>
> The other issue has also already been fixed in https://github.com/bminor/glibc/commit/c7509d49c4e8fa494120c5ead21338559dad16f5 (and these fixes have been backported to glibc 2.34+).
>
> Are you still seeing any issues with a current glibc?

glibc 2.34 currently fails to build from source on sparc64 due to testsuite failures. I haven't reported these upstream yet which I will do now.

See: https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=sparc64&ver=2.34-7&stamp=1661614017&raw=0

  FAIL: elf/tst-audit24a
  FAIL: elf/tst-audit24b
  FAIL: elf/tst-audit24c
  FAIL: elf/tst-audit24d
  FAIL: elf/tst-audit25a
  FAIL: elf/tst-audit25b
  FAIL: elf/tst-ptrguard1-static
  FAIL: elf/tst-stackguard1-static
  FAIL: nptl/tst-cancel24-static
  FAIL: nptl/tst-cancel30
  FAIL: nptl/tst-pthread-attr-affinity-fail
  FAIL: nptl/tst-stackguard1-static
  FAIL: socket/tst-socket-timestamp


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133405/new/

https://reviews.llvm.org/D133405



More information about the llvm-commits mailing list