On Sun, Jan 26, 2025 at 08:14:19PM +0100, Maarten van Gompel wrote:
> Thanks for the report. I don't really know how to go about solving this.
> I've tried to reproduce this inside a debian:testing container on an
> actual arm64 system but it doesn't reproduce. The libfolia package builds fine
> on my arm64 system (I don't have access to any of the other
> architectures). I wonder if it stumbles on something specific on the
> builder systems... If you can get a gdb backtrace we might be able to
> dive deeper.
> 
> Example of successful run on ARM64:
[..]

For me it also segfaults on amd64:

$ sbuild -d unstable libfolia_2.21-1.dsc
...
make[3]: Entering directory '/build/reproducible-path/libfolia-2.21/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I../include -Wdate-time -D_FORTIFY_SOURCE=2 
-std=c++17 -g -O0 -W -Wall -pedantic -g -O2 
-ffile-prefix-map=/build/reproducible-path/libfolia-2.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -pthread -I/usr/include/libxml2  
-fopenmp   -c -o simpletest.o simpletest.cxx
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -std=c++17 -g -O0 -W -Wall 
-pedantic -g -O2 -ffile-prefix-map=/build/reproducible-path/libfolia-2.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -pthread -I/usr/include/libxml2  
-fopenmp    -Wl,-z,relro -o simpletest simpletest.o libfolia.la -licuio 
-licui18n -licuuc -licudata  -lticcutils  -lxml2  -lpthread
libtool: link: g++ -std=c++17 -g -O0 -W -Wall -pedantic -g -O2 
-ffile-prefix-map=/build/reproducible-path/libfolia-2.21=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/libxml2 -fopenmp -Wl,-z 
-Wl,relro -o .libs/simpletest simpletest.o  ./.libs/libfolia.so -licuio 
-licui18n -licuuc -licudata -lticcutils -lxml2 -lpthread -fopenmp -pthread
make[3]: Leaving directory '/build/reproducible-path/libfolia-2.21/src'
make  check-TESTS
make[3]: Entering directory '/build/reproducible-path/libfolia-2.21/src'
make[4]: Entering directory '/build/reproducible-path/libfolia-2.21/src'
../test-driver: line 112:  3591 Segmentation fault      (core dumped) "$@" >> 
"$log_file" 2>&1
FAIL: simpletest

This being inside a quite default sbuild+unshare setup.

Chris

Reply via email to