NVIDIA / NVIDIA/cccl

[BUG]: visit_call_operator_forwarding test failing with error: Disabling default position-independent-code(pic) compilation mode as program requires more resources than allowed

Open
#1,418 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

### Is this a duplicate?

- [X] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this bug and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)

### Type of Bug

Runtime Error

### Component

libcu++

### Describe the bug

Test location:
https://github.com/NVIDIA/cccl/tree/main/libcudacxx/test/libcudacxx/std/utilities/variant/variant.visit

Failing tests:
libcu++ :: std/utilities/variant/variant.visit/visit_call_operator_forwarding.pass.cpp
libcu++ :: std/utilities/variant/variant.visit_return/visit_call_operator_forwarding.pass.cpp

### How to Reproduce

1. Run tests using command: `./ci/test_libcudacxx.sh -cxx /host_compilers/gcc/bin/g++ -std 14 -arch sm_70`

### Expected behavior

No tests should fail

### Reproduction link

_No response_

### Operating System

_No response_

### nvidia-smi output

_No response_

### NVCC version

_No response_

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.