Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2002 21:24:12 -0400 (EDT)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38813: perl5 doesn't build on freebsd/sparc64
Message-ID:  <200206020124.g521OCX4021148@k7.locore.ca>

next in thread | raw e-mail | index | archive | help

>Number:         38813
>Category:       ports
>Synopsis:       perl5 doesn't build on freebsd/sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 02 02:40:12 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jake Burkholder
>Release:        FreeBSD 4.6-RC i386
>Organization:
>Environment:
FreeBSD u10.locore.ca 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Thu May 30 18:06:34 GMT 2002     jake@u60.locore.ca:/usr/current/src/sys/sparc64/compile/SUN4U  sparc64

	
>Description:
perl5 doesn't build due to truncated relocations when linking shared libraries
	
>How-To-Repeat:
try to build perl5 on a freebsd/sparc64 machine
	
>Fix:

new patch-ac:

--- hints/freebsd.sh.orig	Sun Apr  8 06:09:16 2001
+++ hints/freebsd.sh	Sat Jun  1 23:41:18 2002
@@ -85,10 +85,16 @@
 	d_setreuid='define'
 	d_setegid='undef'
 	d_seteuid='undef'
+	d_dosuid='define'
 	;;
 *)	usevfork='true'
 	usemymalloc='n'
 	libswanted=`echo $libswanted | sed 's/ malloc / /'`
+	d_setregid='define'
+	d_setreuid='define'
+	d_setegid='undef'
+	d_seteuid='undef'
+	d_dosuid='define'
 	;;
 esac
 
@@ -115,7 +121,7 @@
             fi
             lddlflags='-Bshareable'
         fi
-        cccdlflags='-DPIC -fpic'
+        cccdlflags='-DPIC -fPIC'
         ;;
 esac


>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?200206020124.g521OCX4021148>