[Debian-med-packaging] Bug#922776: libhmsbeagle : FTBFS on ppc64el - cannot convert ‘bool’ to ‘__vector?=?=(4) bool =?UTF-8?Q?=?UTF-8?Q?int’ in assignment

Andreas Tille andreas at an3as.eu
Fri Feb 22 12:05:42 GMT 2019


Hi Thierry

On Fri, Feb 22, 2019 at 11:08:35AM +0100, Thierry Fauck at linux.ibm.com wrote:
> Hi Andreas,
> 
> Sounds like my report was missing some info - sorry about that.
> When we compile it stops with message
>               cannot convert ‘bool’ to ‘__vector?=(4) bool
> =?UTF-8?Q?int’ in assignment
> 
> Searching for that I found a couple of occurences  and mainly bug
> gcc.gnu.org/bugzilla/show_bug.cgi?id=58241 
> which is named *Bug 58241*
> <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241> - [PPC/Altivec]
> altivec.h inclusion in -std=c++98..11 causes bool to be redefined
> 
> This bug reports that building with -std=gnu++11 does not fail. So I
> checked that this is also true with our package.
> 
> Trying other workaround like #undef bool around #include <altivec.h>
> doesn't work because it is not implicitely specified
> in the code, so I haven't find how to do it right.now.

Ahhh, I've assumed you tried to tell me some way how to solve this
bug.  So for the moment I'll simply upload my fix for #922778 to
get at least this one solved.
 
> However I don't know what changing -std= value implies.
> 
> Is that better ?

Yes.  Only a patch as solution would be even better since I admit
I have no idea myself what to do now. ;-)  

Kind regards

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list