From owner-freebsd-stable@freebsd.org  Mon May  1 10:09:02 2017
Return-Path: <owner-freebsd-stable@freebsd.org>
Delivered-To: freebsd-stable@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CACCD58D62
 for <freebsd-stable@mailman.ysv.freebsd.org>;
 Mon,  1 May 2017 10:09:02 +0000 (UTC)
 (envelope-from julian@freebsd.org)
Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "vps1.elischer.org",
 Issuer "CA Cert Signing Authority" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 3B9612BA;
 Mon,  1 May 2017 10:09:01 +0000 (UTC)
 (envelope-from julian@freebsd.org)
Received: from Julian-MBP3.local (106-68-213-253.dyn.iinet.net.au
 [106.68.213.253]) (authenticated bits=0)
 by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v41A8k9v071992
 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);
 Mon, 1 May 2017 03:08:50 -0700 (PDT)
 (envelope-from julian@freebsd.org)
Subject: Re: GCC + FreeBSD 11.0 Stable - stat.h does not have vm_ooffset_t
 definition
To: Gerald Pfeifer <gerald@pfeifer.com>, Mark Millard <markmi@dsl-only.net>
References: <0630A9BC-429E-49F2-B0A0-2313A925B0B4@dsl-only.net>
 <alpine.LSU.2.21.1705011151040.2928@anthias.pfeifer.com>
Cc: Konstantin Belousov <kostikbel@gmail.com>,
 Dimitry Andric <dim@freebsd.org>, freebsd-stable@freebsd.org
From: Julian Elischer <julian@freebsd.org>
Message-ID: <99fd1a32-f22b-b3a0-1b07-83056239571a@freebsd.org>
Date: Mon, 1 May 2017 18:08:40 +0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0)
 Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <alpine.LSU.2.21.1705011151040.2928@anthias.pfeifer.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, 
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 01 May 2017 10:09:02 -0000

On 1/5/17 5:53 pm, Gerald Pfeifer wrote:
> On Mon, 1 May 2017, Mark Millard wrote:
>> and that mkheaders does more than just fixinc.sh
>> as far as changing headers goes, such as limits.h
>> and gsyslmits.h and syslimits.h .
> That's a good point, and I guess the *limits.h files do make
> sense to come from the compiler itself?
>
>> The fixincludes script is known to occasionally erroneously attempt
>> to "fix" the system headers installed so far. As the headers up to
>> this point are known to not require fixing, issue the following
>> command to prevent the fixincludes script from running:
>>
>> sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
>>
>> (End quote)
> :
>> This still leaves the limits.h and gsystemlimits.h and
>> syslimits.h code in place but does block most of the
>> activity.
> Thanks for this pointer, Mark!  I have earmarked this as the first
> approach to give a try soon, instead of completely yanking the
> fixincluded directory.
since you know the output of the change can you not make the execution 
dependent on some marker in the files you can test?
>
> Gerald
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>