nmosier / 86x64 Goto Github PK
View Code? Open in Web Editor NEWConvert 32-bit x86 programs to 64-bit x86-64 on macOS.
Convert 32-bit x86 programs to 64-bit x86-64 on macOS.
After applying fixes from #3, file libinterpose.dylib
was build. However, out-of-source build still fails. Re-run with make VERBOSE=1
:
[ 18%] Built target syscall_tabgen
/Library/Developer/CommandLineTools/usr/bin/make -f tests/CMakeFiles/file-O0.dir/build.make tests/CMakeFiles/file-O0.dir/depend
cd /tmp/86x64/build && /usr/local/Cellar/cmake/3.24.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/86x64 /tmp/86x64/tests /tmp/86x64/build /tmp/86x64/build/tests /tmp/86x64/build/tests/CMakeFiles/file-O0.dir/DependInfo.cmake --color=
/Library/Developer/CommandLineTools/usr/bin/make -f tests/CMakeFiles/file-O0.dir/build.make tests/CMakeFiles/file-O0.dir/build
[ 18%] Generating file-O0-32.o
cd /tmp/86x64/build/tests && cc -O0 -fno-stack-protector -fno-stack-check -c -m32 -o file-O0-32.o file.c
clang: error: no such file or directory: 'file.c'
clang: error: no input files
make[2]: *** [tests/file-O0-32.o] Error 1
make[1]: *** [tests/CMakeFiles/file-O0.dir/all] Error 2
It seems that build scripts attempted to search test files in directory build
instead of directory tests
in top-level.
[MBUILD WARNING] Command execution failed. Waiting for remaining jobs and exiting.
[COMMAND ] PYTHON FN: _remove_libname ;;;; llvm-ar rcv obj/libxed-ild.a obj/xed-init-ild.o obj/xed-ild-support.o obj/xed-ild.o obj/xed-ild-extension.o obj/xed-chip-features.o obj/xed-isa-set.o obj/xed-chip-modes.o obj/xed-chip-modes-override.o obj/xed-chip-features-table.o obj/xed-ild-disp-l3.o obj/xed-ild-eosz.o obj/xed-ild-easz.o obj/xed-ild-imm-l3.o obj/xed-error-enum.o
[ARGS ] ['obj/libxed-ild.a']
[ENV ] some env
[EXIT_STATUS ] 399
[OUTPUT]
REMOVED obj/libxed-ild.a
[STDERR]
COMMAND ENCOUNTERD AN EXCEPTION
Traceback (most recent call last):
File "/Users/dflbv/Downloads/86x64/build/extern/xed/src/xed/../mbuild/mbuild/util.py", line 1049, in run
self.sub = subprocess.Popen(cmd_args,
File "/Users/dflbv/.pyenv/versions/3.9.12/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/dflbv/.pyenv/versions/3.9.12/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'llvm-ar'
ABORT: Library build failed
make[2]: *** [extern/xed/src/xed-stamp/xed-build] Error 1
make[1]: *** [extern/CMakeFiles/xed.dir/all] Error 2
make: *** [all] Error 2
Full output:
Downloads λ git clone https://github.com/nmosier/86x64.git && cd 86x64
Cloning into '86x64'...
remote: Enumerating objects: 3962, done.
remote: Counting objects: 100% (61/61), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 3962 (delta 25), reused 40 (delta 18), pack-reused 3901
Receiving objects: 100% (3962/3962), 3.23 MiB | 4.79 MiB/s, done.
Resolving deltas: 100% (2851/2851), done.
86x64:master λ mkdir build && cd build
build:master λ cmake ..
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM_NASM compiler identification is NASM
-- Found assembler: /usr/local/bin/nasm
-- Found Python3: /usr/local/Frameworks/Python.framework/Versions/3.10/bin/python3.10 (found version "3.10.12") found components: Interpreter
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libffi.tbd
-- Performing Test Terminfo_LINKABLE
-- Performing Test Terminfo_LINKABLE - Success
-- Found Terminfo: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libcurses.tbd
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libz.tbd (found version "1.2.11")
-- Found zstd: /usr/local/lib/libzstd.dylib
-- Found LibXml2: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libxml2.tbd (found version "2.9.4")
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dflbv/Downloads/86x64/build
build:master* λ make
[ 0%] Creating directories for 'mbuild'
[ 0%] Performing download step (git clone) for 'mbuild'
Cloning into 'mbuild'...
Already on 'main'
Your branch is up to date with 'origin/main'.
[ 0%] Performing update step for 'mbuild'
HEAD is now at 75cb46e External Release v2022.07.28
[ 1%] No patch step for 'mbuild'
[ 1%] No configure step for 'mbuild'
[ 2%] No build step for 'mbuild'
[ 2%] No install step for 'mbuild'
[ 2%] Completed 'mbuild'
[ 2%] Built target mbuild
[ 2%] Creating directories for 'xed'
[ 2%] Performing download step (git clone) for 'xed'
Cloning into 'xed'...
Already on 'main'
Your branch is up to date with 'origin/main'.
[ 3%] Performing update step for 'xed'
HEAD is now at 4dc7713 External Release v2023.06.07
[ 3%] No patch step for 'xed'
[ 4%] No configure step for 'xed'
[ 4%] Performing build step for 'xed'
[CLANG VERSION] 13.1.6
[MBUILD WARNING] Command execution failed. Waiting for remaining jobs and exiting.
[COMMAND ] PYTHON FN: _remove_libname ;;;; llvm-ar rcv obj/libxed-ild.a obj/xed-init-ild.o obj/xed-ild-support.o obj/xed-ild.o obj/xed-ild-extension.o obj/xed-chip-features.o obj/xed-isa-set.o obj/xed-chip-modes.o obj/xed-chip-modes-override.o obj/xed-chip-features-table.o obj/xed-ild-disp-l3.o obj/xed-ild-eosz.o obj/xed-ild-easz.o obj/xed-ild-imm-l3.o obj/xed-error-enum.o
[ARGS ] ['obj/libxed-ild.a']
[ENV ] some env
[EXIT_STATUS ] 399
[OUTPUT]
REMOVED obj/libxed-ild.a
[STDERR]
COMMAND ENCOUNTERD AN EXCEPTION
Traceback (most recent call last):
File "/Users/dflbv/Downloads/86x64/build/extern/xed/src/xed/../mbuild/mbuild/util.py", line 1049, in run
self.sub = subprocess.Popen(cmd_args,
File "/Users/dflbv/.pyenv/versions/3.9.12/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/dflbv/.pyenv/versions/3.9.12/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'llvm-ar'
ABORT: Library build failed
make[2]: *** [extern/xed/src/xed-stamp/xed-build] Error 1
make[1]: *** [extern/CMakeFiles/xed.dir/all] Error 2
make: *** [all] Error 2
build:master* λ
I assume the problem is in Xcode. I don't have enough memory to install Xcode. I would be happy to see some experimental binaries someday in releases tab, with all my respect. While such big corporation as Apple screws their users with every new version of their system you're developing compatibility tool. You are doing unbelievable, hope it will work with a few of my apps, @nmosier please provide prebuilt 86x64 binary if it possible.
Hi !
I'm trying to compile on Mojave and I run into git checkouts problems.
CMake Error at /Users/me/86x64/build/extern/xed/tmp/mbuild-gitclone.cmake:40 (message):
Failed to checkout tag: 'master'
CMake Error at /Users/me/86x64/build/extern/xed/tmp/mbuild-gitupdate.cmake:175 (execute_process):
execute_process failed command indexes:
1: "Child return code: 1"
I then tried to git clone manually for xed and mbuild, but when I try to make I've got the following error :
[ 4%] No configure step for 'xed'
/bin/sh: line 0: cd: /Users/me/86x64/build/extern/xed/src/xed-build: No such file or directory
make[2]: *** [extern/xed/src/xed-stamp/xed-configure] Error 1
make[1]: *** [extern/CMakeFiles/xed.dir/all] Error 2
make: *** [all] Error 2
I think that external gits have changed and / or the makefile is wrong somewhere ?
Do you have any idea ?
Thanks for taking care,
Cheers !
Attempting to build on macOS Monterey with Xcode 14.1, cmake cannot locate NASM.
If Homebrew NASM is installed, cmake then throws error locating Clang configuration files:
CMake Error at src/abiconv/CMakeLists.txt:1 (find_package):
Could not find a package configuration file provided by "Clang" with any of
the following names:
ClangConfig.cmake
clang-config.cmake
Add the installation prefix of "Clang" to CMAKE_PREFIX_PATH or set
"Clang_DIR" to a directory containing one of the above files. If "Clang"
provides a separate development package or SDK, be sure it has been
installed.
dflbv@MacBook-Pro build % make
[ 0%] Creating directories for 'mbuild'
[ 0%] Performing download step (git clone) for 'mbuild'
Cloning into 'mbuild'...
Already on 'main'
Your branch is up to date with 'origin/main'.
[ 0%] Performing update step for 'mbuild'
HEAD is now at 75cb46e External Release v2022.07.28
[ 1%] No patch step for 'mbuild'
[ 1%] No configure step for 'mbuild'
[ 2%] No build step for 'mbuild'
[ 2%] No install step for 'mbuild'
[ 2%] Completed 'mbuild'
[ 2%] Built target mbuild
[ 2%] Creating directories for 'xed'
[ 2%] Performing download step (git clone) for 'xed'
Cloning into 'xed'...
Already on 'main'
Your branch is up to date with 'origin/main'.
[ 3%] Performing update step for 'xed'
HEAD is now at 9fc12ab External Release v2022.10.11
[ 3%] No patch step for 'xed'
[ 4%] No configure step for 'xed'
[ 4%] Performing build step for 'xed'
[CLANG VERSION] 13.1.6
[MBUILD WARNING] Command execution failed. Waiting for remaining jobs and exiting.
[COMMAND ] PYTHON FN: _remove_libname ;;;; llvm-ar rcv obj/libxed-ild.a obj/xed-init-ild.o obj/xed-ild-support.o obj/xed-ild.o obj/xed-ild-extension.o obj/xed-chip-features.o obj/xed-isa-set.o obj/xed-chip-modes.o obj/xed-chip-modes-override.o obj/xed-chip-features-table.o obj/xed-ild-disp-l3.o obj/xed-ild-eosz.o obj/xed-ild-easz.o obj/xed-ild-imm-l3.o
[ARGS ] ['obj/libxed-ild.a']
[ENV ] some env
[EXIT_STATUS ] 399
[OUTPUT]
REMOVED obj/libxed-ild.a
[STDERR]
COMMAND ENCOUNTERD AN EXCEPTION
Traceback (most recent call last):
File "/Users/dflbv/Downloads/Projects/86x64/build/extern/xed/src/xed/../mbuild/mbuild/util.py", line 1049, in run
self.sub = subprocess.Popen(cmd_args,
File "/Users/dflbv/.pyenv/versions/3.9.12/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/dflbv/.pyenv/versions/3.9.12/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'llvm-ar'
ABORT: Library build failed
make[2]: *** [extern/xed/src/xed-stamp/xed-build] Error 1
make[1]: *** [extern/CMakeFiles/xed.dir/all] Error 2
make: *** [all] Error 2
dflbv@MacBook-Pro build %
After install nasm
and llvm
(see #2), I fail to generate abiconv.syms
:
...
Consolidate compiler generated dependencies of target custom_conv_execvp
[ 15%] Built target custom_conv_execvp
[ 15%] Generating abiconv.syms
make[2]: *** [src/abiconv/abiconv.syms] Error 1
Then, I attempted to re-build with make VERBOSE=1
and figure out the problem resulting from the use of objdump
. Here is the proposed change against src/abiconv/print_exports_trie.sh
:
@@ -22,5 +22,5 @@ done
shift $((OPTIND-1))
for LIBPATH in "$@"; do
- objdump -exports-trie "$LIBPATH" | tr -s " " | cut -f 2 -d " " | grep "^_"
+ llvm-objdump --macho --exports-trie "$LIBPATH" | tr -s " " | cut -f 2 -d " " | grep "^_"
done
dflbv@MacBook-Pro build % make
[ 0%] Performing update step for 'mbuild'
HEAD is now at 75cb46e External Release v2022.07.28
[ 1%] No patch step for 'mbuild'
[ 1%] No configure step for 'mbuild'
[ 2%] No build step for 'mbuild'
[ 2%] No install step for 'mbuild'
[ 2%] Completed 'mbuild'
[ 2%] Built target mbuild
[ 3%] Performing update step for 'xed'
HEAD is now at 9fc12ab External Release v2022.10.11
[ 3%] No patch step for 'xed'
[ 4%] No configure step for 'xed'
[ 4%] Performing build step for 'xed'
[CLANG VERSION] 15.0.5
[ 4%] No install step for 'xed'
[ 4%] Completed 'xed'
[ 4%] Built target xed
[ 4%] Building CXX object src/core/CMakeFiles/core_objs.dir/segment.cc.o
[ 4%] Building CXX object src/core/CMakeFiles/core_objs.dir/linkedit.cc.o
[ 4%] Building CXX object src/core/CMakeFiles/core_objs.dir/lc.cc.o
[ 5%] Building CXX object src/core/CMakeFiles/core_objs.dir/dyldinfo.cc.o
[ 5%] Building CXX object src/core/CMakeFiles/core_objs.dir/util.cc.o
[ 5%] Building CXX object src/core/CMakeFiles/core_objs.dir/image.cc.o
[ 5%] Building CXX object src/core/CMakeFiles/core_objs.dir/parse.cc.o
[ 5%] Building C object src/core/CMakeFiles/core_objs.dir/leb.c.o
[ 6%] Building CXX object src/core/CMakeFiles/core_objs.dir/build.cc.o
[ 6%] Building CXX object src/core/CMakeFiles/core_objs.dir/symtab.cc.o
[ 6%] Building CXX object src/core/CMakeFiles/core_objs.dir/loc.cc.o
[ 6%] Building CXX object src/core/CMakeFiles/core_objs.dir/section.cc.o
[ 6%] Building CXX object src/core/CMakeFiles/core_objs.dir/archive.cc.o
[ 6%] Building CXX object src/core/CMakeFiles/core_objs.dir/macho.cc.o
[ 7%] Building CXX object src/core/CMakeFiles/core_objs.dir/region.cc.o
[ 7%] Building CXX object src/core/CMakeFiles/core_objs.dir/data_in_code.cc.o
[ 7%] Building CXX object src/core/CMakeFiles/core_objs.dir/section_blob.cc.o
[ 7%] Building CXX object src/core/CMakeFiles/core_objs.dir/instruction.cc.o
[ 7%] Building CXX object src/core/CMakeFiles/core_objs.dir/fat.cc.o
[ 8%] Building CXX object src/core/CMakeFiles/core_objs.dir/tweak.cc.o
[ 8%] Building CXX object src/core/CMakeFiles/core_objs.dir/rebase_info.cc.o
[ 8%] Building CXX object src/core/CMakeFiles/core_objs.dir/export_info.cc.o
[ 8%] Building CXX object src/core/CMakeFiles/core_objs.dir/opcodes.cc.o
[ 8%] Building CXX object src/core/CMakeFiles/core_objs.dir/transform.cc.o
[ 8%] Building CXX object src/core/CMakeFiles/core_objs.dir/stub_helper.cc.o
[ 9%] Building CXX object src/core/CMakeFiles/core_objs.dir/resolve.cc.o
[ 9%] Built target core_objs
[ 9%] Building CXX object src/core/CMakeFiles/test-encode.dir/test-encode.cc.o
[ 9%] Linking CXX executable test-encode
[ 9%] Built target test-encode
[ 9%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/macho-tool.cc.o
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/macho-tool.cc:53:9: warning: variable 'inplace' set but not used [-Wunused-but-set-variable]
bool inplace;
^
1 warning generated.
[ 10%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/command.cc.o
[ 10%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/util.cc.o
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:75:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
{MH_FLAG(MH_OBJECT),
^~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:75:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:76:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_EXECUTE),
^~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:76:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:77:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_FVMLIB),
^~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:77:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:78:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_CORE),
^~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:78:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:79:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_PRELOAD),
^~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:79:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:80:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_DYLIB),
^~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:80:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:81:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_DYLINKER),
^~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:81:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:82:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_BUNDLE),
^~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:82:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:83:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_DYLIB_STUB),
^~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:83:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:84:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_DSYM),
^~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:84:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:85:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_KEXT_BUNDLE),
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/util.cc:85:5: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
11 warnings generated.
[ 10%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/noop.cc.o
[ 10%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/modify.cc.o
[ 10%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/translate.cc.o
[ 11%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/tweak.cc.o
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:11:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
{MH_FLAG(MH_NOUNDEFS),
^~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:11:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:12:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_INCRLINK),
^~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:12:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:13:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_DYLDLINK),
^~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:13:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:14:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_BINDATLOAD),
^~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:14:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:15:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_PREBOUND),
^~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:15:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:16:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_SPLIT_SEGS),
^~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:16:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:17:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_LAZY_INIT),
^~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:17:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:18:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_TWOLEVEL),
^~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:18:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:19:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_FORCE_FLAT),
^~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:19:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:20:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_NOMULTIDEFS),
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:20:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:21:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_NOFIXPREBINDING),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:21:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:22:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_PREBINDABLE),
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:22:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:23:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_ALLMODSBOUND),
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:23:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:24:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_SUBSECTIONS_VIA_SYMBOLS),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:24:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:25:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_CANONICAL),
^~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:25:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:26:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_WEAK_DEFINES),
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:26:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:27:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_BINDS_TO_WEAK),
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:27:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:28:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_ALLOW_STACK_EXECUTION),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:28:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:29:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_ROOT_SAFE),
^~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:29:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:30:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_SETUID_SAFE),
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:30:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:31:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_NO_REEXPORTED_DYLIBS),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:31:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:32:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_PIE),
^~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:32:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:33:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_DEAD_STRIPPABLE_DYLIB),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:33:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:34:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_HAS_TLV_DESCRIPTORS),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:34:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:35:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_NO_HEAP_EXECUTION),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:35:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:36:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_APP_EXTENSION_SAFE),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:36:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:37:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_NLIST_OUTOFSYNC_WITH_DYLDINFO),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:37:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:38:20: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
MH_FLAG(MH_SIM_SUPPORT),
^~~~~~~~~~~~~~~~~~~~~~~
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
~~~~~~^~~
/Users/dflbv/Downloads/Projects/86x64/src/macho-tool/tweak.cc:38:20: note: use array indexing to silence this warning
/Users/dflbv/Downloads/Projects/86x64/include/macho-tool/util.hh:27:30: note: expanded from macro 'MH_FLAG'
#define MH_FLAG(flag) {#flag + 3, flag}
^
28 warnings generated.
[ 11%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/convert.cc.o
[ 11%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/modify-insert.cc.o
[ 11%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/modify-delete.cc.o
[ 11%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/modify-start.cc.o
[ 12%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/modify-update.cc.o
[ 12%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/transform.cc.o
[ 12%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/print.cc.o
[ 12%] Building CXX object src/macho-tool/CMakeFiles/macho-tool.dir/rebasify.cc.o
[ 12%] Linking CXX executable macho-tool
[ 12%] Built target macho-tool
[ 12%] Building ASM_NASM object src/86x64/CMakeFiles/wrapper.dir/wrapper.asm.o
[ 12%] Linking ASM_NASM static library libwrapper.a
[ 12%] Built target wrapper
[ 12%] Building C object src/86x64/CMakeFiles/interpose.dir/interpose.c.o
[ 12%] Linking C shared library libinterpose.dylib
[ 12%] Built target interpose
[ 12%] Building CXX object src/abiconv/CMakeFiles/abigen.dir/abigen.cc.o
[ 13%] Building CXX object src/abiconv/CMakeFiles/abigen.dir/typeinfo.cc.o
[ 13%] Building CXX object src/abiconv/CMakeFiles/abigen.dir/typeconv.cc.o
[ 13%] Building CXX object src/abiconv/CMakeFiles/abigen.dir/loc.cc.o
[ 13%] Building CXX object src/abiconv/CMakeFiles/abigen.dir/util.cc.o
[ 13%] Linking CXX executable abigen
[ 13%] Built target abigen
[ 13%] Building ASM_NASM object src/abiconv/CMakeFiles/vararg_conv_printf.dir/vararg-conv-t.asm.o
[ 13%] Built target vararg_conv_printf
[ 14%] Building ASM_NASM object src/abiconv/CMakeFiles/vararg_conv_sprintf.dir/vararg-conv-t.asm.o
[ 14%] Built target vararg_conv_sprintf
[ 14%] Building ASM_NASM object src/abiconv/CMakeFiles/vararg_conv_fprintf.dir/vararg-conv-t.asm.o
[ 14%] Built target vararg_conv_fprintf
[ 14%] Building ASM_NASM object src/abiconv/CMakeFiles/vararg_conv_snprintf.dir/vararg-conv-t.asm.o
[ 14%] Built target vararg_conv_snprintf
[ 14%] Building ASM_NASM object src/abiconv/CMakeFiles/vararg_conv_asprintf.dir/vararg-conv-t.asm.o
[ 14%] Built target vararg_conv_asprintf
[ 14%] Building ASM_NASM object src/abiconv/CMakeFiles/vararg_conv_dprintf.dir/vararg-conv-t.asm.o
[ 14%] Built target vararg_conv_dprintf
[ 15%] Building ASM_NASM object src/abiconv/CMakeFiles/vararg_conv___sprintf_chk.dir/vararg-conv-t.asm.o
[ 15%] Built target vararg_conv___sprintf_chk
[ 15%] Building ASM_NASM object src/abiconv/CMakeFiles/custom_conv_getopt.dir/getopt.asm.o
[ 15%] Built target custom_conv_getopt
[ 15%] Building ASM_NASM object src/abiconv/CMakeFiles/custom_conv_sigaction.dir/sigaction.asm.o
[ 15%] Built target custom_conv_sigaction
[ 15%] Building ASM_NASM object src/abiconv/CMakeFiles/custom_conv_execvp.dir/exec.asm.o
[ 15%] Built target custom_conv_execvp
[ 15%] Generating abiconv.syms
/Library/Developer/CommandLineTools/usr/bin/objdump: error: unknown argument '-exports-trie', did you mean '--exports-trie'?
/Library/Developer/CommandLineTools/usr/bin/objdump: error: unknown argument '-exports-trie', did you mean '--exports-trie'?
/Library/Developer/CommandLineTools/usr/bin/objdump: error: unknown argument '-exports-trie', did you mean '--exports-trie'?
/Library/Developer/CommandLineTools/usr/bin/objdump: error: unknown argument '-exports-trie', did you mean '--exports-trie'?
make[2]: *** [src/abiconv/abiconv.syms] Error 1
make[2]: *** Deleting file `src/abiconv/abiconv.syms'
make[1]: *** [src/abiconv/CMakeFiles/abiconv_asm.dir/all] Error 2
make: *** [all] Error 2
dflbv@MacBook-Pro build %
Prerequisites
in README.md
mentioned:
86x64 requires macOS with Command Line Tools installed.
However, at least nasm
and llvm
packages are required.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.