Bug 849994
| Summary: | Setting environ['CFLAGS'] in a distutils setup.py file results in missing compile flags | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Branislav Náter <bnater> |
| Component: | python | Assignee: | Bohuslav "Slavek" Kabrda <bkabrda> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Branislav Náter <bnater> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | a.badger, bkabrda, psplicha, rda |
| Target Milestone: | rc | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-2.7.5-3.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 727364 | Environment: | |
| Last Closed: | 2014-06-13 12:09:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 727364 | ||
| Bug Blocks: | |||
|
Comment 4
Dave Malcolm
2013-02-20 18:59:26 UTC
This has been merged into RHEL 7 dist-git a while ago. The current build, python-2.7.5-3.el7 has this patch incorporated. Moving to MODIFIED. Fix is present in python-2.7.5-10.el7. No build errors appear. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Build module :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: running build running build_ext building 'example' extension creating build creating build/temp.linux-ppc64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -Wno-write-strings -fPIC -I/usr/include/python2.7 -c example.c -o build/temp.linux-ppc64-2.7/example.o creating build/lib.linux-ppc64-2.7 gcc -pthread -shared -Wl,-z,relro -Wno-write-strings build/temp.linux-ppc64-2.7/example.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-ppc64-2.7/example.so :: [ PASS ] :: Building the module (Expected 0, got 0) :: [ PASS ] :: File 'output' should contain 'fno-strict-aliasing' :: [ PASS ] :: File 'output' should contain 'no-write-string' This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |