|
|
Created:
4 years, 2 months ago by Tom (Use chromium acct) Modified:
4 years, 2 months ago Reviewers:
Dirk Pranke CC:
chromium-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionBuild: disable CFI when LTO is disabled
Clang CFI relies on link-time optimization, so disable CFI when
allow_posix_link_time_opt = false.
http://clang.llvm.org/docs/ControlFlowIntegrity.html
This was leading to linker errors on an official build with LTO disabled,
such as:
error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table
R=dpranke@chromium.org
Committed: https://crrev.com/b2472ea7c13e04309fc6bf21c5c537071705e859
Cr-Commit-Position: refs/heads/master@{#424816}
Patch Set 1 #
Messages
Total messages: 26 (17 generated)
The CQ bit was checked by thomasanderson@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
Description was changed from ========== Build: don't use CFI when not using LTO Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org ========== to ========== Build: don't use CFI when not using LTO Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build with LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org ==========
The CQ bit was checked by thomasanderson@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by thomasanderson@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by thomasanderson@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Build: don't use CFI when not using LTO Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build with LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org ========== to ========== Build: disable CFI when LTO is disabled Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build with LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org ==========
The CQ bit was checked by thomasanderson@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Build: disable CFI when LTO is disabled Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build with LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org ========== to ========== Build: disable CFI when LTO is disabled Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build with LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== Build: disable CFI when LTO is disabled Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build with LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org ========== to ========== Build: disable CFI when LTO is disabled Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build with LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org Committed: https://crrev.com/b2472ea7c13e04309fc6bf21c5c537071705e859 Cr-Commit-Position: refs/heads/master@{#424816} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/b2472ea7c13e04309fc6bf21c5c537071705e859 Cr-Commit-Position: refs/heads/master@{#424816} |