[darwinbuild] darwinbuild on MacIntel
Hi, I try to intall darwinbuild on a new Intel based iMac. I've installed the 0.7.2 version and created a BuildDirectory as described in the doc. Then I launch a /usr/local/bin/darwinbuild Tokend After downloading all the packages, I got this: *** Copying Sources ... *** Installing Roots ... *** Installing Headers ... *** Mounting special filesystems ... Mounting devfs ... Mounting volfs ... /usr/local/bin/darwinbuild: line 791: 3065 Illegal instruction chroot "$BuildRoot" /sbin/mount_volfs "/.vol" I tried also the CVS version of darwinbuild but I get the same error. Any advices? Thanks, Jean-Pierre -- Dr Jean-Pierre Szikora e-mail: szikora@icp.ucl.ac.be tel: 32-2-764.75.00 74, av. Hippocrate - UCL 7459 fax: 32-2-764.65.65 1200 Brussels - Belgium PGP key: 0x6FCD7405
What OS are you running? What version of DarwinBuild are you attempting? Generally a 10.4 based darwin build must be run from a 10.4 (darwin 8.x.x) based machine, same goes for a 10.3 (7.x.x) darwin build. There are new system calls in darwin 8 that are not present on older kernels, this could be your issue. You might also want to try to see exactly what call is failing, reproduce that and send us a little shell script that does just that. _Mark On Feb 15, 2006, at 1:10 AM, Jean-Pierre Szikora wrote:
Hi,
I try to intall darwinbuild on a new Intel based iMac. I've installed the 0.7.2 version and created a BuildDirectory as described in the doc. Then I launch a /usr/local/bin/darwinbuild Tokend After downloading all the packages, I got this: *** Copying Sources ... *** Installing Roots ... *** Installing Headers ... *** Mounting special filesystems ... Mounting devfs ... Mounting volfs ... /usr/local/bin/darwinbuild: line 791: 3065 Illegal instruction chroot "$BuildRoot" /sbin/mount_volfs "/.vol"
I tried also the CVS version of darwinbuild but I get the same error.
Any advices?
Thanks,
Jean-Pierre
-- Dr Jean-Pierre Szikora e-mail: szikora@icp.ucl.ac.be tel: 32-2-764.75.00 74, av. Hippocrate - UCL 7459 fax: 32-2-764.65.65 1200 Brussels - Belgium PGP key: 0x6FCD7405
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
Mark Pauley wrote:
What OS are you running? What version of DarwinBuild are you attempting? Generally a 10.4 based darwin build must be run from a 10.4 (darwin 8.x.x) based machine, same goes for a 10.3 (7.x.x) darwin build. There are new system calls in darwin 8 that are not present on older kernels, this could be your issue. You might also want to try to see exactly what call is failing, reproduce that and send us a little shell script that does just that.
Hi Mark, Thanks for your answer. I tried on a brand new Intel based iMac running Mac OSX10.4.4. I tried darwinbuild 0.7.2 and the CVS version. I have done this already without any errors on a PowerPC based Mac running 10.4.4. Maybe I can reformulate my question: is there known problems with darwinbuild on a MacIntel system? Regards, Jean-Pierre
On Feb 15, 2006, at 1:10 AM, Jean-Pierre Szikora wrote:
Hi,
I try to intall darwinbuild on a new Intel based iMac. I've installed the 0.7.2 version and created a BuildDirectory as described in the doc. Then I launch a /usr/local/bin/darwinbuild Tokend After downloading all the packages, I got this: *** Copying Sources ... *** Installing Roots ... *** Installing Headers ... *** Mounting special filesystems ... Mounting devfs ... Mounting volfs ... /usr/local/bin/darwinbuild: line 791: 3065 Illegal instruction chroot "$BuildRoot" /sbin/mount_volfs "/.vol"
I tried also the CVS version of darwinbuild but I get the same error.
Any advices?
Thanks,
Jean-Pierre
-- Dr Jean-Pierre Szikora e-mail: szikora@icp.ucl.ac.be tel: 32-2-764.75.00 74, av. Hippocrate - UCL 7459 fax: 32-2-764.65.65 1200 Brussels - Belgium PGP key: 0x6FCD7405
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
Unfortunately DarwinBuild does not work on Intel-based Macintoshes at this time, because Apple has not made the complete Darwin sources available: <http://www.opensource.apple.com/darwinsource/10.4.4.x86/> - Kevin On Feb 15, 2006, at 12:31 PM, JP Szikora wrote:
Mark Pauley wrote:
What OS are you running? What version of DarwinBuild are you attempting? Generally a 10.4 based darwin build must be run from a 10.4 (darwin 8.x.x) based machine, same goes for a 10.3 (7.x.x) darwin build. There are new system calls in darwin 8 that are not present on older kernels, this could be your issue. You might also want to try to see exactly what call is failing, reproduce that and send us a little shell script that does just that.
Hi Mark,
Thanks for your answer.
I tried on a brand new Intel based iMac running Mac OSX10.4.4. I tried darwinbuild 0.7.2 and the CVS version. I have done this already without any errors on a PowerPC based Mac running 10.4.4. Maybe I can reformulate my question: is there known problems with darwinbuild on a MacIntel system?
Regards,
Jean-Pierre
On Feb 15, 2006, at 1:10 AM, Jean-Pierre Szikora wrote:
Hi,
I try to intall darwinbuild on a new Intel based iMac. I've installed the 0.7.2 version and created a BuildDirectory as described in the doc. Then I launch a /usr/local/bin/darwinbuild Tokend After downloading all the packages, I got this: *** Copying Sources ... *** Installing Roots ... *** Installing Headers ... *** Mounting special filesystems ... Mounting devfs ... Mounting volfs ... /usr/local/bin/darwinbuild: line 791: 3065 Illegal instruction chroot "$BuildRoot" /sbin/mount_volfs "/.vol"
I tried also the CVS version of darwinbuild but I get the same error.
Any advices?
Thanks,
Jean-Pierre
-- Dr Jean-Pierre Szikora e-mail: szikora@icp.ucl.ac.be tel: 32-2-764.75.00 74, av. Hippocrate - UCL 7459 fax: 32-2-764.65.65 1200 Brussels - Belgium PGP key: 0x6FCD7405
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
On 15/2/06 23:34, Kevin Van Vechten wrote:
Unfortunately DarwinBuild does not work on Intel-based Macintoshes at this time, because Apple has not made the complete Darwin sources available:
Isn't that just the list of projects which differ from their PPC equivalents, modulo some IOKit b0rkage? I.e. if you were to start by searching the x86 project list, then fall through to the PPC project list wouldn't you end up with a working Darwin/x86? -- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342
Unfortunately that doesn't work due to ABI differences between the i386 code you can generate using the 10.4.4.ppc source (build 8G32) and the binaries that are actually found on a 10.4.4x86 system (build 8G1165). On Feb 15, 2006, at 3:37 PM, Graham J Lee wrote:
On 15/2/06 23:34, Kevin Van Vechten wrote:
Unfortunately DarwinBuild does not work on Intel-based Macintoshes at this time, because Apple has not made the complete Darwin sources available: <http://www.opensource.apple.com/darwinsource/10.4.4.x86/>
Isn't that just the list of projects which differ from their PPC equivalents, modulo some IOKit b0rkage? I.e. if you were to start by searching the x86 project list, then fall through to the PPC project list wouldn't you end up with a working Darwin/x86?
-- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342
On 15/2/06 23:40, Kevin Van Vechten wrote:
Unfortunately that doesn't work due to ABI differences between the i386 code you can generate using the 10.4.4.ppc source (build 8G32) and the binaries that are actually found on a 10.4.4x86 system (build 8G1165).
Oh I agree, but much (if not all) of *that* can be fixed by choosing to pay attention to the structures defined in the 10.4uSDK headers instead of those defined in the 10.4.4ppc source headers. That's not to say there isn't a lot of work involved, but just to say that AFAICT it's not a complete washout. Worst case is that OpenDarwin 8.x/x86 works on Intel Macs but can't drop into OS X/x86. Best case is that it can, as long as you steer clear of redefining maybe a couple of driver projects. Cheers, Graham. -- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342
SDK's by definition don't have any private interfaces necessary to compile OS components, and that's just the first obstacle. Feel free to try to make this work, and I'd be happy if you could do it, but it's not going to happen. - Kevin On Feb 15, 2006, at 3:46 PM, Graham J Lee wrote:
On 15/2/06 23:40, Kevin Van Vechten wrote:
Unfortunately that doesn't work due to ABI differences between the i386 code you can generate using the 10.4.4.ppc source (build 8G32) and the binaries that are actually found on a 10.4.4x86 system (build 8G1165).
Oh I agree, but much (if not all) of *that* can be fixed by choosing to pay attention to the structures defined in the 10.4uSDK headers instead of those defined in the 10.4.4ppc source headers. That's not to say there isn't a lot of work involved, but just to say that AFAICT it's not a complete washout. Worst case is that OpenDarwin 8.x/x86 works on Intel Macs but can't drop into OS X/ x86. Best case is that it can, as long as you steer clear of redefining maybe a couple of driver projects.
Cheers,
Graham.
-- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342
I just realized this is straying from the original question, so let me try to summarize the two distinct issues here: Can you compile the 10.4.4.ppc sources and boot them on a generic i386 system? Yes. Can you use DarwinBuild on a Mac OS X 10.4.4 system with an Intel processor? Not currently. - Kevin On Feb 15, 2006, at 3:53 PM, Kevin Van Vechten wrote:
SDK's by definition don't have any private interfaces necessary to compile OS components, and that's just the first obstacle. Feel free to try to make this work, and I'd be happy if you could do it, but it's not going to happen.
- Kevin
On Feb 15, 2006, at 3:46 PM, Graham J Lee wrote:
On 15/2/06 23:40, Kevin Van Vechten wrote:
Unfortunately that doesn't work due to ABI differences between the i386 code you can generate using the 10.4.4.ppc source (build 8G32) and the binaries that are actually found on a 10.4.4x86 system (build 8G1165).
Oh I agree, but much (if not all) of *that* can be fixed by choosing to pay attention to the structures defined in the 10.4uSDK headers instead of those defined in the 10.4.4ppc source headers. That's not to say there isn't a lot of work involved, but just to say that AFAICT it's not a complete washout. Worst case is that OpenDarwin 8.x/x86 works on Intel Macs but can't drop into OS X/x86. Best case is that it can, as long as you steer clear of redefining maybe a couple of driver projects.
Cheers,
Graham.
-- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
On 15/2/06 23:56, Kevin Van Vechten wrote:
I just realized this is straying from the original question, so let me try to summarize the two distinct issues here:
Can you compile the 10.4.4.ppc sources and boot them on a generic i386 system? Yes.
Can you use DarwinBuild on a Mac OS X 10.4.4 system with an Intel processor? Not currently.
Aye, and I meant to say that if that's the case, I'm happy enough with the former :-). -- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342
Kevin Van Vechten a écrit :
I just realized this is straying from the original question, so let me try to summarize the two distinct issues here:
Can you compile the 10.4.4.ppc sources and boot them on a generic i386 system? Yes.
Can you use DarwinBuild on a Mac OS X 10.4.4 system with an Intel processor? Not currently.
- Kevin Hi,
I want to try again to use DarwinBuild to build Tokend on/for an Intel based Mac. Is there some plan to release a version of DarwinBuild usable on a MacIntel? Can I use the CVS version of DarwinBuild until that release? Thanks for your time, Jean-Pierre
On Feb 15, 2006, at 3:53 PM, Kevin Van Vechten wrote:
SDK's by definition don't have any private interfaces necessary to compile OS components, and that's just the first obstacle. Feel free to try to make this work, and I'd be happy if you could do it, but it's not going to happen.
- Kevin
On Feb 15, 2006, at 3:46 PM, Graham J Lee wrote:
On 15/2/06 23:40, Kevin Van Vechten wrote:
Unfortunately that doesn't work due to ABI differences between the i386 code you can generate using the 10.4.4.ppc source (build 8G32) and the binaries that are actually found on a 10.4.4x86 system (build 8G1165).
Oh I agree, but much (if not all) of *that* can be fixed by choosing to pay attention to the structures defined in the 10.4uSDK headers instead of those defined in the 10.4.4ppc source headers. That's not to say there isn't a lot of work involved, but just to say that AFAICT it's not a complete washout. Worst case is that OpenDarwin 8.x/x86 works on Intel Macs but can't drop into OS X/x86. Best case is that it can, as long as you steer clear of redefining maybe a couple of driver projects.
Cheers,
Graham.
--Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
-- Dr Jean-Pierre Szikora e-mail: szikora@icp.ucl.ac.be tel: 32-2-764.75.00 74, av. Hippocrate - UCL 7459 fax: 32-2-764.65.65 1200 Brussels - Belgium PGP key: 0x6FCD7405
participants (5)
-
Graham J Lee
-
Jean-Pierre Szikora
-
JP Szikora
-
Kevin Van Vechten
-
Mark Pauley