boost: Fix RPATH issue on i686.
Message ID | 1480335506-4044-1-git-send-email-stefan.schantl@ipfire.org |
---|---|
State | Accepted |
Commit | 449502be43fa31e974cf547c65a2cc2b8a588dce |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 857DF61E13 for <patchwork@ipfire.org>; Mon, 28 Nov 2016 13:17:12 +0100 (CET) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 33B1911E1; Mon, 28 Nov 2016 13:17:11 +0100 (CET) Received: from tuxedo.stevee (unknown [46.125.249.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 91A441024; Mon, 28 Nov 2016 13:17:07 +0100 (CET) From: Stefan Schantl <stefan.schantl@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] boost: Fix RPATH issue on i686. Date: Mon, 28 Nov 2016 13:18:26 +0100 Message-Id: <1480335506-4044-1-git-send-email-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.7.4 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Stefan Schantl
Nov. 28, 2016, 11:18 p.m. UTC
Fixes #11018.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
boost/boost.nm | 2 +-
boost/patches/boost-1.60.0-no-rpath.patch0 | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
create mode 100644 boost/patches/boost-1.60.0-no-rpath.patch0
Comments
I suppose this was sent with an incorrect bug id. On Mon, 2016-11-28 at 13:18 +0100, Stefan Schantl wrote: > Fixes #11018. > > Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> > --- > boost/boost.nm | 2 +- > boost/patches/boost-1.60.0-no-rpath.patch0 | 21 +++++++++++++++++++++ > 2 files changed, 22 insertions(+), 1 deletion(-) > create mode 100644 boost/patches/boost-1.60.0-no-rpath.patch0 > > diff --git a/boost/boost.nm b/boost/boost.nm > index 0a6af33..1e6038c 100644 > --- a/boost/boost.nm > +++ b/boost/boost.nm > @@ -8,7 +8,7 @@ ver_major = 1 > ver_minor = 60 > ver_plevel = 0 > version = %{ver_major}.%{ver_minor}.%{ver_plevel} > -release = 1 > +release = 2 > > groups = System/Libraries > url = http://www.boost.org/ > diff --git a/boost/patches/boost-1.60.0-no-rpath.patch0 b/boost/patches/boost- > 1.60.0-no-rpath.patch0 > new file mode 100644 > index 0000000..eed65c2 > --- /dev/null > +++ b/boost/patches/boost-1.60.0-no-rpath.patch0 > @@ -0,0 +1,21 @@ > +diff -up tools/build/src/tools/gcc.jam.rpath tools/build/src/tools/gcc.jam > +--- tools/build/src/tools/gcc.jam.rpath 2016-05-27 13:30:01.092192721 > -0500 > ++++ tools/build/src/tools/gcc.jam 2016-05-27 13:30:46.686987585 -0500 > +@@ -952,7 +952,7 @@ rule link ( targets * : sources * : prop > + > + actions link bind LIBRARIES > + { > +- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)- > Wl,$(RPATH) -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<)" $(START- > GROUP) "$(>)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS- > SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS) > ++ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -o "$(<)" $(START-GROUP) "$(>)" > "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) > -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS) > + } > + > + > +@@ -1018,7 +1018,7 @@ rule link.dll ( targets * : sources * : > + # Differs from 'link' above only by -shared. > + actions link.dll bind LIBRARIES > + { > +- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)- > Wl,$(RPATH) "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)- > Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -shared $(START-GROUP) "$(>)" > "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) > -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS) > ++ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o > "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -shared > $(START-GROUP) "$(>)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) > $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS) > + } > + > + rule setup-threading ( targets * : sources * : properties * )