This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PING 2 : [Patch Darwin/PR49992 2/2] remove ranlib special-casing from the darwin port.


This is unreviewed for 2 weeks.

I am sure that this issue will be affecting Ada on Darwin10/11 with the latest toolchains.

It might be subtle without LTO - OTOH when LTO is engaged it breaks things completely.


On 22 Oct 2011, at 08:37, Iain Sandoe wrote:



On 14 Oct 2011, at 10:37, Iain Sandoe wrote:


As per the PR audit trail, there is no reason to retain this in the building of GCC.

As for its use as a general option in tool-builds;
With current darwin toolsets it has the potential to cause issues when using convenience libs containing common.
OK for trunk?
Iain


gcc/ada:

	PR target/49992
	* mlib-tgt-specific-darwin.adb: Remove ranlib special case.
	* gcc-interface/Makefile.in (darwin): Likewise.
	

Index: gcc/ada/mlib-tgt-specific-darwin.adb
===================================================================
--- gcc/ada/mlib-tgt-specific-darwin.adb	(revision 179962)
+++ gcc/ada/mlib-tgt-specific-darwin.adb	(working copy)
@@ -68,7 +68,7 @@ package body MLib.Tgt.Specific is

  function Archive_Indexer_Options return String_List_Access is
  begin
-      return new String_List'(1 => new String'("-c"));
+      return new String_List'(1 => new String'(""));
  end Archive_Indexer_Options;

  ---------------------------
Index: gcc/ada/gcc-interface/Makefile.in
===================================================================
--- gcc/ada/gcc-interface/Makefile.in	(revision 179962)
+++ gcc/ada/gcc-interface/Makefile.in	(working copy)
@@ -2179,7 +2179,6 @@ ifeq ($(strip $(filter-out darwin%,$(osys))),)

 EH_MECHANISM=-gcc
 GNATLIB_SHARED = gnatlib-shared-darwin
-  RANLIB = ranlib -c
 GMEM_LIB = gmemlib
 LIBRARY_VERSION := $(LIB_VERSION)
 soext = .dylib





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]