[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Arfrever Frehtes Taifersar Arahesis
Change by Arfrever Frehtes Taifersar Arahesis : -- assignee: -> twouters nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Arfrever Frehtes Taifersar Arahesis
Change by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Mike Gilbert added the comment: To resolve this, I suggest clearing CFLAGS/CXXFLAGS before performing the ptheads check, and restoring them afterward. -- ___ Python tracker __

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Change by Mike Gilbert : Added file: https://bugs.python.org/file47215/configure.log ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Change by Mike Gilbert : Added file: https://bugs.python.org/file47216/build.log ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
New submission from Mike Gilbert : When testing for ptheads support in the compiler, configure includes the CFLAGS value from the environment. If CFLAGS contains -pthread, or an option which implies -pthread (like -fopenmp), this will cause configure to not include -pthread in the CC variable