bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FAIL: autopoint-3


From: Santiago Vila
Subject: Re: FAIL: autopoint-3
Date: Fri, 21 Jun 2024 20:19:49 +0200
User-agent: Mozilla Thunderbird

I would suggest to search for a bug in 'sbuild', by using clang's ASAN and
UBSAN sanitizers:

CC="clang 
-fsanitize=address,undefined,signed-integer-overflow,shift,integer-divide-by-zero"; 
CXX="clang++ 
-fsanitize=address,undefined,signed-integer-overflow,shift,integer-divide-by-zero"; export CC 
CXX
CFLAGS="-O0 -fno-omit-frame-pointer -ggdb"; CXXFLAGS="-O0 -fno-omit-frame-pointer 
-ggdb"; export CFLAGS CXXFLAGS

ASAN_OPTIONS="detect_leaks=0 abort_on_error=1 allocator_may_return_null=1"
export ASAN_OPTIONS

This is unlikely a bug in sbuild, sbuild is just a perl script which
retrieves the Debian source, unpacks it, enters the package toplevel
directory and executes dpkg-buildpackage.

(In fact, the package fails to build as well when I build it using
dpkg-buildpackage alone, without sbuild).

I believe it is a genuine gettext bug, which is triggered by the
default environment variables set by dpkg-buildpackage (CFLAGS et al),
and/or the default way by which ./configure is called
(which is determined by debhelper).

How can I debug this? Let's suppose that I have already
ran ./configure and make to build the package. How do I execute
a single test? (not the full make check).

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]