boostorg / boostorg/iostreams

Using Boost.Iostreams and Bzip2 with link-time optimization can lead to a segmentation fault

Open
#135 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
48
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Configuration: boost 1_176_0 compiled with Mingw-w64 v7 and g++ 10.2 on Windows.

The problem is discussed here: https://stackoverflow.com/questions/68723476/why-does-link-time-optimization-cause-a-segmentation-fault

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Boost.Iostreams and Bzip2 configuration described for Boost 1.176.0, MinGW-w64 v7, and g++ 10.2 on Windows, then read the linked Stack Overflow discussion about link-time optimization. Reproduce the segmentation fault with that toolchain; done means the LTO build no longer crashes or the issue is narrowed to a documented external defect.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.