[CLN-list] Re: [cln] sparc64 and OpenBSD

Paul Irofti bulibuta at gmail.com
Mon Nov 19 12:20:53 CET 2007


On Mon, Nov 19, 2007 at 01:07:40PM +0200, Paul Irofti wrote:
> On Mon, Nov 19, 2007 at 12:23:58PM +0200, Paul Irofti wrote:
> [--snip--] 
> > My new error is:
> > 
> [--attached--]

> /usr/local/bin/libtool  --mode=compile c++ -O2 -pipe -Wformat -Wbounded
> -I/usr/local/include -I../include -I../include -I./polynomial -I./base
> -I./base/hash -I./base/digitseq -I./base/digit -Ibase  -c
> ./polynomial/elem/cl_UP.cc
>  c++ -O2 -pipe -Wformat -Wbounded -I/usr/local/include -I../include
> -I../include -I./polynomial -I./base -I./base/hash -I./base/digitseq
> -I./base/digit -Ibase -c ./polynomial/elem/cl_UP.cc  -fPIC -DPIC -o
> .libs/cl_UP.o
> In file included from polynomial/elem/cl_UP.cc:36:
> polynomial/elem/cl_UP_GF2.h: In function `const cln::_cl_UP
>    cln::gf2_mul(cln::cl_heap_univpoly_ring*, const cln::_cl_UP&, const
>    cln::_cl_UP&)':
> polynomial/elem/cl_UP_GF2.h:846: error: cannot convert `uintD*' to `uint32*'
>    for argument `3' to `uint32 cln::gf2_mul32(unsigned int, unsigned int,
>    uint32*)'
> polynomial/elem/cl_UP_GF2.h:862: error: cannot convert `uintD*' to `uint32*'
>    for argument `3' to `uint32 cln::gf2_mul32(unsigned int, unsigned int,
>    uint32*)'

It seems that this is generated by my former fix (the one I was
inquiring about). I can't just remap a 64-bit to a 32-bit function so a
devel will have to write an additional assembly routine for 64-bit
sparc here:

        .global C(gf2_mul16),C(gf2_mul32),C(gf2_mul64)
                                          ^^^^^^^^^^^^
The file is src/polynomial/elem/cl_asm_sparc_GF2.cc.


More information about the CLN-list mailing list