Date: Wed, 15 Apr 2015 10:31:19 -0500 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Don Lewis <truckman@FreeBSD.org> Cc: alc@FreeBSD.org, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org, clusteradm@FreeBSD.org, portmgr@FreeBSD.org Subject: Re: svn commit: r280327 - in head/sys: kern vm Message-ID: <552E8447.3070404@FreeBSD.org> In-Reply-To: <201503280241.t2S2fWcQ078499@gw.catspoiler.org> References: <201503280241.t2S2fWcQ078499@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wuAMPJichrBdvDXGcX2sokUTko9QaJ5jd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 3/27/2015 9:41 PM, Don Lewis wrote: > I was not seeing this problem on my older package builder running > 10.1-STABLE. Since this problem has not shown up on the FreeBSD packag= e > building cluster, I got suspicious that the change was quite recent. >=20 > This old gcc bug report: > <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D14940> led me to suspec= t > mmap(). >=20 > The old gcc source file /usr/src/contrib/gcc/ggc-common.c does a couple= > of mmap() calls. Tne first is in mmap_gt_pch_get_address() where a > NULL first argument is used. The address that gets returned is stashed= > away and the region is unmapped. Then a later call in > mmap_gt_pch_use_address() passes this saved address to mmap() as a > hint. It expects the mapped region to get mapped to the same base > address. If this does not happen, the above error is the result. >=20 > If I go back to kernel source r280326, which immediately preceeds the > above commit, I am able to successfully build openjdk7. >=20 > I recommend that any machines in the ports cluster being used to build > packages for FreeBSD 8 and 9 avoid upgrading past r280326 until this > issue is resolved. I have not observed any problems building packages > for FreeBSD 10 and 11. >=20 I've committed a change to openjdk7/8 to disable PCH for GCC. filezilla and aegisub apparently use PCH as well. I still need to test and fix them. --=20 Regards, Bryan Drewery --wuAMPJichrBdvDXGcX2sokUTko9QaJ5jd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJVLoRHAAoJEDXXcbtuRpfPdpMIAJrwhmCVrItSPaB371AElswy PqTUpklG+b4NStqgRATWtw9HrmKDLcph/UCzPwCMI3YTAc81kVzxo282kKaxVHP/ pTfp6/LHdteJ7SmaTqKANRb6rqkrYTn9qcmg7agS70ZxpIAUTIHGdTarH2R3WvPP 1iVBJRPEi8yWfYXY6bmMjGnqPUCmWAYsXCYyK3errjXELgzHwO4YDwxsF2ISlF+o opBjVKjD5Kkbp27W67nPymLTE651ibb1/bbyGSGYzdFNtlKo3QaTyE38vEXNZ8Qu 0XrBRD6yKfW0Zsu7gJxvKFCwcVxnUfrHhmm9222MREN/siT5nsM1b52d5LoIR50= =OTAU -----END PGP SIGNATURE----- --wuAMPJichrBdvDXGcX2sokUTko9QaJ5jd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?552E8447.3070404>