Re: ppc64le build failure (error converting bool to vector int?) with lugaru

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

 



On 12/19/2016 05:00 PM, Neal Gompa wrote:
Hello,

I just imported lugaru and attempted to build it for rawhide, but it
failed in such a strange way on ppc64le, with errors saying it can't
convert bool to vectorized ints.

Full build log:
https://kojipkgs.fedoraproject.org//work/tasks/9921/16959921/build.log

I fully expected lugaru to build properly on all architectures, as it
has nothing that makes it special in this regard. What's going on
here?

bool is a very special type on POWER because it's four bytes and not just one byte, as on most other architectures. Related to this, the compiler supplies a type __bool, and what I suspect is happening is that a header included by the project contains

#define bool __bool

The most common source is <altivec.h> from GCC.

If you can't trace this locally, you can perhaps compile with

-D__altivec_bool_ret='()'

which should give you an error message with an #include stack, so that you can see where <altivec.h> is included.

Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux