[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If y

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2020-08-25 Thread Kenta Tsubouchi
Change by Kenta Tsubouchi : -- pull_requests: +21067 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21957 ___ Python tracker ___ _

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2020-08-19 Thread Kenta Tsubouchi
Kenta Tsubouchi added the comment: This patch seems good for proprietary compilers in linux. Because such compilers need gcc-style link option. So I'll make PR. -- nosy: +ketsubouchi type: -> enhancement versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2017-04-05 Thread François Bissey
François Bissey added the comment: I am seeing this with clang on linux. It breaks the building pyzmq. I'll concur with Calvin that using just "-R" is wrong in the first place. Some compiler may pass it directly to the linker. But even in the linker, interpreting "-R" as a rpath if the argumen

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2015-09-24 Thread Calvin Walton
Changes by Calvin Walton : Added file: http://bugs.python.org/file40569/distutils-compiler-name.patch ___ Python tracker ___ ___ Python-bugs-l

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2015-09-24 Thread Calvin Walton
Changes by Calvin Walton : -- keywords: +patch Added file: http://bugs.python.org/file40568/distutils-compiler-name.patch ___ Python tracker ___ _

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2015-09-24 Thread Calvin Walton
New submission from Calvin Walton: On Exherbo, the main C/C++ compilers are named e.g. "x86_64-pc-linux-gnu-cc" and "x86_64-pc-linux-gnu-c++", and they are symlinks to either (usually) gcc or (rarely) clang. Since distutils (in unixccompiler.py) is checking for the substring "gcc" or "g++" in