Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 472684 Details for
Bug 618392
www-client/firefox-52.1, mail-client/thunderbird-52.1 : LTO error: unrecognized command line option ‘--param lto-partitions=1’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
moz.build patch to build with LTO
0001_fix-lto-build.patch (text/plain), 1.70 KB, created by
Steffen Hau
on 2017-05-15 19:54:11 UTC
(
hide
)
Description:
moz.build patch to build with LTO
Filename:
MIME Type:
Creator:
Steffen Hau
Created:
2017-05-15 19:54:11 UTC
Size:
1.70 KB
patch
obsolete
>diff -Naur a/mozilla/ipc/app/moz.build b/ipc/app/moz.build >--- a/mozilla/ipc/app/moz.build 2016-06-01 12:11:45.000000000 +0800 >+++ b/ipc/app/moz.build 2016-06-30 13:38:44.418231590 +0800 >@@ -85,7 +85,7 @@ > # from the function using it which breaks the build. Work around that by > # forcing there to be only one partition. > if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']: >- LDFLAGS += ['--param lto-partitions=1'] >+ LDFLAGS += ['--lto-partition=one'] > > if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_TARGET'] == 'Darwin': > # For sandbox includes and the include dependencies those have >diff -Naur a/mozilla/ipc/app/pie/moz.build b/ipc/app/pie/moz.build >--- a/mozilla/ipc/app/pie/moz.build 2016-05-13 01:13:13.000000000 +0800 >+++ b/ipc/app/pie/moz.build 2016-06-30 13:38:31.791619842 +0800 >@@ -25,7 +25,7 @@ > # from the function using it which breaks the build. Work around that by > # forcing there to be only one partition. > if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']: >- LDFLAGS += ['--param lto-partitions=1'] >+ LDFLAGS += ['--lto-partition=one'] > > LDFLAGS += ['-pie'] > >diff -Naur a/mozilla/security/sandbox/linux/moz.build b/security/sandbox/linux/moz.build >--- a/mozilla/security/sandbox/linux/moz.build 2016-06-01 12:11:46.000000000 +0800 >+++ b/security/sandbox/linux/moz.build 2016-06-30 13:38:52.561530457 +0800 >@@ -79,7 +79,7 @@ > # from the function using it which breaks the build. Work around that by > # forcing there to be only one partition. > if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']: >- LDFLAGS += ['--param lto-partitions=1'] >+ LDFLAGS += ['--lto-partition=one'] > > DEFINES['NS_NO_XPCOM'] = True > DISABLE_STL_WRAPPING = True
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 618392
:
472514
|
472516
| 472684