Skip to content

Instantly share code, notes, and snippets.

@farleyknight
Created July 29, 2014 19:52
Show Gist options
  • Save farleyknight/198ebdfad638a0c74dee to your computer and use it in GitHub Desktop.
Save farleyknight/198ebdfad638a0c74dee to your computer and use it in GitHub Desktop.
Compiler output
/home/farleyknight/src/crystal/deps/llvm/lib/libLLVMBitWriter.a(BitcodeWriter.o): In function `llvm::WriteBitcodeToFile(llvm::Module const*, llvm::raw_ostream&)':
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x384): undefined reference to `std::string::_Rep::_S_empty_rep_storage'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x3d4): undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char\
> const&)'
/home/farleyknight/src/crystal/deps/llvm/lib/libLLVMBitWriter.a(BitcodeWriter.o): In function `WriteModule(llvm::Module const*, llvm::BitstreamWriter&)':
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x4bc): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x5fd): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x743): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x884): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x9c5): undefined reference to `operator new(unsigned long)'
/home/farleyknight/src/crystal/deps/llvm/lib/libLLVMBitWriter.a(BitcodeWriter.o):/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+\
0xa89): more undefined references to `operator new(unsigned long)' follow
/home/farleyknight/src/crystal/deps/llvm/lib/libLLVMBitWriter.a(BitcodeWriter.o): In function `WriteModule(llvm::Module const*, llvm::BitstreamWriter&)':
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x2f91): undefined reference to `std::string::_Rep::_M_destroy(std::allocator<cha\
r> const&)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x302e): undefined reference to `std::basic_string<char, std::char_traits<char>, \
std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x3054): undefined reference to `std::string::_Rep::_S_empty_rep_storage'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x30cc): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x38df): undefined reference to `std::string::_Rep::_M_destroy(std::allocator<cha\
r> const&)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x3c9c): undefined reference to `std::basic_string<char, std::char_traits<char>, \
std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x3cf8): undefined reference to `std::string::_Rep::_S_empty_rep_storage'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x41bd): undefined reference to `operator new(unsigned long)'
/home/farleyknight/src/crystal/deps/llvm/lib/libLLVMBitWriter.a(BitcodeWriter.o): In function `WriteConstants(unsigned int, unsigned int, llvm::ValueEnumerator const&, \
llvm::BitstreamWriter&, bool)':
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x53bd): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x5532): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x56aa): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x580c): undefined reference to `operator new(unsigned long)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x5b6a): undefined reference to `operator delete[](void*)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x5d8b): undefined reference to `operator delete[](void*)'
/home/aadgrand/tmp/LLVM-3.3/final/llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp:(.text+0x6ada): undefined reference to `operator delete[](void*)'
@farleyknight
Copy link
Author

This is just the first 50 so lines of this:

bin/crystal src/compiler/crystal.cr &> result.out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment