|
Boost-Build : |
From: Lauren.Simmons01_at_[hidden]
Date: 2022-12-06 18:07:19
Can I please be removed from this distro list? Thanks!
Lauren Simmons, MSIT
Sr. Assoc, Application Development
CHQ | L3HARRIS Technologies
L3Harris.com<http://www.l3harris.com/> / Lauren.Simmons01_at_[hidden]<mailto:Lauren.Simmons01_at_[hidden]>
10807 New Allegiance Drive, Suite 150
Colorado Springs, CO 80921
[cid:image001.png_at_01D90962.E747AEE0]<https://www.l3harris.com/>
From: Boost-build <boost-build-bounces_at_[hidden]> On Behalf Of Jonas Vautherin via Boost-build
Sent: Thursday, August 18, 2022 2:59 AM
To: boost-build_at_[hidden]
Cc: Jonas Vautherin <jonas.vautherin_at_[hidden]>
Subject: [MARKETING] [Boost-build] Cross-compiling for Android
WARNING: Email originated from an EXTERNAL source. Do NOT click links, open attachments or reply unless you recognize sender and know the content is safe.
Good morning!
I am trying to cross-compile Boost for Android, from a Dockcross container (i.e. it has the environment variables `AS`, `AR`, `CC`, `CXX`, `LD` set to the toolchain) by running the following commands:
$ ./bootstrap.sh
$ ./b2 architecture=arm address-model=32 binary-format=elf abi=aapcs target-os=android
My hope is that I don't need a `user-config.jam`, given that I pass everything to `./b2`.
However, I am getting the errors looking like below:
```
"g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/gcc-10/release/abi-aapcs/address-model-32/architecture-arm/link-static/target-os-android/threading-multi/visibility-hidden/asm/jump_arm_aapcs_elf_gas.o" "libs/context/src/asm/jump_arm_aapcs_elf_gas.S"
...failed gcc.compile.asm bin.v2/libs/context/build/gcc-10/release/abi-aapcs/address-model-32/architecture-arm/link-static/target-os-android/threading-multi/visibility-hidden/asm/jump_arm_aapcs_elf_gas.o...
gcc.compile.asm bin.v2/libs/context/build/gcc-10/release/abi-aapcs/address-model-32/architecture-arm/link-static/target-os-android/threading-multi/visibility-hidden/asm/ontop_arm_aapcs_elf_gas.o
ontop_arm_aapcs_elf_gas.S: Assembler messages:
ontop_arm_aapcs_elf_gas.S:46: Error: unknown pseudo-op: `.syntax'
ontop_arm_aapcs_elf_gas.S:48: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:49: Error: invalid char '{' beginning operand 1 `{lr}'
ontop_arm_aapcs_elf_gas.S:50: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:51: Error: invalid char '{' beginning operand 1 `{a1'
ontop_arm_aapcs_elf_gas.S:53: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:54: Error: too many memory references for `sub'
ontop_arm_aapcs_elf_gas.S:60: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:61: Error: too many memory references for `mov'
ontop_arm_aapcs_elf_gas.S:63: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:64: Error: too many memory references for `mov'
ontop_arm_aapcs_elf_gas.S:66: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:67: Error: too many memory references for `mov'
ontop_arm_aapcs_elf_gas.S:73: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:74: Error: too many memory references for `add'
ontop_arm_aapcs_elf_gas.S:76: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:77: Error: invalid char '{' beginning operand 1 `{a1'
ontop_arm_aapcs_elf_gas.S:79: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:80: Error: invalid char '[' beginning operand 2 `[a1'
ontop_arm_aapcs_elf_gas.S:81: Error: invalid char '[' beginning operand 2 `[a1'
ontop_arm_aapcs_elf_gas.S:82: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:83: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:85: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:86: Error: too many memory references for `add'
ontop_arm_aapcs_elf_gas.S:88: Error: junk at end of line, first unrecognized character is `@'
ontop_arm_aapcs_elf_gas.S:89: Error: no such instruction: `bx a4'
ontop_arm_aapcs_elf_gas.S:92: Error: junk at end of line, first unrecognized character is `@'
```
What am I missing?
Best Regards,
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk