Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
11.3(EOL)
-
None
-
OS: Windows 10
VS: Visual Studio 2022(17.7.2)
Description
Repro steps:
1. git clone --recurse-submodules https://github.com/MariaDB/server.git
2. Open "x64 Native Tools Command Prompt for VS 2022"
3. Copy import_executables.cmake and cross.cmake to \server folder.
4. mkdir build_arm64
5. cd build_arm64
6. cmake -G "Visual Studio 17 2022" -A arm64 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DCMAKE_PREFIX_PATH=F:\tools\gnuwin32\bin -DWITHOUT_SERVER=ON -DIMPORT_EXECUTABLES=.\server\import_executables.cmake -DCMAKE_TOOLCHAIN_FILE=.\server\cross.cmake ..
7. msbuild /m /p:Platform=arm64 /p:Configuration=Release MariaDB.sln /t:Rebuild
*Error info:*
|
"F:\gitP\server\build_arm64\MariaDB.sln" (Rebuild target) (1) ->
|
"F:\gitP\server\build_arm64\ALL_BUILD.vcxproj.metaproj" (Rebuild target) (2) ->
|
"F:\gitP\server\build_arm64\extra\GenError.vcxproj.metaproj" (Rebuild target) (3) ->
|
"F:\gitP\server\build_arm64\extra\GenError.vcxproj" (Rebuild target) (122) ->
|
(CustomBuild target) ->
|
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): error MSB8066: Custom build for 'F:\gitP\server\build_arm64\CMakeFiles\2063d0f4b95f7ec35589a07d0ac970fb\mysqld_error.h.tmp.rule;F:\gitP\server\build_arm64\CMakeFiles\4bebb7941980b53edaa8c4f4a2916266\GenError.rule;F:\gitP\server\extra\CMakeLists.txt' exited with code 3. [F:\gitP\server\build_arm64\extra\GenError.vcxproj]
|
|
|
"F:\gitP\server\build_arm64\MariaDB.sln" (Rebuild target) (1) ->
|
"F:\gitP\server\build_arm64\ALL_BUILD.vcxproj.metaproj" (Rebuild target) (2) ->
|
"F:\gitP\server\build_arm64\unittest\mysys\aes-t.vcxproj.metaproj" (Rebuild target) (7) ->
|
"F:\gitP\server\build_arm64\dbug\dbug.vcxproj.metaproj" (Rebuild target) (8) ->
|
"F:\gitP\server\build_arm64\strings\strings.vcxproj.metaproj" (Rebuild target) (9) ->
|
"F:\gitP\server\build_arm64\mysys\mysys.vcxproj.metaproj" (Rebuild target) (10) ->
|
"F:\gitP\server\build_arm64\strings\GenUnicodeDataSource.vcxproj.metaproj" (Rebuild target) (11) ->
|
"F:\gitP\server\build_arm64\strings\GenUnicodeDataSource.vcxproj" (Rebuild target) (124) ->
|
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): error MSB8066: Custom build for 'F:\gitP\server\build_arm64\CMakeFiles\8186c3645bb3b42ff691fd0d0f5a1e5c\ctype-uca1400data.h.rule;F:\gitP\server\build_arm64\CMakeFiles\69538b2d008a4940d9c1672cb70131b2\GenUnicodeDataSource.rule;F:\gitP\server\strings\CMakeLists.txt' exited with code 3. [F:\gitP\server\build_arm64\strings\GenUnicodeDataSource.vcxproj]
|
|
|
"F:\gitP\server\build_arm64\MariaDB.sln" (Rebuild target) (1) ->
|
"F:\gitP\server\build_arm64\ALL_BUILD.vcxproj.metaproj" (Rebuild target) (2) ->
|
"F:\gitP\server\build_arm64\scripts\GenFixPrivs.vcxproj.metaproj" (Rebuild target) (4) ->
|
"F:\gitP\server\build_arm64\scripts\GenFixPrivs.vcxproj" (Rebuild target) (125) ->
|
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): error MSB8066: Custom build for 'F:\gitP\server\build_arm64\CMakeFiles\d697fe595eaf5283e987fce47d1bc414\mariadb_fix_privilege_tables_sql.c.rule;F:\gitP\server\build_arm64\CMakeFiles\dcf6a1e5c7529bdb4636e4f0605047a1\GenFixPrivs.rule;F:\gitP\server\scripts\CMakeLists.txt' exited with code 3. [F:\gitP\server\build_arm64\scripts\GenFixPrivs.vcxproj]
|
Attachments
Issue Links
- duplicates
-
MDEV-25870 Windows - Fix cross-compilation for ARM64
- Closed