Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2010 17:12:05 +0000 (UTC)
From:      Alexander Kabaev <kan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216804 - in head: gnu/lib/libgcc lib/libcompiler_rt
Message-ID:  <201012291712.oBTHC5Id007633@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kan
Date: Wed Dec 29 17:12:05 2010
New Revision: 216804
URL: http://svn.freebsd.org/changeset/base/216804

Log:
  Switch mips architectures back to libgcc.
  
  MIPS64 n64 binaries are broken with libcompiler_rt at this time.
  Switch mips back to libgcc until the cause of breakage is analyzed
  and fixed.

Modified:
  head/gnu/lib/libgcc/Makefile
  head/lib/libcompiler_rt/Makefile

Modified: head/gnu/lib/libgcc/Makefile
==============================================================================
--- head/gnu/lib/libgcc/Makefile	Wed Dec 29 16:59:33 2010	(r216803)
+++ head/gnu/lib/libgcc/Makefile	Wed Dec 29 17:12:05 2010	(r216804)
@@ -15,7 +15,7 @@ MK_SSP=	no
 
 .include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
 
-.if ${TARGET_CPUARCH} == "sparc64"
+.if ${TARGET_CPUARCH} == "sparc64" || ${TARGET_CPUARCH} == "mips"
 LIB=		gcc
 .endif
 

Modified: head/lib/libcompiler_rt/Makefile
==============================================================================
--- head/lib/libcompiler_rt/Makefile	Wed Dec 29 16:59:33 2010	(r216803)
+++ head/lib/libcompiler_rt/Makefile	Wed Dec 29 17:12:05 2010	(r216804)
@@ -147,7 +147,7 @@ SRCS+=	${file}.c
 . endif
 .endfor
 
-.if ${MACHINE_CPUARCH} != "sparc64"
+.if ${MACHINE_CPUARCH} != "sparc64" && ${MACHINE_CPUARCH} != "mips"
 . if ${MK_INSTALLLIB} != "no"
 SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a
 . endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012291712.oBTHC5Id007633>