From owner-freebsd-ports Thu Jun 13 19: 0:30 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E007637B41C for ; Thu, 13 Jun 2002 19:00:10 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5E20AL37863; Thu, 13 Jun 2002 19:00:10 -0700 (PDT) (envelope-from gnats) Received: from k7.locore.ca (k7.locore.ca [198.96.117.169]) by hub.freebsd.org (Postfix) with ESMTP id D9E0D37B407 for ; Thu, 13 Jun 2002 18:56:35 -0700 (PDT) Received: from k7.locore.ca (localhost.locore.ca [127.0.0.1]) by k7.locore.ca (8.12.3/8.12.3) with ESMTP id g5E1uw1H000819 for ; Thu, 13 Jun 2002 21:56:58 -0400 (EDT) (envelope-from jake@k7.locore.ca) Received: (from jake@localhost) by k7.locore.ca (8.12.3/8.12.3/Submit) id g5E1uw2s000818; Thu, 13 Jun 2002 21:56:58 -0400 (EDT) Message-Id: <200206140156.g5E1uw2s000818@k7.locore.ca> Date: Thu, 13 Jun 2002 21:56:58 -0400 (EDT) From: Jake Burkholder Reply-To: Jake Burkholder To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/39258: mail/cclient doesn't build on freebsd/sparc64 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39258 >Category: ports >Synopsis: mail/cclient doesn't build on freebsd/sparc64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 13 19:00:10 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jake Burkholder >Release: FreeBSD 5.0-CURRENT >Organization: n/a >Environment: FreeBSD u60.locore.ca 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Tue Jun 11 18:06:02 GMT 2002 jake@u60.locore.ca:/usr/current/src/sys/sparc64/compile/SUN4U sparc64 >Description: mail/cclient fails to link shared libraries on freebsd/sparc64 due to truncated GOT offset relocations. >How-To-Repeat: try to build mail/cclient (or mail/pine4) on a freebsd/sparc64 machine >Fix: --- files/patch-ab.orig Fri Jun 14 01:28:09 2002 +++ files/patch-ab Fri Jun 14 01:28:13 2002 @@ -1,5 +1,5 @@ ---- src/osdep/unix/Makefile.orig Tue Jul 3 08:02:10 2001 -+++ src/osdep/unix/Makefile Mon Oct 1 10:13:43 2001 +--- src/osdep/unix/Makefile.orig Wed Nov 7 00:16:43 2001 ++++ src/osdep/unix/Makefile Fri Jun 14 01:23:41 2002 @@ -22,18 +22,18 @@ EXTRAAUTHENTICATORS= @@ -105,7 +105,7 @@ + ln -s $(SHLIBNAME) lib$(SHLIBBASE).so + +.c.so: osdep.h -+ $(CC) -fpic -DPIC -c $(CFLAGS) ${@:.so=.c} -o $@ ++ $(CC) -fPIC -DPIC -c $(CFLAGS) ${@:.so=.c} -o $@ + .c.o: - `$(CAT) CCTYPE` -c `$(CAT) CFLAGS` $*.c @@ -139,7 +139,7 @@ + $(CC) $(CFLAGS) `$(CAT) OSCFLAGS` -c osdep.c + +osdep.so: $(OSDEPS) -+ $(CC) -fpic -DPIC -c $(CFLAGS) `cat OSCFLAGS` osdep.c -o $@ ++ $(CC) -fPIC -DPIC -c $(CFLAGS) `cat OSCFLAGS` osdep.c -o $@ osdep.c: osdepbas.c osdepckp.c osdeplog.c osdepssl.c $(CAT) osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message