Skip Menu |

This queue is for tickets about the Digest-MurmurHash3 CPAN distribution.

Report information
The Basics
Id: 91280
Status: resolved
Priority: 0/
Queue: Digest-MurmurHash3

People
Owner: Nobody in particular
Requestors: skaurus [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't install on Debian 7.2 x86
Date: Mon, 9 Dec 2013 19:44:10 +0400
To: bug-Digest-MurmurHash3 [...] rt.cpan.org
From: Дмитрий Шалашов <skaurus [...] gmail.com>
perl -v (default): This is perl 5, version 14, subversion 2 (v5.14.2) built for i486-linux-gnu-thread-multi-64int (with 88 registered patches, see perl -V for more detail) uname -a (default): Linux debian 3.2.0-4-486 #1 Debian 3.2.51-1 i686 GNU/Linux cpan -i Digest::MurmurHash3: Going to read '/root/.cpan/Metadata' Database was generated on Wed, 20 Nov 2013 02:08:26 GMT Running install for module 'Digest::MurmurHash3' Running make for D/DM/DMAKI/Digest-MurmurHash3-0.01.tar.gz Checksum for /root/.cpan/sources/authors/id/D/DM/DMAKI/Digest-MurmurHash3-0.01.tar.gz ok CPAN.pm: Going to build D/DM/DMAKI/Digest-MurmurHash3-0.01.tar.gz Cannot determine perl version info from lib/Digest/MurmurHash3.pm Cannot determine license info from lib/Digest/MurmurHash3.pm Writing ppport.h Checking if your kit is complete... Looks good Writing Makefile for Digest::MurmurHash3 Writing MYMETA.yml cp lib/Digest/MurmurHash3.pm blib/lib/Digest/MurmurHash3.pm cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -x c++ -O2 -g -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -o src/MurmurHash3.o -fPIC "-I/usr/lib/perl/5.14/CORE" -DUSE_PPPORT -DHAVE_64BITINT src/MurmurHash3.cpp src/MurmurHash3.cpp:86:23: warning: always_inline function might not be inlinable [-Wattributes] src/MurmurHash3.cpp:72:23: warning: always_inline function might not be inlinable [-Wattributes] src/MurmurHash3.cpp:63:23: warning: always_inline function might not be inlinable [-Wattributes] src/MurmurHash3.cpp:57:23: warning: always_inline function might not be inlinable [-Wattributes] src/MurmurHash3.cpp: In function ‘void MurmurHash3_x86_32(const void*, int, uint32_t, void*)’: src/MurmurHash3.cpp:57:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t*, int)’: function body can be overwritten at link time src/MurmurHash3.cpp:118:36: error: called from here src/MurmurHash3.cpp:72:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time src/MurmurHash3.cpp:149:16: error: called from here src/MurmurHash3.cpp: In function ‘void MurmurHash3_x86_128(const void*, int, uint32_t, void*)’: src/MurmurHash3.cpp:57:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t*, int)’: function body can be overwritten at link time src/MurmurHash3.cpp:179:40: error: called from here src/MurmurHash3.cpp:57:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t*, int)’: function body can be overwritten at link time src/MurmurHash3.cpp:180:40: error: called from here src/MurmurHash3.cpp:57:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t*, int)’: function body can be overwritten at link time src/MurmurHash3.cpp:181:40: error: called from here src/MurmurHash3.cpp:57:23: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t*, int)’: function body can be overwritten at link time src/MurmurHash3.cpp:182:40: error: called from here src/MurmurHash3.cpp:72:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time src/MurmurHash3.cpp:245:16: error: called from here src/MurmurHash3.cpp:72:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time src/MurmurHash3.cpp:246:16: error: called from here src/MurmurHash3.cpp:72:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time src/MurmurHash3.cpp:247:16: error: called from here src/MurmurHash3.cpp:72:23: error: inlining failed in call to always_inline ‘uint32_t fmix(uint32_t)’: function body can be overwritten at link time src/MurmurHash3.cpp:248:16: error: called from here src/MurmurHash3.cpp: In function ‘void MurmurHash3_x64_128(const void*, int, uint32_t, void*)’: src/MurmurHash3.cpp:63:23: error: inlining failed in call to always_inline ‘uint64_t getblock(const uint64_t*, int)’: function body can be overwritten at link time src/MurmurHash3.cpp:281:40: error: called from here src/MurmurHash3.cpp:63:23: error: inlining failed in call to always_inline ‘uint64_t getblock(const uint64_t*, int)’: function body can be overwritten at link time src/MurmurHash3.cpp:282:40: error: called from here src/MurmurHash3.cpp:86:23: error: inlining failed in call to always_inline ‘uint64_t fmix(uint64_t)’: function body can be overwritten at link time src/MurmurHash3.cpp:331:16: error: called from here src/MurmurHash3.cpp:86:23: error: inlining failed in call to always_inline ‘uint64_t fmix(uint64_t)’: function body can be overwritten at link time src/MurmurHash3.cpp:332:16: error: called from here make: *** [src/MurmurHash3.o] Error 1 DMAKI/Digest-MurmurHash3-0.01.tar.gz /usr/bin/make -- NOT OK 'YAML' not installed, will not store persistent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible The only thing I did to the system - aptitude install g++ Digest::MurmurHash and Digest::xxHash installed without problems. Best regards, Dmitriy Shalashov
Does this patch work for you? diff --git a/src/MurmurHash3.cpp b/src/MurmurHash3.cpp index c12ba5c..4b83b5f 100644 --- a/src/MurmurHash3.cpp +++ b/src/MurmurHash3.cpp @@ -29,7 +29,7 @@ #else // defined(_MSC_VER) -#define FORCE_INLINE __attribute__((always_inline)) +#define FORCE_INLINE inline __attribute__((always_inline)) inline uint32_t rotl32 ( uint32_t x, int8_t r ) {
Subject: Re: [rt.cpan.org #91280] Can't install on Debian 7.2 x86
Date: Tue, 10 Dec 2013 14:10:04 +0400
To: bug-Digest-MurmurHash3 [...] rt.cpan.org
From: Дмитрий Шалашов <skaurus [...] gmail.com>
I suppose this is a git patch? I tried to apply it to CPAN package; that wasn't successfull: git apply --check debian_x68.patch error: patch failed: src/MurmurHash3.cpp:29 error: src/MurmurHash3.cpp: patch does not apply But I just did this change manually and everything built correctly. Thanks a lot! Best regards, Dmitriy Shalashov 2013/12/10 Daisuke Maki via RT <bug-Digest-MurmurHash3@rt.cpan.org> Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=91280 > > > Does this patch work for you? > > diff --git a/src/MurmurHash3.cpp b/src/MurmurHash3.cpp > index c12ba5c..4b83b5f 100644 > --- a/src/MurmurHash3.cpp > +++ b/src/MurmurHash3.cpp > @@ -29,7 +29,7 @@ > > #else // defined(_MSC_VER) > > -#define FORCE_INLINE __attribute__((always_inline)) > +#define FORCE_INLINE inline __attribute__((always_inline)) > > inline uint32_t rotl32 ( uint32_t x, int8_t r ) > { > >
On 2013-12月-10 火 05:10:42, skaurus@gmail.com wrote: Show quoted text
> I suppose this is a git patch? I tried to apply it to CPAN package; that > wasn't successfull: > > git apply --check debian_x68.patch > error: patch failed: src/MurmurHash3.cpp:29 > error: src/MurmurHash3.cpp: patch does not apply > > But I just did this change manually and everything built correctly. > Thanks a lot! >
Cool, thanks. Closing.