Re: [PATCH] libstdc++: Workaround glibc header on ia64-linux

2024-10-03 Thread Frank Scheiner
On 01.10.24 18:02, Jonathan Wakely wrote: On Tue, 1 Oct 2024 at 16:53, Frank Scheiner wrote: Though I don't understand why. From the error message it sounds like 'u' was replaced with '(' before the __ctx macro could do its job. But Joseph also wrote that it "prepends __ in standards conforman

Re: [PATCH] libstdc++: Workaround glibc header on ia64-linux

2024-10-01 Thread Jonathan Wakely
On Tue, 1 Oct 2024 at 14:05, Frank Scheiner wrote: > > Hi Jonathan, > > On 01.10.24 11:28, Jonathan Wakely wrote: > > On Mon, 30 Sept 2024 at 18:26, Frank Scheiner wrote: > >> The following patch adds a workaround for this on the libstdc++ > >> testsuite side. > > > > Thanks for the patch. Please

Re: [PATCH] libstdc++: Workaround glibc header on ia64-linux

2024-10-01 Thread Jonathan Wakely
On Tue, 1 Oct 2024 at 16:53, Frank Scheiner wrote: > > Hi Jonathan, Joseph, > > On 01.10.24 15:32, Jonathan Wakely wrote: > > On Tue, 1 Oct 2024 at 14:05, Frank Scheiner wrote: > >> On 01.10.24 11:28, Jonathan Wakely wrote: > >>> On Mon, 30 Sept 2024 at 18:26, Frank Scheiner wrote: > >>> It looks

Re: [PATCH] libstdc++: Workaround glibc header on ia64-linux

2024-10-01 Thread Frank Scheiner
Hi Jonathan, Joseph, On 01.10.24 15:32, Jonathan Wakely wrote: On Tue, 1 Oct 2024 at 14:05, Frank Scheiner wrote: On 01.10.24 11:28, Jonathan Wakely wrote: On Mon, 30 Sept 2024 at 18:26, Frank Scheiner wrote: It looks like the glibc header also defines "bits" without using the implementation

Re: [PATCH] libstdc++: Workaround glibc header on ia64-linux

2024-10-01 Thread Frank Scheiner
Hi Jonathan, On 01.10.24 11:28, Jonathan Wakely wrote: On Mon, 30 Sept 2024 at 18:26, Frank Scheiner wrote: The following patch adds a workaround for this on the libstdc++ testsuite side. Thanks for the patch. Please CC libstd...@gcc.gnu.org for all libstdc++ patches, as per https://gcc.gnu.o

Re: [PATCH] libstdc++: Workaround glibc header on ia64-linux

2024-10-01 Thread Jonathan Wakely
On Mon, 30 Sept 2024 at 18:26, Frank Scheiner wrote: > > We see: > > ``` > FAIL: 17_intro/names.cc -std=gnu++17 (test for excess errors) > FAIL: 17_intro/names_pstl.cc -std=gnu++17 (test for excess errors) > FAIL: experimental/names.cc -std=gnu++17 (test for excess errors) > ``` > > ...on ia64-l

[PATCH] libstdc++: Workaround glibc header on ia64-linux

2024-09-30 Thread Frank Scheiner
We see: ``` FAIL: 17_intro/names.cc -std=gnu++17 (test for excess errors) FAIL: 17_intro/names_pstl.cc -std=gnu++17 (test for excess errors) FAIL: experimental/names.cc -std=gnu++17 (test for excess errors) ``` ...on ia64-linux. This is due to: * /usr/include/bits/sigcontext.h:32-38: ``` 32