On Thu, Aug 29, 2019 at 2:05 PM Philip Kovacs via devel
<
devel@lists.fedoraproject.org> wrote:
> Is there something odd going on with arch aarch64 -- openmpi builds are failing on that arch.
There sure is. I had the same thing happen with a qd build. Look for
this in your build log:
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... no
and then configure decides not to add -fPIC to the compiler flags, and
the library fails to build due to invalid relocations for a shared
object. It only happens with g++, not gcc, and it only happens in
Rawhide. I messed around with the qd build for awhile, and
accidentally found that adding -mabi=lp64 to CXXFLAGS makes that
configure test pass. That shouldn't be necessary, as -mabi=lp64 is
already the default. So, yes, something strange is going on with
aarch64 in Rawhide.
--
Jerry James
http://www.jamezone.org/