You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-10-02.11:50:01.069>created_at=<Date2013-05-29.16:45:24.129>labels= ['type-bug', 'library', 'build']
title='bad library order returned by python-config.in'updated_at=<Date2014-10-02.11:50:01.067>user='https://bugs.python.org/taylor'
Misc/python-config.in returns a bad library order when given the --ldflags or --libs arguments. A library should be listed *BEFORE* those libraries that it depends upon. The python library depends upon all the other libraries listed, but it is listed last -- it should be first.
When linking with shared libraries, you can generally get away with the current behaviour. When linking with static libraries, it fails
cpython-install/lib/python3.5/config-3.5m/libpython3.5m.a(pytime.o): In function _PyTime_ObjectToTime_t': cpython-build/../cpython/Python/pytime.c:371: undefined reference to ceil'
cpython-build/../cpython/Python/pytime.c:373: undefined reference to `floor'
... skipped ...
I have slightly revised the patch to include Misc/python-config.sh.in as well. Please have a look. Thanks.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: