Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Issue 2876693003: mesa: Disable support for loading libtxc_dxtn.so if msan is enabled. (Closed)

Created:
3 years, 7 months ago by pcc1
Modified:
3 years, 7 months ago
Reviewers:
Nico, Stephen White
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

mesa: Disable support for loading libtxc_dxtn.so if msan is enabled. The libtxc_dxtn.so library supports loading textures in S3TC format. This change disables code in mesa that loads libtxc_dxtn.so if msan is enabled, as the library will be loaded from a system directory, which may cause spurious msan reports because msan expects most libraries in the process to be compiled with msan. For some reason, msan only appears to break when compiling with -Os, as revealed by a recent attempt [0] to enable -Os on Linux and Mac. [0] https://codereview.chromium.org/2864383003/ BUG=660216 R=senorblanco@chromium.org,thakis@chromium.org Review-Url: https://codereview.chromium.org/2876693003 Cr-Commit-Position: refs/heads/master@{#471045} Committed: https://chromium.googlesource.com/chromium/src/+/97b99808511f8918d00add266a8555ba5e21813c

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M third_party/mesa/BUILD.gn View 1 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
pcc1
3 years, 7 months ago (2017-05-11 05:22:15 UTC) #1
Stephen White
LGTM
3 years, 7 months ago (2017-05-11 15:01:46 UTC) #6
Nico
lgtm, but: https://codereview.chromium.org/2876693003/diff/1/third_party/mesa/BUILD.gn File third_party/mesa/BUILD.gn (right): https://codereview.chromium.org/2876693003/diff/1/third_party/mesa/BUILD.gn#newcode118 third_party/mesa/BUILD.gn:118: defines += [ "USE_EXTERNAL_DXTN_LIB=0" ] Add comment ...
3 years, 7 months ago (2017-05-11 15:05:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2876693003/20001
3 years, 7 months ago (2017-05-11 17:19:15 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/97b99808511f8918d00add266a8555ba5e21813c
3 years, 7 months ago (2017-05-11 19:35:42 UTC) #13
pcc1
3 years, 7 months ago (2017-05-15 19:56:09 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2879373002/ by pcc@chromium.org.

The reason for reverting is: Large number of perf regressions on mac.

BUG=722473.

Powered by Google App Engine
This is Rietveld 408576698