NetBSD Problem Report #33030

From dauphin@enst.fr  Wed Mar  8 09:50:52 2006
Return-Path: <dauphin@enst.fr>
Received: from smtp2.enst.fr (revol1.enst.fr [137.194.32.27])
	by narn.netbsd.org (Postfix) with ESMTP id 4608F63B89A
	for <gnats-bugs@gnats.netbsd.org>; Wed,  8 Mar 2006 09:50:51 +0000 (UTC)
Message-Id: <1141811445.0@bi.enst.fr>
Date: Wed, 8 Mar 2006 10:50:45 +0100
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@netbsd.org>
Subject: gnupg sparc gcc -m64
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         33030
>Category:       pkg
>Synopsis:       gnupg sparc gcc -m64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 08 09:55:00 +0000 2006
>Closed-Date:    Tue Jul 11 13:27:03 +0000 2006
>Last-Modified:  Sun Aug 08 18:10:40 +0000 2021
>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


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Sun, 12 Mar 2006 19:05:40 +0000
Responsible-Changed-Why:
Solaris-specific issue.


From: Mark Davies <markd@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33030 CVS commit: pkgsrc/security/gnupg
Date: Sat,  8 Jul 2006 21:37:02 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	markd
 Date:		Sat Jul  8 21:37:02 UTC 2006

 Modified Files:
 	pkgsrc/security/gnupg: Makefile

 Log Message:
 Don't try and use assembler when building 64bit on Solaris.  It gets it
 wrong for both amd64 and sparc.
 Fixes PR pkg/32648 and possibly PR pkg/33030.


 To generate a diff of this commit:
 cvs rdiff -r1.87 -r1.88 pkgsrc/security/gnupg/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: markd@netbsd.org
State-Changed-When: Sat, 08 Jul 2006 21:52:50 +0000
State-Changed-Why:
Does the current package now work for you?  It does for the sunpro
compiler building 64bit on sparc.


From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: solaris-pkg-people@NetBSD.org, gnats-admin@NetBSD.org,
	markd@NetBSD.org, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33030 (gnupg sparc gcc -m64)
Date: Tue, 11 Jul 2006 15:21:11 +0200 (CEST)

 > 
 > Synopsis: gnupg sparc gcc -m64
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: markd@netbsd.org
 > State-Changed-When: Sat, 08 Jul 2006 21:52:50 +0000
 > State-Changed-Why:
 > Does the current package now work for you?  It does for the sunpro
 > compiler building 64bit on sparc.

 Good it works on sparc and amd64 with gcc -m64
 You can close the PR
 Thanks
 Gilles

State-Changed-From-To: feedback->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Tue, 11 Jul 2006 13:27:03 +0000
State-Changed-Why:
Confirmed fixed, thanks for the feedback!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.