This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2010年11月20日 23:59 by njoly, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| python-cc.diff | njoly, 2010年11月20日 23:59 | Fix hardcoded compilers on NetBSD | ||
| Messages (8) | |||
|---|---|---|---|
| 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) * (Python committer) | 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) * (Python committer) | 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) * (Python triager) | Date: 2011年01月02日 20:17 | |
$(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) * (Python committer) | Date: 2011年01月02日 21:05 | |
> $(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. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:09 | admin | set | github: 54684 |
| 2011年01月02日 21:05:52 | pitrou | set | nosy:
pitrou, Arfrever, njoly, obache messages: + msg125098 |
| 2011年01月02日 20:17:07 | Arfrever | set | nosy:
+ Arfrever messages: + msg125091 |
| 2011年01月02日 19:39:08 | pitrou | set | status: open -> closed versions: - Python 2.6, Python 2.5 nosy: pitrou, njoly, obache messages: + msg125079 resolution: fixed stage: patch review -> resolved |
| 2010年12月22日 02:52:26 | obache | set | nosy:
pitrou, njoly, obache messages: + msg124479 versions: + Python 2.6, Python 2.5 |
| 2010年12月22日 00:29:11 | njoly | set | nosy:
pitrou, njoly, obache messages: + msg124471 |
| 2010年12月21日 17:49:03 | pitrou | set | versions:
+ Python 3.1, Python 3.2 nosy: + pitrou messages: + msg124438 type: behavior stage: patch review |
| 2010年12月21日 11:24:19 | obache | set | nosy:
+ obache messages: + msg124426 |
| 2010年11月20日 23:59:39 | njoly | create | |