Summary: | app-office/libreoffice - add USE=lto | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ray Griffin (rorgoroth) <rorgoroth> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | Low | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ray Griffin (rorgoroth)
2013-01-13 14:46:08 UTC
with -lto and -mergedlib you get to 6gb of mem consumed during buildtime, is such behaviour ever desired? I would say it is best to be kept to the EXTRA_ECONF variable which is designed specially for this purpose. Also you don't have to export this prior build, you can create file /etc/portage/env/tlo.conf which contains the line and ldflags/cflags settings and then just add linke like this to /etc/portage/package.env app-office/libreoffice lto.conf Let me know if such solution is enough for you or not (as I would rather close this bug as wontfix until the lto matures enough to be viable option everywhere :-)). I too noticed that large memory use, to be expected, some people may desire it if they are serious about lto and its output. I don't desire it personally. Thanks for the tip, I think I get what you mean, I use such a method for keeping the gold linker default in binutils. Anyway, I agree with WONTFIX until lto mature and that EXTRA_ECONF is sufficient for now. I was hoping for masked USE purely to be there on the back-burner and as a reminder for the future if anything :) Thanks for taking the time to test and reply. |