Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jun 1, 2012, 11:04 AM

Post #1 of 6 (163 views)
Permalink
[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

Hynek Schlawack <hs [at] ox> added the comment:

Ned, any progress/problems?

I've closed two dupes already in the last few days and we're still in the alphas. We really should get this fixed before beta1 or the tracker will be flooded.

Let me know if you need something. :)

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13241>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 1, 2012, 11:13 AM

Post #2 of 6 (164 views)
Permalink
[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7) [In reply to]

Ned Deily <nad [at] acm> added the comment:

Hynek: Thanks for the offer; I've got it. I'll have a comprehensive update to support the new multiple dev environments for 10.6 and beyond prior to b1 (and for 2.7.x and 3.2.x).

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13241>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 13, 2012, 2:23 PM

Post #3 of 6 (154 views)
Permalink
[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7) [In reply to]

Ronald Oussoren <ronaldoussoren [at] mac> added the comment:

The attached configure.ac is a fragment of a configure script that tries to detect if AC_PROG_CC would pick llvm-gcc when clang is also available and then explicitly picks clang.

This would avoid "python3.3 won't build on OSX 10.7" bug reports.

This is not yet a patch to the real configure file because I'd like to add support for automatically picking the compiler inside Xcode.app when the user has Xcode 4 installed without the unix tools (e.g. on an new OSX 10.7 where the user has installed Xcode from the appstore without further actions).

----------
Added file: http://bugs.python.org/file26001/configure.ac

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13241>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 13, 2012, 4:57 PM

Post #4 of 6 (154 views)
Permalink
[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7) [In reply to]

Ronald Oussoren <ronaldoussoren [at] mac> added the comment:

The attached patch "issue13241-configure-version1.txt" implements a number of changes to configure (although only configure.ac is present in the patch)

1) Autodetect the compiler on OSX, in particular
- detect llvm-gcc and use clang instead
- use clang when gcc cannot be found
- use xcrun to locate clang when it isn't in /usr/bin
(no Command Line Tools for Xcode)

2) Detect the most recent working SDK, falls back to the 10.4u SDK
when using an old version of Xcode or even '/' when that SDK isn't
present


This patch needs work though:

* I have barely tested the patch, configure seems to generate a valid
Makefile on OSX 10.7 with the unix tools installed, I haven't tested
yet on older OSX versions of without the unix tools installed

* Distutils/packaging also need changes: need to detect that the
running system has different compiler tools than the build system.
This is needed to be able to use the binary installers on python.org
on systems with other compiler versions and installed SDKs

----------
Added file: http://bugs.python.org/file26004/issue13241-configure-version1.txt

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13241>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 16, 2012, 9:25 AM

Post #5 of 6 (150 views)
Permalink
[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7) [In reply to]

Changes by √Čric Araujo <merwok [at] netwok>:


----------
nosy: +eric.araujo

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13241>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 27, 2012, 4:28 AM

Post #6 of 6 (133 views)
Permalink
[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7) [In reply to]

Changes by Anthony Kong <anthony.hw.kong [at] gmail>:


----------
nosy: +Anthony.Kong

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13241>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.