From owner-freebsd-ports@FreeBSD.ORG Tue Apr 13 03:25:54 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D122106566B for ; Tue, 13 Apr 2010 03:25:54 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 69B758FC15 for ; Tue, 13 Apr 2010 03:25:54 +0000 (UTC) Received: from mail1.sourcehosting.net ([74.205.51.45] helo=v102.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O1Wl6-000J0b-9l; Mon, 12 Apr 2010 23:25:53 -0400 Message-ID: <4BC3E43F.1090601@FreeBSD.org> Date: Mon, 12 Apr 2010 23:25:51 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Gerald Pfeifer References: <4BBE88EB.2000708@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.7 (----) Cc: =?ISO-8859-1?Q?Jouko_Lumij=E4rvi?= , Tsurutani Naoki , FreeBSD Ports ML Subject: Re: CFT: print/pdftk port compiled with Java compiler from gcc 4.5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 03:25:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gerald Pfeifer wrote: > On Fri, 9 Apr 2010, Gerald Pfeifer wrote: >> As for the lang/gcc42 issue, I have an idea of how to fix that and will >> give it try now and share the patch if it works for me. > > The patch below passes testing for me, and I consider it The Right > Thing[TM] directionally, too. The two actual changes are the > addition of --with-as=/usr/bin/as and --with-ld=/usr/bin/ld. > > I have not committed it yet, but am planning on doing so and > definitely am interested in whether this changes (improves) things > for you. > > That said, please do not stop on moving from GCC 4.2 to GCC 4.4 when > it comes to Java, even in case this patch works for you. :-) > > Gerald > > Index: Makefile > =================================================================== > RCS file: /home/pcvs/ports/lang/gcc42/Makefile,v > retrieving revision 1.356 > diff -r1.356 Makefile > 56,60c56 > < CONFIGURE_ARGS+= --disable-nls \ > < --with-system-zlib \ > < --with-libiconv-prefix=${LOCALBASE} \ > < --with-gmp=${LOCALBASE} \ > < --program-suffix=${SUFFIX} \ > --- >> CONFIGURE_ARGS+=--disable-nls \ > 63c59,65 > < --with-gxx-include-dir=${TARGLIB}/include/c++/ > --- >> --program-suffix=${SUFFIX} \ >> --with-as=/usr/bin/as \ >> --with-gmp=${LOCALBASE} \ >> --with-gxx-include-dir=${TARGLIB}/include/c++/ \ >> --with-ld=/usr/bin/ld \ >> --with-libiconv-prefix=${LOCALBASE} \ >> --with-system-zlib Thank you Gerald, I'll give that a try with gcc 4.2 and gcc 4.5 installed. I think we're getting close with gcj 4.5, assuming my fix for duplicate Java symbols is acceptable. I need to do some more tinderbox builds and testing and clear up some other errors reported by users, but maybe I'll be able to send you the patches for approval next week. Thank you, Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvD5D8ACgkQ0sRouByUApC4AgCfS/QrY7PTkegsFRJiEE5WdxH5 GcIAoIdY7KkdUV+ORjj0G9iJcipt31jK =HuD1 -----END PGP SIGNATURE-----