From owner-svn-ports-head@freebsd.org Tue May 15 14:01:34 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E7FAEDBC00; Tue, 15 May 2018 14:01:34 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF8C9715D7; Tue, 15 May 2018 14:01:33 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 909DC462F; Tue, 15 May 2018 14:01:33 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4FE1XlO079422; Tue, 15 May 2018 14:01:33 GMT (envelope-from kan@FreeBSD.org) Received: (from kan@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4FE1XPO079421; Tue, 15 May 2018 14:01:33 GMT (envelope-from kan@FreeBSD.org) Message-Id: <201805151401.w4FE1XPO079421@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kan set sender to kan@FreeBSD.org using -f From: Alexander Kabaev Date: Tue, 15 May 2018 14:01:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470017 - head/devel/powerpc64-gcc/files X-SVN-Group: ports-head X-SVN-Commit-Author: kan X-SVN-Commit-Paths: head/devel/powerpc64-gcc/files X-SVN-Commit-Revision: 470017 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 14:01:34 -0000 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 @@ -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