Subject: pkg/33030: gnupg sparc gcc -m64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 03/08/2006 09:55:01
>Number: 33030
>Category: pkg
>Synopsis: gnupg sparc gcc -m64
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 08 09:55:00 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS queen.enst.fr 5.10 Generic_118822-20 sun4u sparc
>Organization:
ENST
>Environment:
SunOS queen.enst.fr 5.10 Generic_118822-20 sun4u sparc
>Description:
gcc -O -I/usr/pkg/include -I/usr/include -Wall -R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o mpicalc mpicalc.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a /usr/pkg/lib/libintl.so -lc -R/usr/pkg/lib -lintl
ld: fatal: relocation error: R_SPARC_HI22: file ../mpi/libmpi.a(mpih-mul1.o): symbol <unknown>: value 0x40002b does not fit
ld: fatal: relocation error: R_SPARC_HI22: file ../mpi/libmpi.a(mpih-mul2.o): symbol <unknown>: value 0x40002b does not fit
collect2: ld returned 1 exit status
gmake[2]: *** [mpicalc] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.4.2.1/tools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.4.2.1'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/security/gnupg
>How-To-Repeat:
bmake in gnupg
>Fix:
CFLAGS.SunOS=-DPIC -fPIC