Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2010 23:25:51 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        =?ISO-8859-1?Q?Jouko_Lumij=E4rvi?= <jlumijar@sun3.oulu.fi>, Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: CFT: print/pdftk port compiled with Java compiler from gcc 4.5
Message-ID:  <4BC3E43F.1090601@FreeBSD.org>
In-Reply-To: <alpine.LSU.1.99.1004121516510.24624@acrux.dbai.tuwien.ac.at>
References:  <4BBE88EB.2000708@FreeBSD.org> <alpine.LSU.1.99.1004091920230.24624@acrux.dbai.tuwien.ac.at> <alpine.LSU.1.99.1004121516510.24624@acrux.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC3E43F.1090601>