This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dilyan.palauzov
Recipients dilyan.palauzov, vstinner
Date 2017-10-10.19:48:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507664883.94.0.213398074469.issue31748@psf.upfronthosting.co.za>
In-reply-to
Content
Having 'CFLAGS="-pipe -Werror -Wall -Wextra -O3 -fno-fat-lto-objects -flto" CXXFLAGS="-pipe -Wall -Wextra -O3 -fno-fat-lto-objects -flto" LDFLAGS="-Wl,-O1,-s -flto=12" ' in config.site and running "./configure" with gcc8 prints:

checking for fchdir... no
checking for fsync... no
checking for fdatasync... no

and config.log has:

configure:11440: checking for fchdir
configure:11453: gcc -c -pipe -Werror -Wall -Wextra -O3 -fno-fat-lto-objects -flto  conftest.c >&5
conftest.c: In function 'main':
conftest.c:250:7: error: unused variable 'x' [-Werror=unused-variable]
 void *x=fchdir
       ^
cc1: all warnings being treated as errors
configure:11453: $? = 1
configure: failed program was:
| /* confdefs.h */
...
| #define HAVE_DIRFD 1
| /* end confdefs.h.  */
| #include <unistd.h>
| int
| main ()
| {
| void *x=fchdir
|   ;
|   return 0;
| }
configure:11460: result: no
History
Date User Action Args
2017-10-10 19:48:03dilyan.palauzovsetrecipients: + dilyan.palauzov, vstinner
2017-10-10 19:48:03dilyan.palauzovsetmessageid: <1507664883.94.0.213398074469.issue31748@psf.upfronthosting.co.za>
2017-10-10 19:48:03dilyan.palauzovlinkissue31748 messages
2017-10-10 19:48:03dilyan.palauzovcreate