[issue18096] bad library order returned by python-config.in

2014-10-02 Thread Matthias Klose

Matthias Klose added the comment:

fixed in 2.7, 3.4 and 3.5

--
resolution:  - fixed
status: open - closed
versions: +Python 2.7 -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18096
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18096] bad library order returned by python-config.in

2014-10-01 Thread Logan Chien

Logan Chien added the comment:

It seems that this is still reproducible with Python 3.5 (dev) by running:

$ gcc test.c `python3-config --includes --ldflags`

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.

--
keywords: +patch
nosy: +Logan.Chien
versions: +Python 3.5
Added file: http://bugs.python.org/file36767/fix-undef-ref.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18096
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18096] bad library order returned by python-config.in

2014-10-01 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6316475af62d by doko in branch '2.7':
- Issue #18096: Fix library order returned by python-config.
https://hg.python.org/cpython/rev/6316475af62d

New changeset b826ba76d1ce by doko in branch '3.4':
- Issue #18096: Fix library order returned by python-config.
https://hg.python.org/cpython/rev/b826ba76d1ce

New changeset 8db7fcf6c67d by doko in branch 'default':
- Issue #18096: Fix library order returned by python-config.
https://hg.python.org/cpython/rev/8db7fcf6c67d

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18096
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18096] bad library order returned by python-config.in

2013-10-14 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
nosy: +barry, ned.deily

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18096
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18096] bad library order returned by python-config.in

2013-10-14 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
components: +Build, Demos and Tools
nosy: +dmalcolm, doko
stage:  - patch review
versions: +Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18096
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18096] bad library order returned by python-config.in

2013-05-29 Thread David Taylor

New submission from David 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

--
components: Library (Lib)
files: xx
messages: 190319
nosy: taylor
priority: normal
severity: normal
status: open
title: bad library order returned by python-config.in
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file30414/xx

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18096
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com