From: Maho NAKATA on
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
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Greg Larkin on
-----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-----

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Maho NAKATA on
From: Greg Larkin <glarkin(a)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
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"