google / google/googletest

build failure (test error) on ppc64el with lto enabled

Open
#3,920 3 comments 0 reactions 0 assignees View on GitHub
bug More Information Requested
Dominant language
C++
Stars
39.5k
Forks
10.9k
Avg merge
6d 13h
Merged PRs (30d)
1

Description

**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.

Contributor guide

Open the contributing guide

Research direction

Start with the linked full build log and reproduce the testsuite failure using CXXFLAGS="-flto=auto -ffat-lto-objects" on ppc64el with CMake. Identify the failing test or build step and isolate the LTO-related cause; done means the testsuite builds and passes with these flags, or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.