llnl / llnl/blt

gtest linking warnings with static builds on cray systems

Open
#94 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
296
Forks
66
Avg merge
1h 3m
Merged PRs (30d)
1

Description

```
../../lib/libgtest.a(gtest-all.cc.o): In function `testing::internal::StreamingListener::SocketWriter::MakeConnection()':
gtest-all.cc:(.text+0x3af47): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
```
[ 4%] Built target blt_gtest_smoke

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the static build on a Cray system and tracing the gtest linking configuration that emits the getaddrinfo warning. Done means the static build no longer produces this warning while the blt_gtest_smoke target still succeeds.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.