From owner-freebsd-ports@FreeBSD.ORG Tue Jan 19 15:38:14 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 626B91065670 for ; Tue, 19 Jan 2010 15:38:14 +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 3E2EB8FC0C for ; Tue, 19 Jan 2010 15:38:13 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NXG9f-000OuA-6a; Tue, 19 Jan 2010 10:38:12 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 753883A47E07; Tue, 19 Jan 2010 10:38:07 -0500 (EST) Message-ID: <4B55D1DE.2030605@FreeBSD.org> Date: Tue, 19 Jan 2010 10:38:06 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Maho NAKATA References: <20100119.173329.737004071327889743.maho@FreeBSD.org> In-Reply-To: <20100119.173329.737004071327889743.maho@FreeBSD.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: gerald@pfeifer.com, freebsd-ports@freebsd.org Subject: Re: print/pdftk is broken 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, 19 Jan 2010 15:38:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maho NAKATA wrote: > Hi glarkin@, gerald@ (Gerald, see below) > print/pdftk is broken on FreeBSD 8.0-RELEASE-p2/amd64 like following: > > .... > ctorIN10TK_Session8InputPdfESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_ > /var/tmp//ccC0rKVB.s:14025: Warning: ignoring changed section attributes for .text._ZNSt6vectorIN10TK_Session8InputPdfESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_ > /var/tmp//ccC0rKVB.s:25718: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25719: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25720: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25721: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25722: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25723: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25724: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25725: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25726: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25727: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25728: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25729: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25730: Error: unknown pseudo-op: `.weakref' > /var/tmp//ccC0rKVB.s:25731: Error: unknown pseudo-op: `.weakref' > gmake: *** [pdftk.o] Error 1 > *** Error code 1 > > Stop in /work/cvsup/ports/print/pdftk. > .... > > and here is a workaround. > % diff -u Makefile~ Makefile > --- Makefile~ 2010-01-19 17:19:14.000000000 +0900 > +++ Makefile 2010-01-19 17:19:27.000000000 +0900 > @@ -35,7 +35,7 @@ > WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME} > > MAKEFILE= Makefile.Generic > -MAKE_ENV= GCJ=gcj${CSUFF} GCJH=gcjh${CSUFF} > +MAKE_ENV= GCJ=gcj${CSUFF} GCJH=gcjh${CSUFF} PATH=/usr/local/x86_64-portbld-freebsd8.0/bin/:${PATH} > > MAN1= ${PORTNAME}.1 > PLIST_FILES= bin/pdftk > > ---------------------------------------- > I installed devel/binutils. I guess if gcc42 is build with devel/binutils, > this error may happen. Just a 30 sec. thought.. though. > > Thanks, > -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ > Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt Hello Nakata, Thank you for the bug report, and I'll have a look at it. We're also in the process of porting pdftk to use gcc 4.5 instead of gcc 4.2, so I'll try your test case with that version, too, to check if there's any difference. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLVdHe0sRouByUApARAksFAJwOImGODdloO1eHinHKsYyOGBBFZQCfTAh8 hk5/mlbFTWDzUp3tTJRgztk= =vS4Q -----END PGP SIGNATURE-----