Comments (2)
A guess is that some mismatch in your environment is causing that flag to be added (I don't find "-fstack-protector-strong" anywhere in the pysubnettree sources). Is it set in CFLAGS or CXXFLAGS in your environment (check output of env
command) ?
Or do you happen to use or have custom compiler or python versions on your system? E.g. if python was built with a newer compiler version that did support -fstack-protector-strong, but it's now using an older compiler here, that might be a reason.
Trying this might be a way to override compile flags:
BASECFLAGS="" OPT="" CFLAGS="" CXXFLAGS="" python2.7 setup.py install
Another idea would be to check the output of:
python2.7 -c "import sysconfig; print sysconfig.get_config_vars()"
and see if -fstack-protector-strong shows up anywhere, then try manually overriding it by putting your own code in setup.py.
from pysubnettree.
Thanks,i just upgraded my gcc version to 4.8 and then solved this problem.Thanks again for your reply.
from pysubnettree.
Related Issues (20)
- issue when installing with pip
- segmentation fault on bad cidr HOT 1
- Segmentation fault checking "large string" in tree HOT 1
- Segmentation fault in 0.29 - due to bogus cidr pointer? HOT 3
- Over scribing ASN to same net but distinct mask HOT 1
- swig can't find header file in new location HOT 4
- Segfault with python 3.6.10 and subnettree 0.33 HOT 12
- Is this package suitable for Windows? HOT 1
- Prefix lookups possible? HOT 1
- Issue When Installing HOT 2
- Very high memory usage with large sets HOT 2
- Add type annotations? HOT 3
- Error installing Newlines are not allowed
- Swig 4 issue HOT 6
- signal 11 during ip lookup HOT 1
- SWIG-Wrapper not updated after #14 HOT 3
- Automatic pypi upload via GitHub actions
- Thread safety HOT 1
- Semantics of lookup of CIDR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysubnettree.