[darwinbuild] Size of mach_kernel when using darwinbuild?
I used darwinbuild to build xnu-792.6.22 and it seems to me the file sizes are a bit high: ls -l Roots/xnu/xnu-792.6.22.root~1/mach_kernel -rw-r--r-- 1 root wheel 7790644 Nov 4 15:03 Roots/xnu/xnu-792.6.22.root~1/mach_kernel ls -l Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel -rw-r--r-- 1 root wheel 51211964 Nov 4 15:03 Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel ls -l /mach_kernel -rw-r--r-- 1 root wheel 4330232 Oct 3 21:04 /mach_kernel How is it that the version in Roots is so much larger than the version with symbols? After mounting a case system file system with permissions on, I just ran these 3 commands (fluff removed): /usr/local/bin/darwinbuild -init 8F46 /usr/local/bin/darwinbuild -fetch xnu /usr/local/bin/darwinbuild xnu Any ideas? -- Thanks, James Reynolds University of Utah Student Computing Labs james@scl.utah.edu 801-585-9811
You missed a decimal. The symbols version is 51MB, which is correct. the Roots/ version is 7.8MB, which is also correct, for a fat (ppc +i386) kernel. Because there's code for both PowerPC and Intel, it's about twice as large as the version on your running system in / Shantonu On Nov 4, 2005, at 1:57 PM, James Reynolds wrote:
I used darwinbuild to build xnu-792.6.22 and it seems to me the file sizes are a bit high:
ls -l Roots/xnu/xnu-792.6.22.root~1/mach_kernel -rw-r--r-- 1 root wheel 7790644 Nov 4 15:03 Roots/xnu/ xnu-792.6.22.root~1/mach_kernel
ls -l Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel -rw-r--r-- 1 root wheel 51211964 Nov 4 15:03 Symbols/xnu/ xnu-792.6.22.sym~1/mach_kernel
ls -l /mach_kernel -rw-r--r-- 1 root wheel 4330232 Oct 3 21:04 /mach_kernel
How is it that the version in Roots is so much larger than the version with symbols?
After mounting a case system file system with permissions on, I just ran these 3 commands (fluff removed):
/usr/local/bin/darwinbuild -init 8F46 /usr/local/bin/darwinbuild -fetch xnu /usr/local/bin/darwinbuild xnu
Any ideas?
--
Thanks,
James Reynolds University of Utah Student Computing Labs james@scl.utah.edu 801-585-9811 _______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
Duh. Ok. I suppose it wont hurt to put the fat version on my computers. Thanks! -- Thanks, James Reynolds University of Utah Student Computing Labs james@scl.utah.edu 801-585-9811 At 3:01 PM -0800 11/4/05, Shantonu Sen wrote:
You missed a decimal. The symbols version is 51MB, which is correct. the Roots/ version is 7.8MB, which is also correct, for a fat (ppc+i386) kernel.
Because there's code for both PowerPC and Intel, it's about twice as large as the version on your running system in /
Shantonu
On Nov 4, 2005, at 1:57 PM, James Reynolds wrote:
I used darwinbuild to build xnu-792.6.22 and it seems to me the file sizes are a bit high:
ls -l Roots/xnu/xnu-792.6.22.root~1/mach_kernel -rw-r--r-- 1 root wheel 7790644 Nov 4 15:03 Roots/xnu/xnu-792.6.22.root~1/mach_kernel
ls -l Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel -rw-r--r-- 1 root wheel 51211964 Nov 4 15:03 Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel
ls -l /mach_kernel -rw-r--r-- 1 root wheel 4330232 Oct 3 21:04 /mach_kernel
How is it that the version in Roots is so much larger than the version with symbols?
After mounting a case system file system with permissions on, I just ran these 3 commands (fluff removed):
/usr/local/bin/darwinbuild -init 8F46 /usr/local/bin/darwinbuild -fetch xnu /usr/local/bin/darwinbuild xnu
Any ideas?
--
Thanks,
James Reynolds University of Utah Student Computing Labs james@scl.utah.edu 801-585-9811 _______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
The Symbols version is at least 6 times bigger than the Roots version (7,790,644 vs. 51,211,964). The version in Roots is almost twice the size of the one installed on your system because darwinbuild builds universal binaries, which have both ppc and x86 code, whereas your system is likely ppc-only. - Kevin On Nov 4, 2005, at 1:57 PM, James Reynolds wrote:
I used darwinbuild to build xnu-792.6.22 and it seems to me the file sizes are a bit high:
ls -l Roots/xnu/xnu-792.6.22.root~1/mach_kernel -rw-r--r-- 1 root wheel 7790644 Nov 4 15:03 Roots/xnu/ xnu-792.6.22.root~1/mach_kernel
ls -l Symbols/xnu/xnu-792.6.22.sym~1/mach_kernel -rw-r--r-- 1 root wheel 51211964 Nov 4 15:03 Symbols/xnu/ xnu-792.6.22.sym~1/mach_kernel
ls -l /mach_kernel -rw-r--r-- 1 root wheel 4330232 Oct 3 21:04 /mach_kernel
How is it that the version in Roots is so much larger than the version with symbols?
After mounting a case system file system with permissions on, I just ran these 3 commands (fluff removed):
/usr/local/bin/darwinbuild -init 8F46 /usr/local/bin/darwinbuild -fetch xnu /usr/local/bin/darwinbuild xnu
Any ideas?
participants (3)
-
James Reynolds
-
Kevin Van Vechten
-
Shantonu Sen