Package: sphde / 1.4.0-2

Metadata

Package Version Patches format
sphde 1.4.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Ignore some tests.patch | (download)

src/Makefile.am | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 ignore some tests

For buildd, we need to skip some tests that fail on powerpc. Specifically :
- src/sphgettime_t and src/sphgtod_t still fail and can be ignored for
now as they compare the time taken with a constant value.
- src/sphdirectpcqueue_ttt takes hours to complete.

https://github.com/sphde/sphde/commit/d404fe4bed885c18080caee7db75f48914e4c66b

0002 Fix compilation error with gcc8.patch | (download)

src/tests/sassim_t.c | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 fix compilation error with gcc8

gcc8 gives error as
tests/sassim_t.c:153:12: error: passing argument 1 to restrict-qualified
 parameter aliases with argument 3 [-Werror=restrict]
   sprintf ((char *) baseAddr1, "SAS Page 0@%p", baseAddr1);
            ^~~~~~~~~~~~~~~~~~
tests/sassim_t.c:158:7: error: passing argument 1 to restrict-qualified
 parameter aliases with argument 4 [-Werror=restrict]
       sprintf (pageX_ptr, "SAS Page %ld@%p", page_num, pageX_ptr);

If the buffer pointed is same as argument passed to sprintf, gcc8
gives compilation error.
Handled it by passing temporary pointers to  sprintf.

Signed-off-by:  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>

Closes: #897869

0003 Adjust sasconf for mips64el.patch | (download)

src/sasconf.h | 8 8 + 0 - 0 !
src/sassim.cpp | 3 2 + 1 - 0 !
2 files changed, 10 insertions(+), 1 deletion(-)

 adjust sasconf for mips64el

Defines base address, region and segment size for mips64el.

2016-12-01  Radovan Birdic  <Radovan.Birdic@imgtec.com>

        * src/sasconf.h: Define address for mips64el.
        * src/sassim.cpp: Adjust struct logNodeType.

Signed-off-by:  Radovan Birdic  <Radovan.Birdic@imgtec.com>

Closes: #844613
Thanks: Radovan Birdic

0004 Add mips32 support for mips and mipsel.patch | (download)

src/sasconf.h | 19 13 + 6 - 0 !
1 file changed, 13 insertions(+), 6 deletions(-)

 add mips32 support for mips and mipsel

Radovan : We need to define proper addresses (__SAS_BASE_ADDRESS,
RegionSize, SegmentSize and __SAS_SHMAP_MAX) for mips/mipsel into
"sasconf.h" file.

Modified the patch because of failure to build on mips64el with gcc8 :
In file included from sasutil.c:21:

sasconf.h:105: error: "__SAS_BASE_ADDRESS" redefined [-Werror]
 # define     __SAS_BASE_ADDRESS      0x60000000UL    /* 1,5GB */

sasconf.h:98: note: this is the location of the previous definition
 # define     __SAS_BASE_ADDRESS      0x4000000000L   /* 256GB */

sasconf.h:106: error: "RegionSize" redefined [-Werror]
 # define     RegionSize              0x10000000UL    /* 256MB */

sasconf.h:99: note: this is the location of the previous definition
 # define     RegionSize              0x2000000000L   /* 128GB */
...

Closes: #848233
Thanks: Radovan Birdic

0005 Fix FTBFS on s390x.patch | (download)

src/sphmultipcqueue.cpp | 10 6 + 4 - 0 !
src/tests/sphmultipcqueue_t.c | 4 4 + 0 - 0 !
2 files changed, 10 insertions(+), 4 deletions(-)

 fix ftbfs on s390x

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906798
In last upstream version, HTM related code has changed and fails on
s390x. This is a attempt to fix things basically.