Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

Conversation

@brendanhoran
Copy link

@brendanhoran brendanhoran commented Mar 16, 2017

Centos 7.3 uses CLANG 3.4. CLANG 3.4 and below do not understand "fstack-protector-strong".
This patch checks for Centos 7.3 and switches back to GCC.
EG :

# make sdist
python setup.py sdist --formats=zip
clang: error: unknown argument: '-fstack-protector-strong'
clang: error: unknown argument: '-fstack-protector-strong'
clang: error: unknown argument: '-fstack-protector-strong'
clang: error: unknown argument: '-fstack-protector-strong'

Happens no matter what "make option" is used.

@FelixSchwarz
Copy link

Your patch does not affect/fix building with "python setup.py build", right?

However there is a workaround:

export LIBSOURCEMAP_MANYLINUX=1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants