search for: machoyaml

Displaying 2 results from an estimated 2 matches for "machoyaml".

2018 Feb 25
0
Building llvm-5.0.1 on Solaris 10/sparc
...g to build llvm-5.0.1 on Solaris 10/Sparc with gcc-5.4.0 as follows. cmake -DLLVM_TARGETS_TO_BUILD="Sparc" /home/nemo/opt/llvm/llvm-5.0.1-src I then invoke gmake and the build trundles along and stops as follows. [ 62%] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/MachOYAML.cpp.o /home/nemo/opt/llvm/llvm-5.0.1.src/lib/ObjectYAML/MachOYAML.cpp: In static member function 'static void llvm::yaml::ScalarTraits<char [16]>::output(const char (&)[16], void*, llvm::raw_ostream&)': /home/nemo/opt/llvm/llvm-5.0.1.src/lib/ObjectYAML/MachOYAML.cpp:40:33:...
2018 Mar 17
0
Successful Build: llvm-5.0.1 on Solaris 10/sparc
...O_BUILD=Sparc \ -DCMAKE_INSTALL_PREFIX=/home/build/llvm \ -DCMAKE_BUILD_TYPE=Release \ /home/build/opt/llvm/llvm-5.0.1.src LD_OPTIONS="-z altexec64" gmake A few problems arose: 1. Added code for strnlen to llvm-5.0.1.src/tools/obj2yaml/macho2yaml.cpp and llvm-5.0.1.src/lib/ObjectYAML/MachOYAML.cpp (as strnlen() is not POSIX, hence not in <string.h>). 2. Changed grep-->ggrep in bld.llvm-rel/tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/build.make (as "-q" is GNU not POSIX). 3. Release version of llvm-tblgen dumps core: copied over debug version. Now wor...