Re: new C client in development

2020-06-19 Thread Mike Hosken
I appreciate the work you do on this package. 

Mike Hosken 
Sent via my iPhone 

> On 20/06/2020, at 12:34, Roberto Spadim  wrote:
> 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/memcached/B5CC8ADC-24C8-45A4-AE9A-8AE21EF5508B%40purple-cat.net.


Re: building issue

2019-07-28 Thread Mike Hosken
It was a clean build,  I will setup a reverse ssh session and give you access 
to the machine. Will do this tomorrow. 

Mike

Sent from my iPhone

> On 29/07/2019, at 13:23, dormando  wrote:
> 
> you're sure it was a clean compile after the NEED_ALIGN change?
> 
> Any idea what the most recent version to build/pass tests is?
> 
> I'm not sure how to fix this without access to HPPA hardware. It could
> take ages to back and forth about it :(
> 
>> On Sun, 28 Jul 2019, mike hosken wrote:
>> 
>> Still fails log attached
>> Mike
>> 
>> On Saturday, July 27, 2019 at 11:26:56 PM UTC+12, mike hosken wrote:
>> 
>>  Hi,
>> 
>>   
>> 
>>  The output files are attached
>> 
>>   
>> 
>>   
>> 
>>   
>> 
>>  The output of the syslog
>> 
>>  root@atlantis-isp:/srv# cd memcached-1.5.16
>> 
>>  root@atlantis-isp:/srv/memcached-1.5.16# prove t/*.t &>/srv/prove2
>> 
>>  [ 1744.125238] memcached-debug(2582): unaligned access to 
>> 0xf8cfffd2 at ip=0x0001b2c3
>> 
>>  [ 1744.150158] memcached-debug(2582): unaligned access to 
>> 0xf8cfffd2 at ip=0x0001b2c3
>> 
>>  [ 1744.163229] memcached-debug(2582): unaligned access to 
>> 0xf8cfff82 at ip=0x0001b2c3
>> 
>>  [ 1745.325421] memcached-debug(2591): unaligned access to 
>> 0xf8cfefd2 at ip=0x00039ecb
>> 
>>  [ 1745.325728] memcached-debug(2591): unaligned access to 
>> 0xf8cfefd6 at ip=0x00039ecf
>> 
>>  [ 1755.206857] handle_unaligned: 2619 callbacks suppressed
>> 
>>  [ 1755.206875] memcached-debug(2582): unaligned access to 
>> 0xf8cfff3a at ip=0x0001b2c3
>> 
>>  [ 1755.230171] memcached-debug(2582): unaligned access to 
>> 0xf8cffeea at ip=0x0001b2c3
>> 
>>  [ 1755.250607] memcached-debug(2582): unaligned access to 
>> 0xf8cfffde at ip=0x0001b2c3
>> 
>>  [ 1755.265211] memcached-debug(2582): unaligned access to 
>> 0xf8cfff8e at ip=0x0001b2c3
>> 
>>  [ 1755.647999] memcached-debug(2582): unaligned access to 
>> 0xf8cffe42 at ip=0x0001b2c3
>> 
>>  [ 1760.705014] handle_unaligned: 10 callbacks suppressed
>> 
>>  [ 1760.705032] memcached-debug(2582): unaligned access to 
>> 0xf8d23289 at ip=0x0001eab7
>> 
>>  [ 1760.705713] memcached-debug(2582): unaligned access to 
>> 0xf8d2328d at ip=0x0001eabb
>> 
>>  [ 1760.711934] memcached-debug(2582): unaligned access to 
>> 0xf8d23291 at ip=0x0001eacf
>> 
>>  [ 1760.716485] memcached-debug(2582): unaligned access to 
>> 0xf8d23295 at ip=0x0001ead3
>> 
>>  [ 1760.721071] memcached-debug(2582): unaligned access to 
>> 0xf8d23299 at ip=0x0001eadf
>> 
>>  [ 1765.738790] handle_unaligned: 7767 callbacks suppressed
>> 
>>  [ 1765.738809] memcached-debug(2582): unaligned access to 
>> 0xf8d232cf at ip=0x0001eab7
>> 
>>  [ 1765.739522] memcached-debug(2582): unaligned access to 
>> 0xf8d232d3 at ip=0x0001eabb
>> 
>>  [ 1765.745671] memcached-debug(2582): unaligned access to 
>> 0xf8d232d7 at ip=0x0001eacf
>> 
>>  [ 1765.750246] memcached-debug(2582): unaligned access to 
>> 0xf8d232db at ip=0x0001ead3
>> 
>>  [ 1765.754858] memcached-debug(2582): unaligned access to 
>> 0xf8d232df at ip=0x0001eadf
>> 
>>  [ 1770.834862] handle_unaligned: 7692 callbacks suppressed
>> 
>>  [ 1770.834877] memcached-debug(2582): unaligned access to 
>> 0xf1fec11e at ip=0x0001b2c3
>> 
>>  [ 1770.845364] memcached-debug(2582): unaligned access to 
>> 0xf8cfe3c2 at ip=0x0001b2c3
>> 
>>  [ 1770.910709] memcached-debug(2582): unaligned access to 
>> 0xf8d22b25 at ip=0x0001eab7
>> 
>>  [ 1770.911011] memcached-debug(2582): unaligned access to 
>> 0xf8d22b29 at ip=0x0001eabb
>> 
>>  [ 1770.911522] memcached-debug(2582): unaligned access to 
>> 0xf8d22b2d at ip=0x0001eacf
>> 
>>  [ 1775.838744] handle_unaligned: 10050 callbacks suppressed
>> 
>>  [ 1775.838759] memcached-debug(2582): unaligned access to 
>>

building issue

2019-07-27 Thread Mike Hosken
Hi,

 

The output files are attached

 

 

 

The output of the syslog

root@atlantis-isp:/srv# cd memcached-1.5.16

root@atlantis-isp:/srv/memcached-1.5.16# prove t/*.t &>/srv/prove2

[ 1744.125238] memcached-debug(2582): unaligned access to 0xf8cfffd2
at ip=0x0001b2c3

[ 1744.150158] memcached-debug(2582): unaligned access to 0xf8cfffd2
at ip=0x0001b2c3

[ 1744.163229] memcached-debug(2582): unaligned access to 0xf8cfff82
at ip=0x0001b2c3

[ 1745.325421] memcached-debug(2591): unaligned access to 0xf8cfefd2
at ip=0x00039ecb

[ 1745.325728] memcached-debug(2591): unaligned access to 0xf8cfefd6
at ip=0x00039ecf

[ 1755.206857] handle_unaligned: 2619 callbacks suppressed

[ 1755.206875] memcached-debug(2582): unaligned access to 0xf8cfff3a
at ip=0x0001b2c3

[ 1755.230171] memcached-debug(2582): unaligned access to 0xf8cffeea
at ip=0x0001b2c3

[ 1755.250607] memcached-debug(2582): unaligned access to 0xf8cfffde
at ip=0x0001b2c3

[ 1755.265211] memcached-debug(2582): unaligned access to 0xf8cfff8e
at ip=0x0001b2c3

[ 1755.647999] memcached-debug(2582): unaligned access to 0xf8cffe42
at ip=0x0001b2c3

[ 1760.705014] handle_unaligned: 10 callbacks suppressed

[ 1760.705032] memcached-debug(2582): unaligned access to 0xf8d23289
at ip=0x0001eab7

[ 1760.705713] memcached-debug(2582): unaligned access to 0xf8d2328d
at ip=0x0001eabb

[ 1760.711934] memcached-debug(2582): unaligned access to 0xf8d23291
at ip=0x0001eacf

[ 1760.716485] memcached-debug(2582): unaligned access to 0xf8d23295
at ip=0x0001ead3

[ 1760.721071] memcached-debug(2582): unaligned access to 0xf8d23299
at ip=0x0001eadf

[ 1765.738790] handle_unaligned: 7767 callbacks suppressed

[ 1765.738809] memcached-debug(2582): unaligned access to 0xf8d232cf
at ip=0x0001eab7

[ 1765.739522] memcached-debug(2582): unaligned access to 0xf8d232d3
at ip=0x0001eabb

[ 1765.745671] memcached-debug(2582): unaligned access to 0xf8d232d7
at ip=0x0001eacf

[ 1765.750246] memcached-debug(2582): unaligned access to 0xf8d232db
at ip=0x0001ead3

[ 1765.754858] memcached-debug(2582): unaligned access to 0xf8d232df
at ip=0x0001eadf

[ 1770.834862] handle_unaligned: 7692 callbacks suppressed

[ 1770.834877] memcached-debug(2582): unaligned access to 0xf1fec11e
at ip=0x0001b2c3

[ 1770.845364] memcached-debug(2582): unaligned access to 0xf8cfe3c2
at ip=0x0001b2c3

[ 1770.910709] memcached-debug(2582): unaligned access to 0xf8d22b25
at ip=0x0001eab7

[ 1770.911011] memcached-debug(2582): unaligned access to 0xf8d22b29
at ip=0x0001eabb

[ 1770.911522] memcached-debug(2582): unaligned access to 0xf8d22b2d
at ip=0x0001eacf

[ 1775.838744] handle_unaligned: 10050 callbacks suppressed

[ 1775.838759] memcached-debug(2582): unaligned access to 0xf8d22b25
at ip=0x0001eab7

[ 1775.839501] memcached-debug(2582): unaligned access to 0xf8d22b29
at ip=0x0001eabb

[ 1775.845809] memcached-debug(2582): unaligned access to 0xf8d22b2d
at ip=0x0001eacf

[ 1775.850395] memcached-debug(2582): unaligned access to 0xf8d22b31
at ip=0x0001ead3

[ 1775.855029] memcached-debug(2582): unaligned access to 0xf8d22b35
at ip=0x0001eadf

[ 1780.878981] handle_unaligned: 10900 callbacks suppressed

[ 1780.878996] memcached-debug(2582): unaligned access to 0xf8d22b25
at ip=0x0001eab7

[ 1780.879705] memcached-debug(2582): unaligned access to 0xf8d22b29
at ip=0x0001eabb

[ 1780.885682] memcached-debug(2582): unaligned access to 0xf8d22b2d
at ip=0x0001eacf

[ 1780.890234] memcached-debug(2582): unaligned access to 0xf8d22b31
at ip=0x0001ead3

[ 1780.895011] memcached-debug(2582): unaligned access to 0xf8d22b35
at ip=0x0001eadf

[ 1785.882967] handle_unaligned: 11530 callbacks suppressed

[ 1785.882982] memcached-debug(2582): unaligned access to 0xf8d22b25
at ip=0x0001eab7

[ 1785.883692] memcached-debug(2582): unaligned access to 0xf8d22b29
at ip=0x0001eabb

[ 1785.889671] memcached-debug(2582): unaligned access to 0xf8d22b2d
at ip=0x0001eacf

[ 1785.894406] memcached-debug(2582): unaligned access to 0xf8d22b31
at ip=0x0001ead3

[ 1785.898999] memcached-debug(2582): unaligned access to 0xf8d22b35
at ip=0x0001eadf

[ 1790.943024] handle_unaligned: 11467 callbacks suppressed

[ 1790.943039] memcached-debug(2582): unaligned access to 0xf8d22b25
at ip=0x0001eab7

[ 1790.943723] memcached-debug(2582): unaligned access to 0xf8d22b29
at ip=0x0001eabb

[ 

Re: memcached fails to build

2019-07-27 Thread mike hosken
root@atlantis-isp:~# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/hppa-linux-gnu/8/lto-wrapper
Target: hppa-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-7' 
--with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs 
--enable-languages=c,ada,c++,d,fortran,objc,obj-c++ --prefix=/usr 
--with-gcc-major-version-only --program-suffix=-8 
--program-prefix=hppa-linux-gnu- --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-gnu-unique-object 
--disable-libssp --disable-libitm --disable-libsanitizer 
--disable-libquadmath --disable-libquadmath-support --enable-plugin 
--with-system-zlib --disable-libphobos --enable-objc-gc=auto 
--enable-multiarch --disable-werror --disable-libstdcxx-pch 
--enable-checking=release --build=hppa-linux-gnu --host=hppa-linux-gnu 
--target=hppa-linux-gnu
Thread model: posix
gcc version 8.3.0 (Debian 8.3.0-7)


On Saturday, July 27, 2019 at 6:22:38 PM UTC+12, mike hosken wrote:
>
> Hi 
>
> I have been trying to build memcached on debian hppa linux
>
> it fails to build in debian see log here
>
> https://debian-stable.parisc-linux.org/build/memcached_1.5.6-1.1_hppa.build
>
> it also fails to build from source 
> root@atlantis-isp:~/memcached-1.5.16# ./configure 
> --prefix=/usr/local/memcached
> checking build system type... hppa64-unknown-linux-gnu
> checking host system type... hppa64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for icc in use... no
> checking for clang in use... no
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether __SUNPRO_C is declared... no
> checking for gcc option to accept ISO C99... none needed
> checking sasl/sasl.h usability... yes
> checking sasl/sasl.h presence... yes
> checking for sasl/sasl.h... yes
> checking for gcov... /usr/bin/gcov
> checking for main in -lgcov... yes
> checking for library containing clock_gettime... none required
> checking for library containing socket... none required
> checking for library containing gethostbyname... none required
> checking for libevent directory... (system)
> checking for library containing umem_cache_create... no
> checking for library containing gethugepagesizes... no
> checking for stdbool.h that conforms to C99... yes
> checking for _Bool... yes
> checking for inttypes.h... (cached) yes
> checking for sasl_callback_ft... yes
> checking for print macros for integers (C99 section 7.8.1)... yes
> checking for an ANSI C-conforming const... yes
> checking for socklen_t... yes
> checking for endianness... big
> checking for htonll... no
> checking for library containing pthread_create... none required
> checking for mlockall... yes
> checking for getpagesizes... no
> checking for memcntl... no
> checking for sigignore... yes
> checking for clock_gettime... yes
> checking for accept4... yes
> checking for getopt_long... yes
> checking for alignment... none
> checking for GCC atomics... yes
> checking for GCC 64bit atomics... yes
> checking for setppriv... no
> checking for pledge... no
> checking for cap_enter... no
> checking umem.h usability... no
> checking umem.h presence... no
> checking for umem.h... no
> checking for xml2rfc... no
> checking for xsltproc... /usr

Re: memcached fails to build

2019-07-27 Thread mike hosken
p
1..52
ok 1 - cache_create
ok 2 - cache_constructor
ok 3 - cache_constructor_fail
ok 4 - cache_destructor
ok 5 - cache_reuse
ok 6 - cache_redzone
ok 7 - issue_161
ok 8 - strtol
ok 9 - strtoll
ok 10 - strtoul
ok 11 - strtoull
ok 12 - issue_44
ok 13 - vperror
Signal handled: Terminated.
ok 14 - issue_101
ok 15 - start_server
ok 16 - issue_92
[ 1895.024347] handle_unaligned: 1176 callbacks suppressed
[ 1895.024364] memcached-debug(4102): unaligned access to 
0xf8d3f4ad at ip=0x0002dbe7
[ 1895.025089] memcached-debug(4102): unaligned access to 
0xf8d3f4b1 at ip=0x0002dc63
[ 1895.033204] memcached-debug(4102): unaligned access to 
0xf8d3f4c3 at ip=0x0002dbe7
[ 1895.034853] memcached-debug(4102): unaligned access to 
0xf8d3f4c7 at ip=0x0002dc63
[ 1895.039519] memcached-debug(4102): unaligned access to 
0xf8d3f4ce at ip=0x0002dbe7
ok 17 - issue_102
ok 18 - binary_noop
ok 19 - binary_quit
ok 20 - binary_quitq
ok 21 - binary_set
ok 22 - binary_setq
ok 23 - binary_add
ok 24 - binary_addq
ok 25 - binary_replace
ok 26 - binary_replaceq
ok 27 - binary_delete
ok 28 - binary_deleteq
testapp: testapp.c:1049: validate_response_header: Assertion 
`response->message.header.response.status == status' failed.
make: *** [Makefile:1987: test] Aborted
root@atlantis-isp:/srv/memcached-1.5.16#



out put from fresh build

Mike
**




On Saturday, July 27, 2019 at 6:22:38 PM UTC+12, mike hosken wrote:
>
> Hi 
>
> I have been trying to build memcached on debian hppa linux
>
> it fails to build in debian see log here
>
> https://debian-stable.parisc-linux.org/build/memcached_1.5.6-1.1_hppa.build
>
> it also fails to build from source 
> root@atlantis-isp:~/memcached-1.5.16# ./configure 
> --prefix=/usr/local/memcached
> checking build system type... hppa64-unknown-linux-gnu
> checking host system type... hppa64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for icc in use... no
> checking for clang in use... no
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether __SUNPRO_C is declared... no
> checking for gcc option to accept ISO C99... none needed
> checking sasl/sasl.h usability... yes
> checking sasl/sasl.h presence... yes
> checking for sasl/sasl.h... yes
> checking for gcov... /usr/bin/gcov
> checking for main in -lgcov... yes
> checking for library containing clock_gettime... none required
> checking for library containing socket... none required
> checking for library containing gethostbyname... none required
> checking for libevent directory... (system)
> checking for library containing umem_cache_create... no
> checking for library containing gethugepagesizes... no
> checking for stdbool.h that conforms to C99... yes
> checking for _Bool... yes
> checking for inttypes.h... (cached) yes
> checking for sasl_callback_ft... yes
> checking for print macros for integers (C99 section 7.8.1)... yes
> checking for an ANSI C-conforming const... yes
> checking for socklen_t... yes
> checking for endianness... big
> checking for htonll... no
> checking for library containing pthread_create... none required
> checking for mlockall... yes
> checking for getpagesizes... no
> checking for memcntl... no
> checking for sigignore... yes
> checking for clock_gettime... yes
> checking for accept4... yes
> checking for getopt_long... yes
> checking for alignment... none
> checki

memcached fails to build

2019-07-27 Thread mike hosken
 - issue_92
ok 17 - issue_102
ok 18 - binary_noop
ok 19 - binary_quit
ok 20 - binary_quitq
ok 21 - binary_set
ok 22 - binary_setq
ok 23 - binary_add
ok 24 - binary_addq
ok 25 - binary_replace
ok 26 - binary_replaceq
ok 27 - binary_delete
ok 28 - binary_deleteq
testapp: testapp.c:1049: validate_response_header: Assertion 
`response->message.header.response.status == status' failed.
make: *** [Makefile:2174: test] Aborted
root@atlantis-isp:~/memcached-1.5.16#

it also causes the following in the system log whilst running make test
Debian GNU/Linux 10 atlantis-isp ttyS0

[10778.155575] handle_unaligned: 1125 callbacks suppressed
[10778.155592] memcached-debug(7220): unaligned access to 
0xf8d3f4ad at ip=0x0002e01f
[10778.156290] memcached-debug(7220): unaligned access to 
0xf8d3f4b1 at ip=0x0002e09b
[10778.165911] memcached-debug(7220): unaligned access to 
0xf8d3f4c3 at ip=0x0002e01f
[10778.167050] memcached-debug(7220): unaligned access to 
0xf8d3f4c7 at ip=0x0002e09b
[10778.171719] memcached-debug(7220): unaligned access to 
0xf8d3f4ce at ip=0x0002e01f
 

Can someone help me to fix this issue??

Mike Hosken
m...@purple-cat.net




-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/memcached/c7e15dd9-43ff-4a5d-b675-0394896a0d0e%40googlegroups.com.