On 2023-08-14 5:36 a.m., Étienne Mollier wrote:
Thanks for the report, I could reproduce the issue in qemu hppa
binfmt chroot context, so shouldn't be too hard to investigate
by anyone comfortable with this setup.  I have no clue however
how to fix that particular architecture specific build failure,
help would be appreciated.
I had a successfully build by adding '-ffunction-sections'. See attached patch.

I'm not sure why this would be architecture specific.  By default on hppa, all 
functions go into .text.
There must be some attribute in the code causing the conflict.

Regards,
Dave

--
John David Anglin  dave.ang...@bell.net
--- ./src/configure.ac.save     2023-08-14 11:50:18.326468070 +0000
+++ ./src/configure.ac  2023-08-14 11:51:26.785905713 +0000
@@ -66,7 +66,7 @@
 # Platform specific setup
 #############################
 
-OPT_FLAGS="-O3 -std=c++14"
+OPT_FLAGS="-O3 -std=c++14 -ffunction-sections"
 
 AC_SUBST([HOMP],[N])
 if `$CXX -v 2>&1 | grep 'gcc version' >/dev/null 2>&1` ; then

Reply via email to