Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2010 10:38:06 -0500
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Maho NAKATA <maho@FreeBSD.org>
Cc:        gerald@pfeifer.com, freebsd-ports@freebsd.org
Subject:   Re: print/pdftk is broken
Message-ID:  <4B55D1DE.2030605@FreeBSD.org>
In-Reply-To: <20100119.173329.737004071327889743.maho@FreeBSD.org>
References:  <20100119.173329.737004071327889743.maho@FreeBSD.org>

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




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