Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-09-02 Thread Corinna Vinschen
On Sep 1 11:28, Brian Inglis wrote: > On 2020-08-31 13:41, Corinna Vinschen wrote: > > On Aug 31 13:24, Brian Inglis wrote: > The upstream patch changed only amd64/x86_64 code sequences for multiple > modules > including modfl, and left i386/x86 untouched for those modules. > >> >

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-09-01 Thread Brian Inglis
On 2020-08-31 13:41, Corinna Vinschen wrote: > On Aug 31 13:24, Brian Inglis wrote: >> On 2020-08-31 12:45, Corinna Vinschen wrote: >>> On Aug 31 09:37, Brian Inglis wrote: On 2020-08-31 01:35, Corinna Vinschen wrote: > On Aug 30 14:39, Brian Inglis wrote: >> On 2020-08-30 07:00, Corin

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-31 Thread Corinna Vinschen
On Aug 31 13:24, Brian Inglis wrote: > On 2020-08-31 12:45, Corinna Vinschen wrote: > > On Aug 31 09:37, Brian Inglis wrote: > >> On 2020-08-31 01:35, Corinna Vinschen wrote: > >>> On Aug 30 14:39, Brian Inglis wrote: > On 2020-08-30 07:00, Corinna Vinschen wrote: > > On Aug 29 08:52, airp

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-31 Thread Brian Inglis
On 2020-08-31 12:45, Corinna Vinschen wrote: > On Aug 31 09:37, Brian Inglis wrote: >> On 2020-08-31 01:35, Corinna Vinschen wrote: >>> On Aug 30 14:39, Brian Inglis wrote: On 2020-08-30 07:00, Corinna Vinschen wrote: > On Aug 29 08:52, airplanemath via Cygwin wrote: >> I have two repo

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-31 Thread Corinna Vinschen
On Aug 31 09:37, Brian Inglis wrote: > On 2020-08-31 01:35, Corinna Vinschen wrote: > > On Aug 30 14:39, Brian Inglis wrote: > >> On 2020-08-30 07:00, Corinna Vinschen wrote: > >>> On Aug 29 08:52, airplanemath via Cygwin wrote: > I have two reports.  A brief description of the system: >

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-31 Thread Brian Inglis
On 2020-08-31 01:35, Corinna Vinschen wrote: > On Aug 30 14:39, Brian Inglis wrote: >> On 2020-08-30 07:00, Corinna Vinschen wrote: >>> On Aug 29 08:52, airplanemath via Cygwin wrote: I have two reports.  A brief description of the system: $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" >

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-31 Thread Corinna Vinschen
On Aug 30 14:39, Brian Inglis wrote: > On 2020-08-30 07:00, Corinna Vinschen wrote: > > On Aug 29 08:52, airplanemath via Cygwin wrote: > >> I have two reports.  A brief description of the system: > >> $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" > >> CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3)

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-31 Thread Corinna Vinschen
On Aug 30 15:21, airplanemath--- via Cygwin wrote: > Corinna Vinschen writes: > > On Aug 29 08:52, airplanemath via Cygwin wrote: > >> Hello, > >> > >> I have two reports. A brief description of the system: > >> $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" > >> CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-30 Thread Brian Inglis
On 2020-08-30 07:00, Corinna Vinschen wrote: > On Aug 29 08:52, airplanemath via Cygwin wrote: >> I have two reports.  A brief description of the system: >> $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" >> CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin ... >> $ cat tes

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-30 Thread Brian Inglis
On 2020-08-30 00:23, ASSI wrote: > Ken Brown via Cygwin writes: >> OK, so the problem was introduced between 3.1.4 and 3.1.5. It should >> be pretty easy to bisect and find the culprit. I'll do that tomorrow >> if no one beats me to it. > > The most likely culprit would be this I think: > > htt

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-30 Thread airplanemath--- via Cygwin
Corinna Vinschen writes: > On Aug 29 08:52, airplanemath via Cygwin wrote: >> Hello, >> >> I have two reports. A brief description of the system: >> $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" >> CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin >> >> The first repor

Re: [QUAR] Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-30 Thread Eliot Moss
On 8/30/2020 12:11 PM, Ken Brown wrote: On 8/29/2020 5:41 PM, Eliot Moss wrote: It seems the math functions in winsup were not built quite right ... That's a pretty broad generalization to make based on one reported bug (which Corinna fixed within 24 hours of the report). I certainly did no

Re: [QUAR] Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-30 Thread Ken Brown via Cygwin
On 8/29/2020 5:41 PM, Eliot Moss wrote: It seems the math functions in winsup were not built quite right ... That's a pretty broad generalization to make based on one reported bug (which Corinna fixed within 24 hours of the report). Ken -- Problem reports: https://cygwin.com/problems.ht

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-30 Thread Corinna Vinschen
On Aug 29 08:52, airplanemath via Cygwin wrote: > Hello, > > I have two reports.  A brief description of the system: > $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" > CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin > > The first report: > > $ cpp /usr/include/threads

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-29 Thread ASSI
Ken Brown via Cygwin writes: > OK, so the problem was introduced between 3.1.4 and 3.1.5. It should > be pretty easy to bisect and find the culprit. I'll do that tomorrow > if no one beats me to it. The most likely culprit would be this I think: https://sourceware.org/git/?p=newlib-cygwin.git;a

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-29 Thread Ken Brown via Cygwin
On 8/29/2020 9:21 PM, airplanemath via Cygwin wrote: Stepping back through Cygwin releases, I find: $ gcc -Og -ggdb -g3 -Wall -Wextra -std=c99 -pedantic test.c -o test.exe $ ./test.exe 123.456 123.456000 0.456000 123.00 $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" CYGWIN_NT-10.0 ${HOSTN

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-29 Thread airplanemath via Cygwin
On 8/29/2020 1:57 PM, Ken Brown wrote: > On 8/29/2020 8:52 AM, airplanemath via Cygwin wrote: >> Hello, >> >> I have two reports.� A brief description of the system: >> $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" >> CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 >> Cygw

Re: [QUAR] Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-29 Thread Eliot Moss
On 8/29/2020 1:57 PM, Ken Brown via Cygwin wrote: >> #include >> #include >> #include >> >> int main(int argc, char *argv[]) { >>long double a, b, c; >>char *num_end = NULL; >>a = b = c = 0.0L; >>if (argc != 2) { >> fprintf(stderr, "Usage: %s NUMBER\n", argv[0]); >> e

Re: cpp /usr/include/threads.h fails; modfl segfaults

2020-08-29 Thread Ken Brown via Cygwin
On 8/29/2020 8:52 AM, airplanemath via Cygwin wrote: Hello, I have two reports.  A brief description of the system: $ uname -a | sed "s/${HOSTNAME}/\${HOSTNAME}/g" CYGWIN_NT-10.0 ${HOSTNAME} 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin In the future, please use two separate emails for two u