New submission from Ned Deily <[email protected]>:
Fixes for Issue8366 corrected build failures with universal builds on OS X due
to changes in the settings of CFLAGS and BASECFLAGS, which had caused -arch
values to be added to both CFLAGS and BASECFLAGS. The Mac Makefile for the
PythonLauncher app needs to be changed as well, otherwise universal builds can
now fail with errors like:
ld warning: in FileSettings.o, file is not of required architecture
ld warning: in MyAppDelegate.o, file is not of required architecture
ld warning: in MyDocument.o, file is not of required architecture
ld warning: in PreferencesWindowController.o, file is not of required
architecture
ld warning: in doscript.o, file is not of required architecture
ld warning: in main.o, file is not of required architecture
Undefined symbols for architecture i386:
"_main", referenced from:
__start in crt1.o
ld: symbol(s) not found for architecture i386
The attached patch corrects the problem.
----------
assignee: ronaldoussoren
components: Macintosh
files: issue-python-launcher-arch.txt
messages: 103594
nosy: ned.deily, ronaldoussoren
severity: normal
status: open
title: PythonLauncher universal build fails due to missing -arch and -sysroot
type: compile error
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file16987/issue-python-launcher-arch.txt
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8461>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com