boost does not cross-compile for qnx (at least x86_64) since 1.86.0
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- build-system, operating-systems
Research direction
Reproduce the failure with the reported ./bootstrap and ./b2 command on Ubuntu 22.04 targeting QNX, comparing Boost 1.85.0 with 1.86.0 or later. Investigate the regression using the available cross-compilation output; done means the reported QNX x86_64 build completes without a segmentation fault.
Written by the indexing model from the issue text.
Description
Cross compiling boost release 1.86.0 on QNX SDP 7.1 (qcc 8.3.0 (with gcc backend)) results in Segmentation Fault.
I tried the following versions:
1.81.0 works ✅
1.85.0 works ✅
1.86.0 seg fault ❌
1.87.0 seg fault ❌
1.90.0 seg fault ❌
I used the following comands on a freshly download version:
./bootstrap
./b2 -j$(nproc) toolset=qcc target-os=qnx architecture=x86 address-model=64 variant=release threading=multi threadapi=pthread link=static runtime-link=static --with-system --with-filesystem --with-thread --with-chrono --with-date_time --with-regex --with-program_options
The only output I see on the terminal is:
Segmentation fault (core dumped)
I cross compile on the following host (lsb_release -a):
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
- Dominant language
- HTML
- Stars
- 8.6k
- Forks
- 2k
- Avg merge
- 9h 35m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/boost
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
CI: pin OS images in build/publish tests instead of `*-latest`Possibly taken @shikhabhadoria claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vacanza/holidays#4220 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Niko1221/Strata#6731 · 2 comments ·
Maintainers usually reply within 6 days
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
dependencies go good first issue priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
fukubie/StockLlama#48 ·