All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] bcache-tools: bump version to 1.0.8
@ 2015-12-02 10:39 Vicente Olivert Riera
  2015-12-02 10:39 ` [Buildroot] [PATCH 2/2] bcache-tools: fix build with gcc-5 Vicente Olivert Riera
  2015-12-17 11:55 ` [Buildroot] [PATCH 1/2] bcache-tools: bump version to 1.0.8 Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Vicente Olivert Riera @ 2015-12-02 10:39 UTC (permalink / raw)
  To: buildroot

And also add a hash file.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/bcache-tools/bcache-tools.hash | 2 ++
 package/bcache-tools/bcache-tools.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 package/bcache-tools/bcache-tools.hash

diff --git a/package/bcache-tools/bcache-tools.hash b/package/bcache-tools/bcache-tools.hash
new file mode 100644
index 0000000..6d3502f
--- /dev/null
+++ b/package/bcache-tools/bcache-tools.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 d56923936f37287efc57a46315679102ef2c86cd0be5874590320acd48c1201c  bcache-tools-v1.0.8.tar.gz
diff --git a/package/bcache-tools/bcache-tools.mk b/package/bcache-tools/bcache-tools.mk
index 666a02f..09604f6 100644
--- a/package/bcache-tools/bcache-tools.mk
+++ b/package/bcache-tools/bcache-tools.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BCACHE_TOOLS_VERSION = v1.0.7
+BCACHE_TOOLS_VERSION = v1.0.8
 BCACHE_TOOLS_SITE = $(call github,g2p,bcache-tools,$(BCACHE_TOOLS_VERSION))
 BCACHE_TOOLS_LICENSE = GPLv2
 BCACHE_TOOLS_LICENSE_FILES = COPYING
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] bcache-tools: fix build with gcc-5
  2015-12-02 10:39 [Buildroot] [PATCH 1/2] bcache-tools: bump version to 1.0.8 Vicente Olivert Riera
@ 2015-12-02 10:39 ` Vicente Olivert Riera
  2015-12-17 11:55 ` [Buildroot] [PATCH 1/2] bcache-tools: bump version to 1.0.8 Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Vicente Olivert Riera @ 2015-12-02 10:39 UTC (permalink / raw)
  To: buildroot

Backport a Debian patch to fix a build failure with gcc-5:

bcache.c:125:9: warning: 'crc_table' is static but used in inline
function 'crc64' which is not static
...
make-bcache.c:277: undefined reference to `crc64'

This issue has been reported upstream but is not yet fixed.

Fixes:

  http://autobuild.buildroot.net/results/410/410954d33206475d70b8e5ba55a2c955a229af9b/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 ...on-t-inline-crc64-for-gcc-5-compatability.patch | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch

diff --git a/package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch b/package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch
new file mode 100644
index 0000000..1a437a8
--- /dev/null
+++ b/package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch
@@ -0,0 +1,35 @@
+Don't inline crc64 for gcc-5 compatability
+
+This patch is backported from Debian and it fixes the following error:
+
+bcache.c:125:9: warning: 'crc_table' is static but used in inline
+function 'crc64' which is not static
+...
+make-bcache.c:277: undefined reference to `crc64'
+
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+From: David Mohr <david@mcbf.net>
+Date: Tue, 26 May 2015 20:34:31 -0600
+Subject: Don't inline crc64 for gcc-5 compatability
+
+Forwarded: http://article.gmane.org/gmane.linux.kernel.bcache.devel/2919
+
+By James Cowgill, see Debian bug #777798
+---
+ bcache.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bcache.c b/bcache.c
+index 8f37445..8b4b986 100644
+--- a/bcache.c
++++ b/bcache.c
+@@ -115,7 +115,7 @@ static const uint64_t crc_table[256] = {
+ 	0x9AFCE626CE85B507ULL
+ };
+ 
+-inline uint64_t crc64(const void *_data, size_t len)
++uint64_t crc64(const void *_data, size_t len)
+ {
+ 	uint64_t crc = 0xFFFFFFFFFFFFFFFFULL;
+ 	const unsigned char *data = _data;
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/2] bcache-tools: bump version to 1.0.8
  2015-12-02 10:39 [Buildroot] [PATCH 1/2] bcache-tools: bump version to 1.0.8 Vicente Olivert Riera
  2015-12-02 10:39 ` [Buildroot] [PATCH 2/2] bcache-tools: fix build with gcc-5 Vicente Olivert Riera
@ 2015-12-17 11:55 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-12-17 11:55 UTC (permalink / raw)
  To: buildroot

Dear Vicente Olivert Riera,

On Wed, 2 Dec 2015 10:39:40 +0000, Vicente Olivert Riera wrote:
> And also add a hash file.
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
>  package/bcache-tools/bcache-tools.hash | 2 ++
>  package/bcache-tools/bcache-tools.mk   | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)
>  create mode 100644 package/bcache-tools/bcache-tools.hash

Both applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-17 11:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-02 10:39 [Buildroot] [PATCH 1/2] bcache-tools: bump version to 1.0.8 Vicente Olivert Riera
2015-12-02 10:39 ` [Buildroot] [PATCH 2/2] bcache-tools: fix build with gcc-5 Vicente Olivert Riera
2015-12-17 11:55 ` [Buildroot] [PATCH 1/2] bcache-tools: bump version to 1.0.8 Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.