Date: Thu, 13 Jun 2002 21:56:58 -0400 (EDT) From: Jake Burkholder <jake@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/39258: mail/cclient doesn't build on freebsd/sparc64 Message-ID: <200206140156.g5E1uw2s000818@k7.locore.ca>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206140156.g5E1uw2s000818>