On Mar 19, 2008, at 2:03 PM, Török Edwin wrote:> > What is kext64, and how do I disable it?Comes from: APPLE_LOCAL='APPLE LOCAL libcc_kext' \ MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib` static;@static at fno-pic kext;@Dmal loc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno-pic@fno- exceptions at fno-non-ca ll-exceptions$(KEXT_EXTRA_FLAGS) $(if $(findstring i686,$ (target)),kext64;@mkernel at m64@Dma lloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT$ (KEXT_EXTRA_FLAGS))" \ EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \ in gcc/Makefile.in. I'd recommend something like: # APPLE LOCAL begin libcc_kext ifeq ($taregt, *-*-darwin*) SPELLING APPLE_EXTRA_MULTI := static;@static at fno-pic kext;@Dmalloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno- pic at fno-exceptions@fno-non-call-exceptions$(KEXT_EXTRA_FLAGS) $(if $ (findstring i686,$ (target )),kext64 ;@mkernel at m64@Dmalloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT$ (KEXT_EXTRA_FLAGS)) endif # APPLE LOCAL end libcc_kext APPLE_LOCAL='APPLE LOCAL libcc_kext' \ MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib` $ (APPLE_EXTRA_MULTI)" \ EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \
Thanks, Mike! I applied this to the tree. Török, please give it a try. In the meantime, I'm going to try on a Linux machine I just got access to. -bw On Wed, Mar 19, 2008 at 2:37 PM, Mike Stump <mrs at apple.com> wrote:> On Mar 19, 2008, at 2:03 PM, Török Edwin wrote: > > > > What is kext64, and how do I disable it? > > Comes from: > > APPLE_LOCAL='APPLE LOCAL libcc_kext' \ > MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib` > static;@static at fno-pic kext;@Dmal > loc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno-pic@fno- > exceptions at fno-non-ca > ll-exceptions$(KEXT_EXTRA_FLAGS) $(if $(findstring i686,$ > (target)),kext64;@mkernel at m64@Dma > lloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT$ > (KEXT_EXTRA_FLAGS))" \ > EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \ > > in gcc/Makefile.in. I'd recommend something like: > > # APPLE LOCAL begin libcc_kext > ifeq ($taregt, *-*-darwin*) SPELLING > APPLE_EXTRA_MULTI := static;@static at fno-pic > kext;@Dmalloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno- > pic at fno-exceptions@fno-non-call-exceptions$(KEXT_EXTRA_FLAGS) $(if $ > (findstring i686,$ > (target > )),kext64 > ;@mkernel at m64@Dmalloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT$ > (KEXT_EXTRA_FLAGS)) > endif > # APPLE LOCAL end libcc_kext > > APPLE_LOCAL='APPLE LOCAL libcc_kext' \ > MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib` $ > (APPLE_EXTRA_MULTI)" \ > EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \ > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
On Mar 19, 2008, at 2:55 PM, Bill Wendling wrote:> Thanks, Mike! I applied this to the tree.No, you applied something else to the tree! :-) I had a space before the \ and after the ". The below should fix it. Doing diffs in .: --- ./Makefile.in.~1~ 2008-03-19 15:45:54.000000000 -0700 +++ ./Makefile.in 2008-03-19 16:30:07.000000000 -0700 @@ -1689,7 +1689,7 @@ libgcc.mk: config.status Makefile mklibg D128PBIT='$(D128PBIT)' \ D128PBIT_FUNCS='$(D128PBIT_FUNCS)' \ APPLE_LOCAL='APPLE LOCAL libcc_kext' \ - MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib` $ (APPLE_EXTRA_MULTI)"\ + MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib` $ (APPLE_EXTRA_MULTI)" \ EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \ SHLIB_LINK='$(SHLIB_LINK)' \ SHLIB_INSTALL='$(SHLIB_INSTALL)' \ --------------