Changes between Initial Version and Version 1 of Ticket #26475, comment 48


Ignore:
Timestamp:
Oct 16, 2018, 7:39:26 AM (12 months ago)
Author:
gk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26475, comment 48

    initial v1  
    1 I have a patch that sets `codegen-units` to `1` which seems the way to disably Thin LTO. Alas, there is no direct option for disabling LTO yet in 1.26.1. Moreover, using the `--set` configure option to adjust the `codegen-units` does not seem to work as the value gets interpreted as a string but we need an integer. So, I resorted to good ol' `sed`.
     1I have a patch that sets `codegen-units` to `1` which seems the way to disable Thin LTO. Alas, there is no direct option for disabling LTO yet in 1.26.1. Moreover, using the `--set` configure option to adjust the `codegen-units` does not seem to work as the value gets interpreted as a string but we need an integer. So, I resorted to good ol' `sed`.
    22
    33I made some testbuilds and tested the compiler against the adapted script from https://github.com/rust-lang/rust/issues/52044#issuecomment-402349038 and I got matching builds and the script is happy now.