#6741 closed Feature Requests (fixed)
Compile with VC11 arm
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
Description
VC11 supports ARM compiler. However, the <architecture> of msvc toolset contains only x86, x64, and ia64. Could ARM arch be added?
Change History (8)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Also, boost/boost/intrusive/detail/mpl.hpp needs to be patched
diff -r 8cbd36d620d8 boost/boost/intrusive/detail/mpl.hpp --- a/boost/boost/intrusive/detail/mpl.hpp Thu Mar 29 19:35:34 2012 +0800 +++ b/boost/boost/intrusive/detail/mpl.hpp Fri Mar 30 14:30:47 2012 +0800 @@ -130,7 +130,7 @@
#define BOOST_INTRUSIVE_TT_DECL #endif
-#if defined(_MSC_EXTENSIONS) && !defined(BORLAND) && !defined(_WIN64) +#if defined(_MSC_EXTENSIONS) && !defined(BORLAND) && !defined(_WIN64) && !defined(_M_ARM)
#define BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS #endif
comment:3 by , 10 years ago
Component: | Building Boost → build |
---|---|
Owner: | set to |
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
boost/detail/endian.hpp and boost/intrusive/detail/mpl.hpp have been fixed already.
comment:6 by , 10 years ago
after applying patches over 1.53 release we see some linkage problems
msvc.archive bin.v2\libs\date_time\build\msvc-11.0\debug\architecture-arm\link-static\runtime-link-static\threading-multi\libboost_date_time-vc110-mt-sgd-1_53.lib The filename, directory name, or volume label syntax is incorrect.
procmon shows that during the build some names are indeed invalid, for example:
5:33:12.8545613 PM cmd.exe 8796 CreateFile D:\out:bin.v2\libs\date_time\build\msvc-11.0\release\architecture-arm\link-static\runtime-link-static\threading-multi\ NAME INVALID Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
follow-up: 8 comment:7 by , 10 years ago
I'm guessing that the path is too long. Try building with --hash.
comment:8 by , 10 years ago
Replying to steven_watanabe:
I'm guessing that the path is too long. Try building with --hash.
--hash did not fix that
"D:\out:bin.v2\..." is incorrect path Under Win32 ':' symbol is reserved and used to reference file streams (AFAIK)..
Another example \"\ in the middle of the path:
5:33:12.6374709 PM cmd.exe 9000 QueryOpen D:\Code\3rdParty\boost_1_53_0\"bin.v2\libs\date_time\build\msvc-11.0\release\architecture-arm\link-static\runtime-link-static\threading-multi\gregorian\greg_weekday.obj.rsp" NAME INVALID
I tried for a couple times and it works. The patch looks like this. endian.hpp and msvc.jam are modified.