googletest
googletest copied to clipboard
build failure (test error) on ppc64el with lto enabled
Describe the bug
It fails testsuite with -flto=auto -ffat-lto-objects CFLAGS on ppc64el
Steps to reproduce the bug
export CXXFLAGS="-flto=auto -ffat-lto-objects"
Does the bug persist in the most recent commit?
Yes, looks something lto related
What operating system and version are you using?
Ubuntu 22.10 development release
What compiler and version are you using?
Get:71 http://ftpmaster.internal/ubuntu kinetic/main ppc64el g++-11 ppc64el 11.3.0-3ubuntu1 [10.1 MB]
What build system are you using?
cmake
Additional context full build log https://launchpadlibrarian.net/609859813/buildlog_ubuntu-kinetic-ppc64el.googletest_1.11.0-3build1_BUILDING.txt.gz
Add any other context about the problem here.
Unfortunately, we cannot reproduce this bug with the information provided. And it's hard to figure out what went wrong by reading the logs.
Could you please provide more detailed instructions for reproducing the issue?
Hello, I think you just need to export -flto=auto -ffat-lto-objects flags to your build environment, and test on ppc64el machine...