Thanks Jerry -- what you describe is exactly what I am seeing in the build.log Phil
On Thursday, August 29, 2019, 04:20:22 PM EDT, Jerry James <loganjerry@xxxxxxxxx> wrote:
On Thu, Aug 29, 2019 at 2:05 PM Philip Kovacs via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> 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/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
<devel@xxxxxxxxxxxxxxxxxxxxxxx> 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/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx