Thread: Lion with AMD
View Single Post
 
Old 08-06-2012, 04:53 PM
Deltac0 Deltac0 is offline
Cheetah
 
Join Date: Jul 2012
Posts: 5
I have wonderfully working Lion 10.7.3 on my AMD Phenom II 965 x4. 32-bit only though, but no need to worry about crashing or random kernel panics, everything works. Finder from DP2.

I would like to compile a kernel on this configuration, is it possible?
I know XCode is a 64-bit app and can't be run on my 32-bit Lion, but is there some other way to compile. Is XCode really required, or does the kernel compile with only the Command Line Tools from Apple? I compiled my own 10.7.3 kernel from my Snow Leopard, but as far as I know, Snow Leopard isn't suitable for compiling 10.8 kernel?

I would just like to test the new 10.8 kernel and try to patch it for AMD.

While compiling on the SL 10.6.8, XCode 4.2 (Command Line Tools newest version, hacked it to install on SL ):
Code:
bash-3.2# make
MIG default_pager_object.h
MIG clock.h
MIG clock_priv.h
/Developer/usr/bin/mig: line 217: 20320 Done                    "$C" -E -arch ${arch} ${cppflags} -I "${sourcedir}" "${iSysRootParm[@]}" "${temp}.c"
     20323 Illegal instruction     | "$M" "${migflags[@]}"
make[4]: *** [default_pager_object.h] Error 1
make[3]: *** [build_exporthdrs_mi] Error 2
make[2]: *** [build_exporthdrs_mi_default_pager] Error 2
make[2]: *** Waiting for unfinished jobs....
/Developer/usr/bin/mig: line 217: 20303 Done                    "$C" -E -arch ${arch} ${cppflags} -I "${sourcedir}" "${iSysRootParm[@]}" "${temp}.c"
     20309 Illegal instruction     | "$M" "${migflags[@]}"
make[4]: *** [clock.h] Error 1
make[4]: *** Waiting for unfinished jobs....
/Developer/usr/bin/mig: line 217: 20506 Done                    "$C" -E -arch ${arch} ${cppflags} -I "${sourcedir}" "${iSysRootParm[@]}" "${temp}.c"
     20509 Illegal instruction     | "$M" "${migflags[@]}"
make[4]: *** [clock_priv.h] Error 1
make[3]: *** [build_exporthdrs_mi] Error 2
make[2]: *** [build_exporthdrs_mi_mach] Error 2
make[1]: *** [build_exporthdrs_mi_osfmk] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [exporthdrs_mi] Error 2
So the MIG has a problem with the source I think, compiling from Lion would maybe fix this?
Reply With Quote