Gentoo Archives: gentoo-alt

From: Logan Bowers <logan@×××××××××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Problem building Python 2.7.2 on Lion
Date: Mon, 01 Aug 2011 21:41:48
Message-Id: BBF3C70A-3EED-4F33-9050-A3070C6B4B26@datacurrent.com
Hey all, 

I just tried to `emerge python` to upgrade from 2.7.1 to 2.7.2 on my new Lion box (dunno if that has anything to do with it or not), and I'm getting this error. Any ideas? 

x86_64-apple-darwin10-gcc -bundle -undefined dynamic_lookup -Wl,-dead_strip_dylibs -L. -Wl,-dead_strip_dylibs -L. -fno-strict-aliasing -fno-common -dynamic -march=nocona -O2 -pipe -fnested-functions -fwrapv -I/Volumes/Gentoo/usr/include -L/Volumes/Gentoo/lib -L/Volumes/Gentoo/usr/lib -DNDEBUG -I. -IInclude -I./Include build/temp.macosx-10.6-x86_64-2.7/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/_ctypes.o build/temp.macosx-10.6-x86_64-2.7/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/callbacks.o build/temp.macosx-10.6-x86_64-2.7/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/callproc.o build/temp.macosx-10.6-x86_64-2.7/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/stgdict.o build/temp.macosx-10.6-x86_64-2.7/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/cfield.o build/temp.macosx-10.6-x86_64-2.7/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/malloc_closure.o build/temp.macosx-10.6-x86_64-2.7/Volumes/Gentoo/var/tmp/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/_ctypes/darwin/dlfcn_simple.o -L/Volumes/Gentoo/usr/lib -L. -lffi -o build/lib.macosx-10.6-x86_64-2.7/_ctypes.bundle
ld: -allow_stack_execute option can only be used when linking a main executable
collect2: ld returned 1 exit status


Thanks! 

Logan Bowers

Replies

Subject Author
Re: [gentoo-alt] Problem building Python 2.7.2 on Lion Fabian Groffen <grobian@g.o>