Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: unable to cross-compile kernel?



On 7/4/25 18:21, matthew green wrote:
i dno't have anything useful to say but that what you're doing
looks right.  i would try GENERIC build, as well as trying the
GENERIC.MP binary from the 10.1 release.

I spent quite a bit of time on this yesterday, and the results are a bit disturbing. I can't promise that my analysis was perfectly thorough, as it was a hectic day at the museum with other volunteers asking me for this or that every thirty seconds or so, but it does seem to point to a problem.

Both the distribution GENERIC.MP kernel and my cross-compiled one boot and run fine, as long as they are called "netbsd". Booting them explicitly with a different filenames results in a bit of disk activity and then "error 5".

Another thing that bothers me just a bit is that the kernels are of different sizes:

$ ls -l netbsd-*
-rwxr-xr-x 1 mcguire other 5579496 Jul  4 12:08 netbsd-GENERIC.MP-xbuild
-rwxr-xr-x 1 mcguire other 5555948 Jul  4 19:33 netbsd-GENERIC.MP
$

The "-xbuild" kernel was cross-compiled on a 10.1 amd64 machine from the 10.1 syssrc.tgz set. In light testing I've noticed no difference in functionality.

               -Dave

--
Dave McGuire, AK4HZ
New Kensington, PA


Home | Main Index | Thread Index | Old Index