Narendrabrsoft / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

-DLIBYUV_DISABLE_X86=1 build #566

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Enable -DLIBYUV_DISABLE_X86=1 in libyuv.gyp and libyuv_test.gyp
Do build

On linux the msan build has the following link errors
hromium/src/third_party/libjpeg_turbo/libjpeg_turbo.a -Wl,--end-group  -Llib/
./unit_test/math_test.cc:30: error: undefined reference to 'FixedDiv_X86'
./unit_test/math_test.cc:31: error: undefined reference to 'FixedDiv_X86'
./unit_test/math_test.cc:36: error: undefined reference to 'FixedDiv_X86'
./unit_test/math_test.cc:37: error: undefined reference to 'FixedDiv_X86'
./unit_test/math_test.cc:142: error: undefined reference to 'FixedDiv1_X86'
./unit_test/planar_test.cc:1364: error: undefined reference to 
'ARGBAffineRow_SSE2'
./unit_test/planar_test.cc:1371: error: undefined reference to 
'ARGBAffineRow_SSE2'
./unit_test/planar_test.cc:1402: error: undefined reference to 'SobelXRow_SSE2'
./unit_test/planar_test.cc:1439: error: undefined reference to 'SobelYRow_SSE2'
./unit_test/planar_test.cc:1483: error: undefined reference to 'SobelRow_SSE2'
./unit_test/planar_test.cc:1521: error: undefined reference to 
'SobelToPlaneRow_SSE2'
./unit_test/planar_test.cc:1561: error: undefined reference to 'SobelXYRow_SSE2'
g: error: linker command failed with exit code 1 (use -v to see invocation)

Original issue reported on code.google.com by fbarch...@google.com on 9 Feb 2016 at 12:02

GoogleCodeExporter commented 8 years ago
The following revision refers to this bug:
  https://chromium.googlesource.com/libyuv/libyuv.git/+/fc2adcfa4287c0017f6966b21286c7bc4e614ffb

commit fc2adcfa4287c0017f6966b21286c7bc4e614ffb
Author: Frank Barchard <fbarchard@google.com>
Date: Tue Feb 09 18:51:20 2016

fix for msan builds which set -DLIBYUV_DISABLE_X86=1

TBR=harryjin@google.com
BUG=libyuv:566

Review URL: https://codereview.chromium.org/1673313003 .

[modify] 
http://crrev.com/fc2adcfa4287c0017f6966b21286c7bc4e614ffb/README.chromium
[modify] 
http://crrev.com/fc2adcfa4287c0017f6966b21286c7bc4e614ffb/include/libyuv/compare
_row.h
[modify] 
http://crrev.com/fc2adcfa4287c0017f6966b21286c7bc4e614ffb/include/libyuv/version
.h

Original comment by bugdroid1@chromium.org on 9 Feb 2016 at 6:51

GoogleCodeExporter commented 8 years ago

Original comment by fbarch...@google.com on 9 Feb 2016 at 6:54