sparc64/124955: kissdx fails to build on sparc64 platform.

Daniel Austin MBCS freebsd-sparc64 at dan.me.uk
Tue Jun 24 19:00:11 UTC 2008


>Number:         124955
>Category:       sparc64
>Synopsis:       kissdx fails to build on sparc64 platform.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-sparc64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 24 19:00:09 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Austin MBCS
>Release:        FreeBSD 7.0-STABLE sparc64
>Organization:
>Environment:
System: FreeBSD ultra60.dan.me.uk 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jun 24 04:02:44 BST 2008 dan at ultra60.dan.me.uk:/usr/obj/usr/src/sys/DAN sparc64


	
>Description:
	A stale 32bit object file (kissdx.o) is present in the tarball for this program.
	The compiler thinks it has already compiled the object file, and skips over it.
	On true 64 bit platforms such as sparc64, it causes a linker error when attempting to link the code.
>How-To-Repeat:
	Attempt to build kissdx on sparc64 (or possibly alpha) platform.
>Fix:
	A patch is supplied below.  It simply removes the stale object file after extract and patch stage of the build process.

--- kissdx.diff begins here ---
diff -u ./Makefile ../kissdx/Makefile
--- ./Makefile	2008-03-23 10:46:18.000000000 +0000
+++ ../kissdx/Makefile	2008-06-24 19:09:39.000000000 +0100
@@ -40,6 +40,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|Linux|Unix|g ; s|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/kissdx.1
 	@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/config.c
+	@${RM} ${WRKSRC}/kissdx.o
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/kissdx ${PREFIX}/sbin/kissdx
--- kissdx.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-sparc64 mailing list