Opened 8 months ago

Last modified 8 months ago

#31860 new enhancement

Start using LTO for firefox project

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-rbm
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


There are a number of platforms where Mozilla is using LTO in their builds. We should switch to that if possible by setting the respective MOZ_LTO env variable.

This is the parent ticket.

We might want to test this thoroughly as there are probably reproducibility issues involved (glandium mentioned the other day that Mozilla's macOS builds are not reproducible anymore which is not the case for us; the best explanation he could come up with was that LTO is causing that).

Child Tickets

Change History (2)

comment:1 Changed 8 months ago by gk

Oh, and we got bitten by enabling some kind of LTO in the past, see: #26475. So, we should be extra careful here.

comment:2 Changed 8 months ago by cypherpunks

LTO is required by CFI.

Note: See TracTickets for help on using tickets.