Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2018 14:01:33 +0000 (UTC)
From:      Alexander Kabaev <kan@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470017 - head/devel/powerpc64-gcc/files
Message-ID:  <201805151401.w4FE1XPO079421@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kan
Date: Tue May 15 14:01:33 2018
New Revision: 470017
URL: https://svnweb.freebsd.org/changeset/ports/470017

Log:
  Make mips64 compiler use /lib:/usr/lib instead if lib64 variants
  
  This allows mips64 compiler to be used bo build base/ packages,
  while it was failing to find crt1.o and like before.

Modified:
  head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips

Modified: head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips
==============================================================================
--- head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips	Tue May 15 13:43:34 2018	(r470016)
+++ head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips	Tue May 15 14:01:33 2018	(r470017)
@@ -64,7 +64,7 @@ new file mode 100644
 index 0000000..56a921e
 --- /dev/null
 +++ gcc/config/mips/freebsd.h
-@@ -0,0 +1,340 @@
+@@ -0,0 +1,347 @@
 +/* Definitions for MIPS varients running FreeBSD with ELF format
 +   Copyright (C) 2008 Free Software Foundation, Inc.
 +   Continued by David O'Brien <obrien@freebsd.org>
@@ -405,6 +405,13 @@ index 0000000..56a921e
 +
 +/************************[  Debugger stuff  ]*********************************/
 +#undef DBX_DEBUGGING_INFO
++
++#if MIPS_ABI_DEFAULT == ABI_64
++#undef STANDARD_STARTFILE_PREFIX_1
++#define STANDARD_STARTFILE_PREFIX_1 "/lib/"
++#undef STANDARD_STARTFILE_PREFIX_2
++#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
++#endif
 diff --git a/libgcc/config.host b/libgcc/config.host
 index f4a7428..5e5c33e 100644
 --- libgcc/config.host



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