Skip to content

Conversation

@fanquake
Copy link
Member

When compiled under -O0, this code was causing runtime failures in the 32-bit Clang gui wallet tests. Work around that by importing a commit from upstream: qt/qtbase@8c8b9a4.

Can be recreated with:

make -C depends/ DEBUG=1 CFLAGS="-O0" CXXFLAGS="-O0" HOST=i686-pc-linux-gnu
cmake -B build --toolchain /root/ci_scratch/depends/i686-pc-linux-gnu/toolchain.cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER='clang;-m32' -DCMAKE_CXX_COMPILER='clang++;-m32'
cmake --build build
ctest --test-dir build

Test failure output: https://gist.github.com/fanquake/16535691162170dc313b8f9f80988fa9.

Split from #29796.

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 17, 2025

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32081.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK ryanofsky

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #30997 (build: Switch to Qt 6 by hebasto)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

When compiled under -O0, this code was causing runtime failures in the
32-bit Clang gui wallet tests. Work around that by importing a commit from upstream:
qt/qtbase@8c8b9a4.
Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maflcko
Copy link
Member

maflcko commented Mar 27, 2025

I guess this won't be needed after #30997 (assuming that it makes it in for the next release)

@hebasto
Copy link
Member

hebasto commented Mar 28, 2025

I guess this won't be needed after #30997 (assuming that it makes it in for the next release)

I agree:

Can be dropped with Qt 6.0.

@fanquake
Copy link
Member Author

fanquake commented Apr 2, 2025

Qt 6 should make it in, so wont bother with this.

@fanquake fanquake closed this Apr 2, 2025
@fanquake fanquake deleted the fix_qt_32_O0 branch April 2, 2025 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants