libiscsi: rename patches to follow the new name structure
PATCH 1/2 libiscsi: rename patches to follow the new name structure
---
...1-Fix-warnings-related-to-subdir-objects.patch} | 0
...ool-AM_PROG_AR-warning-during-autoreconf.patch} | 0
...003-Fix-CUnit-test-for-cross-compilation.patch} | 0
...-examples-fix-uint64_t-formatting-issues.patch} | 0
...05-ld_iscsi-fix-largefile-related-issues.patch} | 0
5 files changed, 0 insertions(+), 0 deletions(-)
rename package/libiscsi/{libiscsi-0001-Fix-warnings-related-to-subdir-objects.patch => 0001-Fix-warnings-related-to-subdir-objects.patch} (100%)
rename package/libiscsi/{libiscsi-0002-Avoid-libtool-AM_PROG_AR-warning-during-autoreconf.patch => 0002-Avoid-libtool-AM_PROG_AR-warning-during-autoreconf.patch} (100%)
rename package/libiscsi/{libiscsi-0003-Fix-CUnit-test-for-cross-compilation.patch => 0003-Fix-CUnit-test-for-cross-compilation.patch} (100%)
rename package/libiscsi/{libiscsi-0004-examples-fix-uint64_t-formatting-issues.patch => 0004-examples-fix-uint64_t-formatting-issues.patch} (100%)
rename package/libiscsi/{libiscsi-0005-ld_iscsi-fix-largefile-related-issues.patch => 0005-ld_iscsi-fix-largefile-related-issues.patch} (100%)package/libiscsi/0001-Fix-warnings-related-to-subdir-objects.patch renamed from package/libiscsi/libiscsi-0001-Fix-warnings-related-to-subdir-objects.patch +0 -0
package/libiscsi/0002-Avoid-libtool-AM_PROG_AR-warning-during-autoreconf.patch renamed from package/libiscsi/libiscsi-0002-Avoid-libtool-AM_PROG_AR-warning-during-autoreconf.patch +0 -0
package/libiscsi/0003-Fix-CUnit-test-for-cross-compilation.patch renamed from package/libiscsi/libiscsi-0003-Fix-CUnit-test-for-cross-compilation.patch +0 -0
package/libiscsi/0004-examples-fix-uint64_t-formatting-issues.patch renamed from package/libiscsi/libiscsi-0004-examples-fix-uint64_t-formatting-issues.patch +0 -0
package/libiscsi/0005-ld_iscsi-fix-largefile-related-issues.patch renamed from package/libiscsi/libiscsi-0005-ld_iscsi-fix-largefile-related-issues.patch +0 -0
Signature · 1 line
1.7.1
PATCH 2/2 libiscsi: only build the test tool and ld-iscsi if we have shared libs
Backporting an upstream patch to fix a failure when doing a static build:
/br/output/host/usr/bin/mipsel-ctng-linux-uclibc-gcc -shared -o
ld_iscsi.so ld_iscsi.o -ldl /br/output/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-ctng-linux-uclibc/4.8.2/../../../../mipsel-ctng-linux-uclibc/bin/ld:
ld_iscsi.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be
used when making a shared object; recompile with -fPIC
ld_iscsi.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
Upstream commit:
https://github.com/sahlberg/libiscsi/commit/3d6c2be3428d88682cecfa2a4ad172aaacffb318
Fixes:
http://autobuild.buildroot.net/results/7a9/7a9caf1f4080c2c4b04ee3b13c1240f475a22ea7/
--- ...nly-build-the-test-tool-and-ld-iscsi-iff-.patch | 55 ++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 package/libiscsi/0006-configure-only-build-the-test-tool-and-ld-iscsi-iff-.patch
package/libiscsi/0006-configure-only-build-the-test-tool-and-ld-iscsi-iff-.patch new file +55 -0
@@ -0,0 +1,55 @@ +Only build the test tool and ld-iscsi if we have shared libraries + +Backporting an upstream patch to fix a failure when doing a static +build: + +/br/output/host/usr/bin/mipsel-ctng-linux-uclibc-gcc -shared -o +ld_iscsi.so ld_iscsi.o -ldl +/br/output/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-ctng-linux-uclibc/4.8.2/../../../../mipsel-ctng-linux-uclibc/bin/ld: +ld_iscsi.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be +used when making a shared object; recompile with -fPIC +ld_iscsi.o: could not read symbols: Bad value +collect2: error: ld returned 1 exit status + +Upstream commit: + https://github.com/sahlberg/libiscsi/commit/3d6c2be3428d88682cecfa2a4ad172aaacffb318 + +Signed-off-by: Vicente Olivert Riera <[email protected]> + +From 3d6c2be3428d88682cecfa2a4ad172aaacffb318 Mon Sep 17 00:00:00 2001 +From: Ronnie Sahlberg <[email protected]> +Date: Wed, 22 Oct 2014 17:44:03 -0700 +Subject: [PATCH] configure: only build the test tool and ld-iscsi iff we have shared libraries + +Signed-off-by: Ronnie Sahlberg <[email protected]> +--- + configure.ac | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 5e18ff4..e9c5c93 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -10,8 +10,6 @@ AM_PROG_AR + LT_INIT + + AC_CANONICAL_HOST +-AM_CONDITIONAL(LD_ISCSI, +- [expr "$host_os" : linux > /dev/null 2>&1]) + AM_PROG_CC_C_O + + enable_write_strings="yes" +@@ -108,8 +106,9 @@ else + AC_MSG_NOTICE(You need libcunit to build the test suite.) + AC_MSG_NOTICE(The scsi/iscsi test suite will not be built.) + fi +-AM_CONDITIONAL(ISCSITEST, [test "$ac_cv_have_cunit" = yes]) ++AM_CONDITIONAL(ISCSITEST, [test "$ac_cv_have_cunit" = yes -a "$enable_shared" = "yes"]) + ++AM_CONDITIONAL(LD_ISCSI, [expr "(" "$host_os" : "linux" ")" "&" "$enable_shared" "=" "yes"]) + + AC_CHECK_MEMBER([struct CU_SuiteInfo.pSetUpFunc], + [AC_DEFINE([HAVE_CU_SUITEINFO_PSETUPFUNC], 1, +-- +1.7.1 +
Signature · 1 line
1.7.1
PATCH 2/2 libiscsi: only build the test tool and ld-iscsi if we have shared libs
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Vicente" == Vicente Olivert Riera <[email protected]> writes:
Backporting an upstream patch to fix a failure when doing a static build:
/br/output/host/usr/bin/mipsel-ctng-linux-uclibc-gcc -shared -o
ld_iscsi.so ld_iscsi.o -ldl /br/output/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-ctng-linux-uclibc/4.8.2/../../../../mipsel-ctng-linux-uclibc/bin/ld:
ld_iscsi.o: relocationR_MIPS_HI16against `__gnu_local_gp' can not be
used when making a shared object; recompile with -fPIC
ld_iscsi.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
Quoted 7 lines
Upstream commit:
https://github.com/sahlberg/libiscsi/commit/3d6c2be3428d88682cecfa2a4ad172aaacffb318Fixes:
http://autobuild.buildroot.net/results/7a9/7a9caf1f4080c2c4b04ee3b13c1240f475a22ea7/Signed-off-by Vicente Olivert Riera <[email protected]>
Committed both, thanks.
Signature · 1 line
Bye, Peter Korsgaard