[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-16 Thread STINNER Victor
STINNER Victor added the comment: The bug is fixed in 3.7 and master (future 3.8) branches. I prefer to leave 2.7 unchanged. I close the issue. Python 2.7 is affected as well, but I'm really scared to touch the build system of Python 2.7 which is very stable. Even for Python 3.7, I wasn't fu

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset cd46b09b0863c787dd54c433fae52bd8bdfaecd0 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-36508: python-config don't export LINKFORSHARED (GH-12661) (GH-12748) https://github.com/python/cpython/commit/cd46b09b0863c787dd54c433fae52bd

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +12675 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset e65f01f78d7bda3013fc5be485afa87ff56511d9 by Victor Stinner in branch 'master': bpo-36508: python-config don't export LINKFORSHARED (GH-12661) https://github.com/python/cpython/commit/e65f01f78d7bda3013fc5be485afa87ff56511d9 -- ___

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-02 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-10112: "Use -Wl,--dynamic-list=x.list, not -Xlinker -export-dynamic". -- ___ Python tracker ___ ___

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-02 Thread STINNER Victor
Change by STINNER Victor : -- title: python-config --ldflags must not contain LINKFORSHARED -> python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux) ___ Python tracker

[issue36508] python-config --ldflags must not contain LINKFORSHARED

2019-04-02 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +doko, ned.deily, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36508] python-config --ldflags must not contain LINKFORSHARED

2019-04-02 Thread STINNER Victor
STINNER Victor added the comment: I'm a little bit scared by the idea of backporting such change in Python 2.7 and 3.7 stable branches, even if I think that it's a correct bugfix. I'm scared by the number of platforms, I don't know all these linker flags and I am not able to test all combina

[issue36508] python-config --ldflags must not contain LINKFORSHARED

2019-04-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12590 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36508] python-config --ldflags must not contain LINKFORSHARED

2019-04-02 Thread STINNER Victor
New submission from STINNER Victor : python-config --ldflags must not contain LINKFORSHARED. Attached PR modifies python-config --ldflags to no longer include LINKFORSHARED. This similar change was already made on macOS: see bpo-14197. -- Python build system uses a LINKFORSHARED variable, e