Mailing List Archive

[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9
Ronald Oussoren added the comment:

Why does you patch test for -mno-fused-madd? If it isn't actually needed
for something I'd rather not have that logic in the configure file,
determining which bits of that file are actually needed for supported
OS-es is hard enough as it is.

-Wno-long-double is needed when compiling on old versions of OSX, where
"long double" worked but wasn't actually useful. Keeping that option
seems to be harmless.

-no-cpp-precomp was necessary for several packages on older releases of
OSX. I'll test on a 10.3 box when I have time (which is the oldest I can
test on).

----------
assignee: -> ronaldoussoren
nosy: +ronaldoussoren

_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1779871>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9 [ In reply to ]
Jeffrey Yasskin added the comment:

In http://gcc.gnu.org/ml/gcc/2005-12/msg00368.html, Mike Stump
<mrs@apple.com> said "This flag [-no-cpp-precomp] should be removed from
the compile, it hasn't been needed in a long while (since gcc-3.1)."
which was released in 2002.

I'm happy to remove -mno-fused-madd if you say it's unnecessary.

Ronald, do you mean "Removing that option [-Wno-long-double] seems to be
harmless"? Keeping it harms compiles with non-apple gcc's, but I could
add it to a block like -mno-fused-madd.

_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1779871>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9 [ In reply to ]
Ronald Oussoren added the comment:

jyasskin: could you test apple_gcc_flags.diff? That's a version of your
patch where configure tests if GCC supports -Wno-long-double and -no-
cpp-precomp.

NOTE: the patch doesn't update configure, you'll have to run autoconf
after applying it.

NOTE2: the patch is relative to python's trunk, but should apply to
2.5.x as well.

----------
resolution: -> accepted

_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1779871>
_____________________________________
[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9 [ In reply to ]
Changes by Ronald Oussoren:


_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1779871>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9 [ In reply to ]
Changes by Ronald Oussoren:


_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1779871>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9 [ In reply to ]
Jeffrey Yasskin added the comment:

I'm not going to get to this for about a week, but I'll test the patch then.

_____________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1779871>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com