Bug#923527: bliss: example segfaults in gmp

Jerome BENOIT calculus at rezozer.net
Tue Mar 26 11:07:35 GMT 2019


Hello All,

thanks a lot for your constructive feedbacks.

I will have a look this week end.
And, if applicable, I will upload a new package.

Cheers,
Jerome

On 26/03/2019 14:53, Bernhard Übelacker wrote:
> Hello David Bremner,
> now the hint in the subject makes sense ;-)
> I can perfectly reproduce the crash now.
> 
> I compared the arguments from the build log [1]
> and reduced it until the crash happens and
> the important part is the "-D BLISS_USE_GMP".
> 
> Therefore /usr/share/doc/bliss-doc/examples/Makefile could
> maybe completed with a CXXFLAGS line similar to one below,
> to avoid that situation.
> 
> Kind regards,
> Bernhard
> 
> 
> [1] https://buildd.debian.org/status/fetch.php?pkg=bliss&arch=amd64&ver=0.73-2&stamp=1542196885&raw=0
> 
> 
> root at debian:/usr/share/doc/bliss-doc/examples# git diff
> diff --git a/Makefile b/Makefile
> index 2a676ba..d290e31 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -26,6 +26,18 @@ default: all
>  
>  LDLIBS = -lbliss -lgmp
>  
> +#CXXFLAGS = -Wdate-time -D_FORTIFY_SOURCE=2 -DBLISS_COMPILED_DATE="\"Debian \"" -D BLISS_USE_GMP  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> +# works
> +
> +#CXXFLAGS = -D BLISS_USE_GMP  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> +# works
> +
> +#CXXFLAGS = -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> +# fails
> +
> +CXXFLAGS = -D BLISS_USE_GMP
> +# works
> +
>  all: build
>  
>  build: $(PROGRAMS)
> 
> 

-- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1528 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190326/4d9d8192/attachment-0001.sig>


More information about the debian-science-maintainers mailing list