[Debian-med-packaging] Bug#1044139: Bug#1044139: phyx: FTBFS on hppa - section conflict

John David Anglin dave.anglin at bell.net
Mon Aug 14 13:21:17 BST 2023


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.anglin at bell.net
-------------- next part --------------
--- ./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


More information about the Debian-med-packaging mailing list