From owner-freebsd-stable@freebsd.org Thu Apr 27 23:07:07 2017 Return-Path: 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 0A600D533B3 for ; Thu, 27 Apr 2017 23:07:07 +0000 (UTC) (envelope-from papowell@astart.com) Received: from astart2.astart.com (wsip-72-214-30-30.sd.sd.cox.net [72.214.30.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E78761D39; Thu, 27 Apr 2017 23:07:06 +0000 (UTC) (envelope-from papowell@astart.com) Received: from laptop_103.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.9/8.14.9) with ESMTP id v3RN74Oq030408; Thu, 27 Apr 2017 16:07:04 -0700 (PDT) (envelope-from papowell@astart.com) Reply-To: papowell@astart.com Subject: Re: GCC + FreeBSD 11.0 Stable - stat.h does not have vm_ooffset_t definition References: <8316fd8e-056d-32a1-1e59-414269476190@astart.com> <95c6f08e-0cf7-f0f3-8b19-29e03b3f4f96@FreeBSD.org> <39149f1c-d939-5c60-a0c3-ab76fa0f750b@astart.com> To: Jung-uk Kim , freebsd-stable@freebsd.org From: Patrick Powell Organization: Astart Technologies Message-ID: Date: Thu, 27 Apr 2017 16:07:04 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2017 23:07:07 -0000 On 04/27/17 13:59, Jung-uk Kim wrote: > On 04/27/2017 12:45, Patrick Powell wrote: >> On 04/26/17 09:34, Jung-uk Kim wrote: >>> On 04/26/2017 10:14, Patrick Powell wrote: >>>> First: a big thank-you to the support/fixit people for all of their work! >>>> >>>> I was doing some testing using FreeBSD 11.0-STABLE and some of my >>>> configure scripts died. However, they were working fine on FreeBSD 11.0 >>>> RELEASE. >>>> >>>> I found the problem, but I do not know how to resolve this. When you >>>> install the GCC compiler from the PKG repository it appears to create a >>>> modified set of include files from the system (default?) include files >>>> (/usr/include). However, when the modified /usr/include/sys/types.h >>>> file is created, the typedef for vm_ooffset_t is modified, and there is >>>> no reference to __vm_ooffset_t that the compiler can resolve. >>>> >>>> < typedef __int64_t vm_ooffset_t; >>>> --- >>>>> typedef __vm_ooffset_t vm_ooffset_t; >>> ... >>> You have to rebuild lang/gcc from the ports tree to fix this problem. >>> >>> https://lists.freebsd.org/pipermail/freebsd-current/2017-February/064937.html >>> >>> Jung-uk Kim >>> >> Does this mean that the GCC port/package needs to be updated? If so, >> should I file a PR report on this issue? >> I (temporarily) fixed this problem by hand editting the modified types.h >> file and things seem to work. > I already wrote a patch (attached). :-) > > Jung-uk Kim Will the GCC port be updated with this patch? Any action needed by me on this? -- Patrick Powell Astart Technologies papowell@astart.com 1530 Jamacha Rd, Suite X Network and System San Diego, CA 92019 Consulting Cell 858-518-7581 FAX 858-751-2435 Web: papowell at astart dot com