From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1244.3) From: Jeff Sickel In-Reply-To: Date: Mon, 26 Sep 2011 14:58:53 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] cocoa devdraw Topicbox-Message-UUID: 2ced8800-ead7-11e9-9d60-3106f5b1d025 On Sep 26, 2011, at 2:47 PM, Russ Cox wrote: > On Mon, Sep 26, 2011 at 3:23 PM, Anthony Sorace wrote: >> Do you have reason to believe this is a Lion issue? I'm running >> Xcode 4.1 on Snow Leopard and libthread is buggered for me, >> as well (I don't currently have a Lion system to confirm it's >> buggered in the same way). >=20 > No, I believe it is an Xcode 4.1 issue. > However, I don't know how to obtain > Xcode 4.1 for Snow Leopard, only Lion. > How did you get it? I believe Xcode 4.1 has been out since an iOS 4.x release. Xcode 4.2 is still in beta as it is bundled with iOS 5 beta. There is a strong chance that the gnu toolchain in that release could our culprit, akin to Russ' suspect of getcontext/setcontext. It may also be that the 4.1 release was the first one where llvm-gcc was also an option. My other build issue is in libstdio: % 9c -v dtoa.c Using built-in specs. Target: i686-apple-darwin11 Configured with: = /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure = --disable-checking --enable-werror --prefix=3D/Developer/usr/llvm-gcc-4.2 = --mandir=3D/share/man --enable-languages=3Dc,objc,c++,obj-c++ = --program-prefix=3Dllvm- = --program-transform-name=3D/^[cg][^.-]*$/s/$/-4.2/ = --with-slibdir=3D/usr/lib --build=3Di686-apple-darwin11 = --enable-llvm=3D/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCo= re/Developer/usr/local --program-prefix=3Di686-apple-darwin11- = --host=3Dx86_64-apple-darwin11 --target=3Di686-apple-darwin11 = --with-gxx-include-dir=3D/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build = 2335.15.00) /usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin11/4.2.1/cc1 = -quiet -v -I/usr/local/plan9/include -imultilib x86_64 -iprefix = /usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/ -dD = -D__DYNAMIC__ -DPLAN9PORT dtoa.c -fPIC -quiet -dumpbase dtoa.c = -mmacosx-version-min=3D10.7.1 -m64 -mtune=3Dcore2 -auxbase dtoa -g3 -O2 = -Wall -Wno-parentheses -Wno-missing-braces -Wno-switch -Wno-comment = -Wno-sign-compare -Wno-unknown-pragmas -version -fno-omit-frame-pointer = -o /var/folders/bl/0lxz1p188xl3x1006s6bjlhh0000gn/T//cc8g6Ba2.s ignoring nonexistent directory = "/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../../i6= 86-apple-darwin11/include" ignoring nonexistent directory = "/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../../..= /i686-apple-darwin11/include" #include "..." search starts here: #include <...> search starts here: /usr/local/plan9/include /usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include /usr/local/include /Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include /usr/include /System/Library/Frameworks (framework directory) /Library/Frameworks (framework directory) End of search list. GNU C version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build = 2335.15.00) (i686-apple-darwin11) compiled by GNU C version 4.2.1 (Based on Apple Inc. build 5658) = (LLVM build 2335.15.00). GGC heuristics: --param ggc-min-expand=3D150 --param = ggc-min-heapsize=3D65536 Compiler executable checksum: edef36ecca2ce3f93d0f78610b5af911 dtoa.c:491: error: =91FPdbleword=92 undeclared dtoa.c:491: error: expected expression before =91)=92 token dtoa.c:492: error: expected expression before =91)=92 token dtoa.c:493: error: expected expression before =91)=92 token ...