touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #60326
[Bug 1428897] Re: wrong compiler flags in _sysconfigdata.py
gcc | 4:4.8.2-1ubuntu6 | trusty | amd64, arm64, armhf,
i386, powerpc, ppc64el
Where did version 4.8.2-19ubuntu come from? That's not the version
shipped in 12.04.
** Changed in: python2.7 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1428897
Title:
wrong compiler flags in _sysconfigdata.py
Status in python2.7 package in Ubuntu:
Incomplete
Bug description:
The package `libpython2.7-minimal` (versino 2.7.9) installs `/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.py` which has unsupported `gcc` flag, for example:
```
>>> import _sysconfig
>>> _sysconfig.build_time_vars['LDSHARED']
'x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security '
```
contains `-fstack-protector-strong` which is not supported by the `gcc` shipped with ubuntu 14.04 (version 4.8.2-19ubuntu). I found it when I tried to install `pygit2` using `pip` (for that one needs to compile `libgit2-0.22.0` from sources, since ubuntu ships `libigt2-0.19.0`. `gcc` was failing with an error because `-fstack-protector-strong` is not supported. After replacing the flag with `-fstak-protector` `gcc` runs smoothly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1428897/+subscriptions
References