msg121817 - (view) |
Author: Nicolas Joly (njoly) |
Date: 2010-11-20 23:59 |
The configure script do hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD, which should be avoided. [...] checking for gcc... gcc checking whether gcc accepts -g... yes [...] checking SO... .so checking LDSHARED... cc -shared checking CCSHARED... -fPIC [...] |
|
|
msg124426 - (view) |
Author: OBATA Akio (obache) |
Date: 2010-12-21 11:24 |
This patch is also required for DragonFly, or libpython will not linked against libpthread and broken library. |
|
|
msg124438 - (view) |
Author: Antoine Pitrou (pitrou) *  |
Date: 2010-12-21 17:49 |
Does it work properly if CC and CXX are not defined by the user? (probably a naïve question, sorry) |
|
|
msg124471 - (view) |
Author: Nicolas Joly (njoly) |
Date: 2010-12-22 00:29 |
I do not tested it extensively, but seems so. njoly@petaure [temp/python27]> ./python Python 2.7.1+ (release27-maint:87432M, Dec 22 2010, 01:10:26) [GCC 4.1.3 20080704 prerelease (NetBSD nb2 20081120)] on netbsd5 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.version '2.7.1+ (release27-maint:87432M, Dec 22 2010, 01:10:26) \n[GCC 4.1.3 20080704 prerelease (NetBSD nb2 20081120)]' >>> import os >>> os.uname() ('NetBSD', 'petaure.lan', '5.99.41', 'NetBSD 5.99.41 (PETAURE) #7: Mon Dec 20 23:06:49 CET 2010 njoly@petaure.lan:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/PETAURE', 'amd64') |
|
|
msg124479 - (view) |
Author: OBATA Akio (obache) |
Date: 2010-12-22 02:52 |
CC and CXX will be set in configure script if not set. |
|
|
msg125079 - (view) |
Author: Antoine Pitrou (pitrou) *  |
Date: 2011-01-02 19:39 |
Patch committed in r87639 (3.2), r87641 (3.1) and r87640 (2.7). Thank you! |
|
|
msg125091 - (view) |
Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) *  |
Date: 2011-01-02 20:17 |
(CC)and(CC) and (CC)and(CXX) should be expanded by `make`, but configure.in contains wrong quoting, which results in incorrect expansion during running `configure`. -LDSHARED="$(CC) -shared" -LDCXXSHARED="$(CXX) -shared";; +LDSHARED='$(CC) -shared' +LDCXXSHARED='$(CXX) -shared';; |
|
|
msg125098 - (view) |
Author: Antoine Pitrou (pitrou) *  |
Date: 2011-01-02 21:05 |
> (CC)and(CC) and (CC)and(CXX) should be expanded by `make`, but configure.in > contains wrong quoting, which results in incorrect expansion during > running `configure`. Oops, sorry. Should be fixed, now. |
|
|