From owner-freebsd-stable@freebsd.org Thu Apr 27 23:14:18 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 7BEA3D53840 for ; Thu, 27 Apr 2017 23:14:18 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id 05DD16D9; Thu, 27 Apr 2017 23:14:17 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: GCC + FreeBSD 11.0 Stable - stat.h does not have vm_ooffset_t definition To: papowell@astart.com, freebsd-stable@freebsd.org References: <8316fd8e-056d-32a1-1e59-414269476190@astart.com> <95c6f08e-0cf7-f0f3-8b19-29e03b3f4f96@FreeBSD.org> <39149f1c-d939-5c60-a0c3-ab76fa0f750b@astart.com> Cc: gerald@freebsd.org From: Jung-uk Kim Message-ID: <22bfc9eb-f037-cb1e-931f-a995e98093e2@FreeBSD.org> Date: Thu, 27 Apr 2017 19:14:13 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="igvH66wDinfCqTTIS4iAaubQgrdXMpe7f" 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:14:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --igvH66wDinfCqTTIS4iAaubQgrdXMpe7f Content-Type: multipart/mixed; boundary="WqsKBVEBa5CGRNq6dhbRPIU4AVTHBikcJ"; protected-headers="v1" From: Jung-uk Kim To: papowell@astart.com, freebsd-stable@freebsd.org Cc: gerald@freebsd.org Message-ID: <22bfc9eb-f037-cb1e-931f-a995e98093e2@FreeBSD.org> 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> In-Reply-To: --WqsKBVEBa5CGRNq6dhbRPIU4AVTHBikcJ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/27/2017 19:07, Patrick Powell wrote: > 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 crea= te a >>>>> modified set of include files from the system (default?) include fi= les >>>>> (/usr/include). However, when the modified /usr/include/sys/types.= h >>>>> file is created, the typedef for vm_ooffset_t is modified, and the= re 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= =2E >>>> >>>> https://lists.freebsd.org/pipermail/freebsd-current/2017-February/06= 4937.html >>>> >>>> Jung-uk Kim >>>> >>> Does this mean that the GCC port/package needs to be updated? If so,= =20 >>> should I file a PR report on this issue? >>> I (temporarily) fixed this problem by hand editting the modified type= s.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? If the maintainer (gerald) approves. CC'd. > Any action needed by me on this? No, thanks. :-) Jung-uk Kim --WqsKBVEBa5CGRNq6dhbRPIU4AVTHBikcJ-- --igvH66wDinfCqTTIS4iAaubQgrdXMpe7f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlkCe0UACgkQfJ+WJvzb 8Ubv2gf+MvRBxL58pmee/2GTCb/6w5//Tb7GLl32DkiC07oHxOwMlzyppxYRrRGF xAGAMeOIxXceNDyXd9Ag3RCUALhIxwmLzEUUI0hBpxGIk239kuGccc/LlCMFYHrR fZG0URO2HQIV63jcoGjSGwTWQKSqixLJqMBPls8KiBv2RsuyX3uPgMikHyjiWhzG Bb1i9eEVacYP9t1AXxBKs5LiBsbWzzE2GJai3heBhXCMcOBrifZMCxjK3tn7daLa GzYiGhc8DzrdPBm2NXWgPJneYPGY886HquTtD6peE+Vg1aLlmzM9YLtur1fu/pxr Wu6eJ7h5SkB1Uqqnf0ZYVbgs7L415w== =NTN3 -----END PGP SIGNATURE----- --igvH66wDinfCqTTIS4iAaubQgrdXMpe7f--