potential future proofing fix for aicasm build.
Steven Hartland
killing at multiplay.co.uk
Thu May 2 09:54:23 UTC 2013
----- Original Message -----
From: "Dimitry Andric" <dimitry at andric.com>
> On 2013-05-02 09:47, Steven Hartland wrote:
>> I just remembered I had an issue with aicasm when compiling our kernel that didn't
>> have ahc or ahd on an 8.3 box. The fix was to manually delete the kernel obj
>> directory before compiling after doing a full make buildworld.
>>
>> For some reason there was some cruft left in there that running make buildkernel
>> wasn't cleaning out, could you be suffering from a similar issue?
>
> Well, a way to reproduce the problem would be nice. I tried running
> "make buildkernel" in a stable/9 tree on a 10.0 machine, and building
> aicasm went just fine. So it works for me...
I think what I did was the following:-
1. make buildkernel KERNCONF=MYCONF -j10 # failed due to aicasm
2. make buildworld -j10 # Realised I'd forgotten to build world
3. make buildkernel -j10 # still failed due to aicasm
4. rm -rf /usr/obj/usr/src/sys/MYCONF
5. make buildkernel -j10 # worked
So I think the mistake that triggered it was I didn't build world before
building kernel, however I've not tried reproducing.
Regards
Steve
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.
More information about the freebsd-hackers
mailing list