[csw-devel] SF.net SVN: gar:[15345] csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Aug 15 18:03:57 CEST 2011
Revision: 15345
http://gar.svn.sourceforge.net/gar/?rev=15345&view=rev
Author: wahwah
Date: 2011-08-15 16:03:57 +0000 (Mon, 15 Aug 2011)
Log Message:
-----------
pkg/gcc4/branches/bootstrap-4.6-suncc: work around a libtool issue
Modified Paths:
--------------
csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc/Makefile
Added Paths:
-----------
csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc/files/0002-use-system-libtool.patch
Modified: csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc/Makefile
===================================================================
--- csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc/Makefile 2011-08-15 14:17:47 UTC (rev 15344)
+++ csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc/Makefile 2011-08-15 16:03:57 UTC (rev 15345)
@@ -44,6 +44,8 @@
# CONFIGURE_ARGS += --enable-languages=ada,c,c++,fortran,java,objc
CONFIGURE_ARGS += --enable-languages=c,c++,fortran,java,objc
CONFIGURE_ARGS += --enable-bootstrap
+# CONFIGURE_ARGS += --with-arch=v8
+# CONFIGURE_ARGS += --with-arch-32=v8
# GCC can't be built in the same directory with the sources.
OBJDIR = objdir
@@ -60,6 +62,9 @@
CONFIG_SHELL = /opt/csw/bin/bash
EXTRA_EXPORTS += CONFIG_SHELL
+# work/solaris9-sparc/build-isa-sparcv8/gcc-4.6.1/objdir/lto-plugin/libtool
+# LIBTOOL = $(WORKSRC)/$(OBJDIR)/lto-plugin/libtool
+
EXTRA_CONFIGURE_EXPORTS += CFLAGS_FOR_TARGET
EXTRA_CONFIGURE_EXPORTS += CXXFLAGS_FOR_TARGET
@@ -67,6 +72,7 @@
# EXTRA_EXPORTS += OBJDUMP
PATCHFILES += 0001-clear-AM_CFLAGS-in-lto-plugin.patch
+PATCHFILES += 0002-use-system-libtool.patch
include gar/category.mk
Added: csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc/files/0002-use-system-libtool.patch
===================================================================
--- csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc/files/0002-use-system-libtool.patch (rev 0)
+++ csw/mgar/pkg/gcc4/branches/bootstrap-4.6-suncc/files/0002-use-system-libtool.patch 2011-08-15 16:03:57 UTC (rev 15345)
@@ -0,0 +1,30 @@
+From 652fb0024f50d2c2d3096337cff5c66152daf6e6 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Mon, 15 Aug 2011 17:59:19 +0200
+Subject: [PATCH] use system libtool
+
+Works around a compilation breakage:
+http://gcc.gnu.org/ml/gcc-help/2011-08/msg00191.html
+
+It looks like there are 2 ways to compile it:
+ - to not have /opt/csw/bin/libtool
+ - or to have /opt/csw/bin/libtool and force the use with lto-plugin
+---
+ Makefile.in | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 660f813..f878c76 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -45247,6 +45247,7 @@ configure-lto-plugin:
+ srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
+ libsrcdir="$$s/lto-plugin"; \
+ $(SHELL) $${libsrcdir}/configure \
++ LIBTOOL=/opt/csw/bin/libtool \
+ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+ --target=${target_alias} $${srcdiroption} --enable-shared \
+ || exit 1
+--
+1.7.6
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list