yzhikan / libyuv

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

ios build breakage #420

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[8/18] CC obj/util/cpuid.cpuid.o
[9/18] CXX obj/unit_test/libyuv_unittest.math_test.o
FAILED: /Volumes/data/b/build/goma/gomacc 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF 
obj/source/libyuv_neon.scale_neon.o.d -DV8_DEPRECATION_WARNINGS -DDISABLE_NACL 
-DCHROMIUM_BUILD -DCR_CLANG_REVISION=223108 -DUSE_LIBJPEG_TURBO=1 
-DENABLE_CONFIGURATION_POLICY -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY 
-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DDONT_EMBED_BUILD_METADATA 
-DDCHECK_ALWAYS_ON=1 -DCLD_VERSION=2 -DDISABLE_FTP_SUPPORT=1 -DUSE_LIBPCI=1 
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen 
-I../../include -I../.. -isysroot 
/Applications/Xcode6.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Develo
per/SDKs/iPhoneOS8.1.sdk -O0 -fvisibility=hidden -Wnewline-eof 
-miphoneos-version-min=7.0 -arch armv7 -Wendif-labels -Wno-unused-parameter 
-Wno-missing-field-initializers -Wno-selector-type-mismatch -Wheader-hygiene 
-Wno-char-subscripts -Wno-unneeded-internal-declaration 
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing 
-Wno-deprecated-register -Wno-inconsistent-missing-override -std=c++11 
-stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden 
-fno-threadsafe-statics -Xclang -load -Xclang 
/Volumes/data/b/build/slave/mac32/build/src/third_party/llvm-build/Release+Asser
ts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang 
find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang 
check-weak-ptr-factory-order -Xclang -plugin-arg-find-bad-constructs -Xclang 
strict-virtual-specifiers -fcolor-diagnostics -fstack-protector-all 
-Wno-undefined-bool-conversion -Wno-tautological-undefined-compare  -c 
../../source/scale_neon.cc -o obj/source/libyuv_neon.scale_neon.o
../../source/scale_neon.cc:935:5: error: expected immediate or register in 
shift operand
    LOAD1_DATA32_LANE(d0, 0)
    ^
../../source/scale_neon.cc:923:6: note: expanded from macro 'LOAD1_DATA32_LANE'
    "add        %6, %1, %5, lsl 2              \n"             \
     ^
<inline asm>:4:29: note: instantiated into assembly here
add        lr, r1, r12, lsl 2              
                            ^
../../source/scale_neon.cc:936:5: error: expected immediate or register in 
shift operand
    LOAD1_DATA32_LANE(d0, 1)
    ^
../../source/scale_neon.cc:923:6: note: expanded from macro 'LOAD1_DATA32_LANE'
    "add        %6, %1, %5, lsl 2              \n"             \
     ^
<inline asm>:8:29: note: instantiated into assembly here
add        lr, r1, r12, lsl 2              
                            ^
../../source/scale_neon.cc:937:5: error: expected immediate or register in 
shift operand
    LOAD1_DATA32_LANE(d1, 0)
    ^
../../source/scale_neon.cc:923:6: note: expanded from macro 'LOAD1_DATA32_LANE'
    "add        %6, %1, %5, lsl 2              \n"             \
     ^
<inline asm>:12:29: note: instantiated into assembly here
add        lr, r1, r12, lsl 2              
                            ^
../../source/scale_neon.cc:938:5: error: expected immediate or register in 
shift operand
    LOAD1_DATA32_LANE(d1, 1)
    ^
../../source/scale_neon.cc:923:6: note: expanded from macro 'LOAD1_DATA32_LANE'
    "add        %6, %1, %5, lsl 2              \n"             \
     ^
<inline asm>:16:29: note: instantiated into assembly here
add        lr, r1, r12, lsl 2              
                            ^
../../source/scale_neon.cc:939:5: error: expected immediate or register in 
shift operand
    LOAD1_DATA32_LANE(d2, 0)
    ^
../../source/scale_neon.cc:923:6: note: expanded from macro 'LOAD1_DATA32_LANE'
    "add        %6, %1, %5, lsl 2              \n"             \
     ^
<inline asm>:20:29: note: instantiated into assembly here
add        lr, r1, r12, lsl 2              
                            ^
../../source/scale_neon.cc:940:5: error: expected immediate or register in 
shift operand
    LOAD1_DATA32_LANE(d2, 1)
    ^
../../source/scale_neon.cc:923:6: note: expanded from macro 'LOAD1_DATA32_LANE'
    "add        %6, %1, %5, lsl 2              \n"             \
     ^
<inline asm>:24:29: note: instantiated into assembly here
add        lr, r1, r12, lsl 2              
                            ^
../../source/scale_neon.cc:941:5: error: expected immediate or register in 
shift operand
    LOAD1_DATA32_LANE(d3, 0)
    ^
../../source/scale_neon.cc:923:6: note: expanded from macro 'LOAD1_DATA32_LANE'
    "add        %6, %1, %5, lsl 2              \n"             \
     ^
<inline asm>:28:29: note: instantiated into assembly here
add        lr, r1, r12, lsl 2              
                            ^
../../source/scale_neon.cc:942:5: error: expected immediate or register in 
shift operand
    LOAD1_DATA32_LANE(d3, 1)
    ^
../../source/scale_neon.cc:923:6: note: expanded from macro 'LOAD1_DATA32_LANE'
    "add        %6, %1, %5, lsl 2              \n"             \
     ^
<inline asm>:32:29: note: instantiated into assembly here
add        lr, r1, r12, lsl 2              
                            ^
8 errors generated.
ninja: build stopped: subcommand failed.

/Volumes/data/b/build/goma/goma_ctl.sh stat
request: total=9 success=7 failure=1

Original issue reported on code.google.com by fbarch...@chromium.org on 1 Apr 2015 at 2:04

GoogleCodeExporter commented 9 years ago
nacl arm build also broken
d:/src/nacl_sdk/pepper_canary/toolchain/win_arm_newlib/bin/arm-nacl-g++ -o 
newlib/Release/source/scale_neon_arm.o -c source/scale_neon.cc -g -O2 -pthread 
-MMD -
DNDEBUG  -Id:/src/nacl_sdk/pepper_canary/include 
-Id:/src/nacl_sdk/pepper_canary/include/newlib  -I./include
d:\src\tmp\cct0gHwC.s: Assembler messages:
d:\src\tmp\cct0gHwC.s:1262: Error: shift expression expected -- `add 
r4,r1,lr,lsl 2'
d:\src\tmp\cct0gHwC.s:1268: Error: shift expression expected -- `add 
r4,r1,lr,lsl 2'
d:\src\tmp\cct0gHwC.s:1274: Error: shift expression expected -- `add 
r4,r1,lr,lsl 2'
d:\src\tmp\cct0gHwC.s:1280: Error: shift expression expected -- `add 
r4,r1,lr,lsl 2'
d:\src\tmp\cct0gHwC.s:1286: Error: shift expression expected -- `add 
r4,r1,lr,lsl 2'
d:\src\tmp\cct0gHwC.s:1292: Error: shift expression expected -- `add 
r4,r1,lr,lsl 2'
d:\src\tmp\cct0gHwC.s:1298: Error: shift expression expected -- `add 
r4,r1,lr,lsl 2'
d:\src\tmp\cct0gHwC.s:1304: Error: shift expression expected -- `add 
r4,r1,lr,lsl 2'
Makefile:104: recipe for target 'newlib/Release/source/scale_neon_arm.o' failed
make: *** [newlib/Release/source/scale_neon_arm.o] Error 1

Original comment by fbarch...@chromium.org on 3 Apr 2015 at 10:26

GoogleCodeExporter commented 9 years ago
fixed in r1356

Original comment by fbarch...@chromium.org on 3 Apr 2015 at 11:30