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

Issue 1979373002: Build libjpeg_turbo in PIC mode for ia32 and x64 builds. (Closed)

Created:
4 years, 7 months ago by kjellander_chromium
Modified:
4 years, 7 months ago
Reviewers:
fbarchard, fbarchard1
CC:
chromium-reviews, magjed_chromium
Base URL:
https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Build libjpeg_turbo in PIC mode for ia32 and x64 builds. Corresponds to the changes for GN in https://codereview.chromium.org/1954903002/ This fixes the 'shared library text segment is not shareable' error observed on Android x86 Builder (dbg) bot. BUG=610145 TBR=fbarchard@chromium.org Committed: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo/+/7260e4d8b8e1e40b17f03fafdf1cd83296900f76

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added for x64 as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M libjpeg.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
kjellander_chromium
Frank, do you know this code? I don't even know what PIC does, but this ...
4 years, 7 months ago (2016-05-16 19:19:02 UTC) #2
fbarchard1
-fpic means position independent code. it mainly impacts code that refers to static global variables, ...
4 years, 7 months ago (2016-05-16 21:49:09 UTC) #4
kjellander_chromium
On 2016/05/16 21:49:09, fbarchard1 wrote: > -fpic means position independent code. > it mainly impacts ...
4 years, 7 months ago (2016-05-17 08:24:23 UTC) #5
kjellander_chromium
+CC magjed
4 years, 7 months ago (2016-05-17 08:24:44 UTC) #6
fbarchard1
https://codereview.chromium.org/1979373002/diff/1/libjpeg.gyp File libjpeg.gyp (right): https://codereview.chromium.org/1979373002/diff/1/libjpeg.gyp#newcode272 libjpeg.gyp:272: '-D__x86_64__', suggest add '-DPIC', for x64 as well.
4 years, 7 months ago (2016-05-18 00:04:15 UTC) #7
kjellander_chromium
PTAL @ PS#2. https://codereview.chromium.org/1979373002/diff/1/libjpeg.gyp File libjpeg.gyp (right): https://codereview.chromium.org/1979373002/diff/1/libjpeg.gyp#newcode272 libjpeg.gyp:272: '-D__x86_64__', On 2016/05/18 00:04:14, fbarchard1 wrote: ...
4 years, 7 months ago (2016-05-18 04:40:18 UTC) #8
kjellander_chromium
TBRing fbarchard since this doesn't change anything until rolled in (to Chromium/WebRTC DEPS etc).
4 years, 7 months ago (2016-05-18 05:28:29 UTC) #11
kjellander_chromium
Committed patchset #2 (id:20001) manually as 7260e4d8b8e1e40b17f03fafdf1cd83296900f76 (presubmit successful).
4 years, 7 months ago (2016-05-18 05:30:04 UTC) #15
fbarchard1
4 years, 7 months ago (2016-05-18 21:26:50 UTC) #16
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698