Skip to content

Conversation

@Kobzol
Copy link
Member

@Kobzol Kobzol commented Dec 29, 2025

To reduce size of libgccjit.so from ~400 MiB to ~50 MiB.

r? @antoyo

@rustbot
Copy link
Collaborator

rustbot commented Dec 29, 2025

This PR changes how GCC is built. Consider updating src/bootstrap/download-ci-gcc-stamp.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Dec 29, 2025
@Kobzol
Copy link
Member Author

Kobzol commented Dec 29, 2025

@bors try jobs=dist-x86_64-linux

rust-bors bot added a commit that referenced this pull request Dec 29, 2025
Disable debuginfo when building GCC

try-job: dist-x86_64-linux
@rust-bors

This comment has been minimized.

@antoyo
Copy link
Contributor

antoyo commented Dec 29, 2025

Should we add --with-bug-url= here or do you plan to do it in another PR?

@Kobzol
Copy link
Member Author

Kobzol commented Dec 29, 2025

Opened #150490 for that.

@rust-bors
Copy link
Contributor

rust-bors bot commented Dec 29, 2025

☀️ Try build successful (CI)
Build commit: 127efab (127efab9a2e367592bb0121e3d57f2b58cf96465, parent: 7e7280f24bffbee05da618fb8e7420d8f788213f)

@Kobzol
Copy link
Member Author

Kobzol commented Dec 29, 2025

Hmm, it's 58.5 MiB when built on CI. Well, still much better than 400+ MiB.

@bors r=antoyo rollup

@bors
Copy link
Collaborator

bors commented Dec 29, 2025

📌 Commit 1313e95 has been approved by antoyo

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 29, 2025
bors added a commit that referenced this pull request Dec 30, 2025
…uwer

Rollup of 3 pull requests

Successful merges:

 - #150396 ([rustdoc] If line number setting is disabled, do not make line numbers take space)
 - #150489 (Disable debuginfo when building GCC)
 - #150490 (Specify bug URL when building GCC)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 1953001 into rust-lang:main Dec 30, 2025
12 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Dec 30, 2025
rust-timer added a commit that referenced this pull request Dec 30, 2025
Rollup merge of #150489 - Kobzol:gcc-no-debuginfo, r=antoyo

Disable debuginfo when building GCC

To reduce size of libgccjit.so from ~400 MiB to ~50 MiB.

r? `@antoyo`
@Kobzol Kobzol deleted the gcc-no-debuginfo branch December 30, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants