google / google/googletest

QNX 7.0 cross compile failed with qcc 5.4

Open
#3,796 5 comments 0 reactions 1 assignee Claimed by @derekmauro View on GitHub
bug
Dominant language
C++
Stars
39.5k
Forks
10.9k
Avg merge
6d 13h
Merged PRs (30d)
1

Description

**Describe the bug**

I want to build a library using on the QNX 7.0, and i can build a one with cmake option `-DBUILD_GMOCK=OFF`,but fail with `-DBUILD_GMOCK=ON`

**Steps to reproduce the bug**

`cmake -DCMAKE_TOOLCHAIN_FILE=../qnx_aarch64.cmake -DCMAKE_INSTALL_PREFIX=../install -DBUILD_GMOCK=ON -DCMAKE_SYSTEM_NAME=QNX ..`

**Does the bug persist in the most recent commit?**

yes

**What operating system and version are you using?**

QNX 7.0

**What compiler and version are you using?**

QCC 5.4.0

**What build system are you using?**

cmake version 3.22.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.