/[gentoo-x86]/sys-fs/zfs/files/zfs-0.6.0_rc14-fix-libzpool-function-relocations.patch
Gentoo

Contents of /sys-fs/zfs/files/zfs-0.6.0_rc14-fix-libzpool-function-relocations.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Feb 6 01:48:51 2013 UTC (22 months, 1 week ago) by ryao
Branch: MAIN
CVS Tags: HEAD
Depend on virtual/awk instead of sys-apps/gawk (bug \#455684), fix path to parted for regression test suite, fix libpool function relocations (thanks DH for testing).

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 From 399f60c8b47f7513d078a7c181ff132e2cafdd15 Mon Sep 17 00:00:00 2001
2 From: Richard Yao <ryao@cs.stonybrook.edu>
3 Date: Tue, 5 Feb 2013 18:14:30 -0500
4 Subject: [PATCH] Fix function relocations in libzpool
5
6 binutils 2.23.1 fails in situations that generate function relocations
7 on PowerPC and possibly other architectures. This causes linking of
8 libzpool to fail because it depends on libnvpair. We add a dependency on
9 libnvpair to lib/libzpool/Makefile.am to correct that.
10
11 Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
12 Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
13 Closes #1267
14 ---
15 lib/libzpool/Makefile.am | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18 diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am
19 index 3e62de6..cbba388 100644
20 --- a/lib/libzpool/Makefile.am
21 +++ b/lib/libzpool/Makefile.am
22 @@ -94,7 +94,8 @@ libzpool_la_SOURCES = \
23
24 libzpool_la_LIBADD = \
25 $(top_builddir)/lib/libunicode/libunicode.la \
26 - $(top_builddir)/lib/libuutil/libuutil.la
27 + $(top_builddir)/lib/libuutil/libuutil.la \
28 + $(top_builddir)/lib/libnvpair/libnvpair.la
29
30 libzpool_la_LDFLAGS = -pthread -version-info 1:1:0
31
32 --
33 1.7.10

  ViewVC Help
Powered by ViewVC 1.1.20