If you can test this bug, please go ahead and NMU,

regards
Alastair

On 01/10/2014 22:10, Andreas Barth wrote:
> Control: tag -1 patch
>
> * Andreas Barth (a...@ayous.org) [141001 22:54]:
>> Further on, the build fails with
>> libtool: link: gcc -std=gnu99 -g -O2 -fPIE -fstack-protector-strong
>> -Wformat -Werror=format-security -Wall -pedantic -fPIC -pthread -fPIE
>> -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/cdi cdi.o  -L/usr/lib
>> -L/usr/lib/powerpc64le-linux-gnu/hdf5/serial/lib -Wl,--as-needed
>> ../src/.libs/libcdi.so -lgrib_api -lnetcdf -lhdf5_hl -lhdf5 -lpng
>> -ljasper -lm -ljpeg -lz
>> /usr/lib/powerpc64le-linux-gnu/libcurl-gnutls.so -pthread
>> ../src/.libs/libcdi.so: undefined reference to `__fsel'
>>
>> A fix for this is still wanted (but the references are also
>> _ARCH_PWR6-dependend)
> With Aurelians help, this could be fixed by adding an appropriate
> include.
>
>
> The (working) patch is
> -->--
> diff -ur cdo-1.6.4+dfsg.1~/libcdi/src/cgribexlib.c 
> cdo-1.6.4+dfsg.1/libcdi/src/cgribexlib.c
> --- cdo-1.6.4+dfsg.1~/libcdi/src/cgribexlib.c   2014-07-05 13:34:19.000000000 
> +0000
> +++ cdo-1.6.4+dfsg.1/libcdi/src/cgribexlib.c    2014-10-01 21:08:29.080086839 
> +0000
> @@ -5,6 +5,7 @@
>  
>  #ifdef _ARCH_PWR6
>  #pragma options nostrict
> +#include <ppu_intrinsics.h>
>  #endif
>  
>  #if defined (HAVE_CONFIG_H)
> @@ -908,8 +909,8 @@
>      size_t i, j;
>      size_t residual =  datasize % __UNROLL_DEPTH_1;
>      size_t ofs = datasize - residual;
> -    double register dmin[__UNROLL_DEPTH_1];
> -    double register dmax[__UNROLL_DEPTH_1];
> +    double dmin[__UNROLL_DEPTH_1];
> +    double dmax[__UNROLL_DEPTH_1];
>  
>      for ( j = 0; j < __UNROLL_DEPTH_1; j++) 
>        {
> --<--
>
>
> I'm happy to help fixing this bug, if useful also by an NMU. As this
> is one of the last few remaining uninstallables in testing I intend to
> do so next week unless there is a reason why not.
>
>
> Andi

-- 
Alastair McKinstry, <alast...@sceal.ie>, <mckins...@debian.org>, 
https://diaspora.sceal.ie/u/amckinstry
Software is like Poetry - most of it shouldn't have been written.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to