-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hello,
I have compilation error when running ./pcl-build-for-android.sh arm64-v8a. For armeabi-v7a and x86_64 it's working well.
The error occurs when compiling boost. You can see a part of the error log below. This might be related to boostorg/context#5 but I don't think because it's fixed since a while.
I am using the exact versions of boost and conan that are described in Readme. I am running this on MacOS.
The error log :
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: bin.v2/libs/container/build/clng-drwn-andrd/rls/lnk-sttc/trgt-os-andrd/thrd-mlt/vsblt-hdn/libboost_container.a the table of contents is empty (no object file members in the library define global symbols)
common.copy /Users/thomas/.conan/data/boost/1.70.0/bashbug/stable/build/837b8b15700337e070bce7d978d7be2a5fc61d31/boost_1_70_0/armv8/lib/libboost_container.a
clang-darwin.compile.asm bin.v2/libs/context/build/clng-drwn-andrd/rls/abi-apcs/lnk-sttc/trgt-os-andrd/thrd-mlt/vsblt-hdn/asm/make_arm64_aapcs_macho_gas.o
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:59:21: error: unexpected token in argument list
; shift address in x0 (allocated stack) to lower 16 byte boundary
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:62:21: error: unexpected token in argument list
; reserve space for context-data on context-stack
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:65:17: error: unexpected token in argument list
; third arg of make_fcontext() == address of context-function
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:66:21: error: unexpected token in argument list
; store address as a PC to jump in
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:69:19: error: unexpected token in argument list
; compute abs address of label finish
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:70:7: error: unexpected token at start of statement
; 0x0c = 3 instructions * size (4) before label 'finish'
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:72:28: error: unexpected token in argument list
; TODO: Numeric offset since llvm still does not support labels in ADR. Fix:
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:76:20: error: unexpected token in argument list
; save address of finish as return-address for context-function
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:77:15: error: unexpected token in argument list
; will be entered after context-function returns (LR register)
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:80:29: error: unexpected token in argument list
ret lr ; return pointer to context-data (x0)
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:83:17: error: unexpected token in argument list
; exit code is zero
^
libs/context/src/asm/make_arm64_aapcs_macho_gas.S:85:7: error: unrecognized instruction mnemonic, did you mean: ext, extr?
; exit application
Thank you for your work
Metadata
Metadata
Assignees
Labels
No labels