From owner-freebsd-ports@FreeBSD.ORG Tue Sep 23 11:59:16 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9CC0845 for ; Tue, 23 Sep 2014 11:59:16 +0000 (UTC) Received: from resqmta-po-01v.sys.comcast.net (resqmta-po-01v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:160]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EEE2EAF for ; Tue, 23 Sep 2014 11:59:16 +0000 (UTC) Received: from resomta-po-04v.sys.comcast.net ([96.114.154.228]) by resqmta-po-01v.sys.comcast.net with comcast id ubzE1o0054vw8ds01bzEse; Tue, 23 Sep 2014 11:59:14 +0000 Received: from kirby.cyberbotx.com ([107.5.48.95]) by resomta-po-04v.sys.comcast.net with comcast id ubzC1o00Z23DSHF01bzE7t; Tue, 23 Sep 2014 11:59:14 +0000 Message-ID: <54216090.8060202@cyberbotx.com> Date: Tue, 23 Sep 2014 07:59:12 -0400 From: Naram Qashat User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org Subject: devel/mingw32-gcc build difficulties Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1411473554; bh=qKPF8bV7+MF+18ZMcEPxm1C1P3RrfG9DyGzUKoDAdl0=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=dY8eu8FCzWL11mpKqfz27tr5EYJOR08fF5SZsm2u5S0Cghemn3YpYlM3+K5yvdjv2 fow74CeeOjCKgs8up7Fdb/Oc2tXU+S06IsgOLyyJqfF/7IyWneE0P8jhsIi1lWy4QN 3QnVWLp2pj/uaPmBA2c5brvouUbsKBA6y0WhSO405E9UdrHVWSAqj3SguLvQz/QtNU ZeBRRdCYElIPFD+C5uuVDL3wR+jct5Drzw48RM7qTPcAbjfNa3fhw1zhI9Obm763rv sQ+C9MRH7GnYvQ4p8ifiyKPQ69JE6rN+DRRXl2KWaAWcEf5Rng/SToDthTNWIb4/15 FTEni9tKwPCHg== X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 11:59:16 -0000 I've been trying to put together an update to devel/mingw32-gcc to bring it to gcc 4.8.1 (the current version that the official MinGW gcc is at). I'm not sure if poudriere is part of my issues or not, but here goes. When building under a 9.x jail, the port pollutes PREFIX with /usr/local/mingw32/lib/COPIED and /usr/local/mingw32/sys-include/. I've no idea why they are left behind with 9.x (and I believe also 8.x as a previous redports build by rene@ seen here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191291#c2 shows) when they aren't left behind on 10.x or 11.x, but at the very least, these can be deleted in a post-build target without issues. When building under a 10.x jail, though, the mingw32-gcc port seems to be clobbering some of the .a files that were installed by the devel/mingw32-bin-msvcrt port. At first, I thought it might've been because I had built a 10.x jail that was slightly newer than the world, but after rebuilding my 10.x jail to be 10.0-RELEASE (and thus no longer newer than my world), it still happens. I'm unable to get the build to finish under 10.x because /usr/local/mingw32/lib/libuser32.a from mingw32-bin-msvcrt contains nothing but nulls at the point where it tries to build libgcc_s_dw2-1.dll. Searching through the build log shows nothing pertaining to this other than it trying to link to the archive with -luser32. The archive isn't broken in mingw32-bin-msvcrt itself since I can install that and go into the jail and see that it has proper contents. All in all, I would really like to push out an update to the port, but the 10.x difficulty is a stopping point currently. Thanks in advance, Naram Qashat