Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2013 12:55:33 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Dimitry Andric" <dimitry@andric.com>, "Alfred Perlstein" <alfred@ixsystems.com>
Cc:        hackers@freebsd.org
Subject:   Re: potential future proofing fix for aicasm build.
Message-ID:  <F94F1657F9A54669AF1BFEF5FF3F5169@multiplay.co.uk>
References:  <51814686.2060805@ixsystems.com> <E2096D39-2037-4741-8F5B-9887220D7ACA@andric.com> <E8C064535571436A82136F7750006649@multiplay.co.uk> <518235B9.6090104@andric.com> <9C51B77A3AC948B68BAAFB9FB86DE52F@multiplay.co.uk> <51823CBC.2060803@andric.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Dimitry Andric" <dimitry@andric.com>


> On 2013-05-02 11:54, Steven Hartland wrote:
>> From: "Dimitry Andric" <dimitry@andric.com>
> ...
>>> 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
> 
> And this is what I cannot reproduce.  Works just fine, either with or without -j.

Have just confirmed this reproduces the issue with a recent head source on 8.3-RELEASE
machine.

1. rm -rf /usr/obj
2. make buildkernel KERNCONF=MYCONF -j10 # Fails with:-
cc1: warnings being treated as errors
aicasm_gram.c:1539: warning: no previous prototype for 'yyparse'
3. make buildworld
4. make buildkernel KERNCONF=MYCONF -j10 # Still fails with:-
cc1: warnings being treated as errors
aicasm_gram.c:1539: warning: no previous prototype for 'yyparse'

Fix is:
1. rm -rf /usr/obj/usr/src/sys/MYCONF
2. make buildkernel KERNCONF=MYCONF -j10 # Now works

    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@multiplay.co.uk.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F94F1657F9A54669AF1BFEF5FF3F5169>