Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 07:44:36 +0900 (JST)
From:      Maho NAKATA <chat95@mac.com>
To:        glarkin@FreeBSD.org
Cc:        gerald@pfeifer.com, freebsd-ports@freebsd.org
Subject:   Re: print/pdftk is broken
Message-ID:  <20100120.074436.737004071327877747.chat95@mac.com>
In-Reply-To: <4B55D1DE.2030605@FreeBSD.org>
References:  <20100119.173329.737004071327889743.maho@FreeBSD.org> <4B55D1DE.2030605@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Greg Larkin <glarkin@FreeBSD.org>
Subject: Re: print/pdftk is broken
Date: Tue, 19 Jan 2010 10:38:06 -0500

> -----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.

Hi, building was fine but all try seg faulted on fbsd8/amd64.
just FYI.
good luck for porting!
thank you very much
-- 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



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