Skip to content

Instantly share code, notes, and snippets.

@LB--
Created June 7, 2013 05:04
Show Gist options
  • Save LB--/5727166 to your computer and use it in GitHub Desktop.
Save LB--/5727166 to your computer and use it in GitHub Desktop.
Trying to build llvm and clang, running into this at 82%
C:\Users\Nicholas>cd /d C:\Users\Nicholas\Desktop\llvm-build\tools\clang\lib\AST
Matchers\Dynamic && C:\MinGW64\bin\x86_64-w64-mingw32-g++.exe -DCLANG_ENABLE_A
RCMT -DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__S
TDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -W -Wno-u
nused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-l
ong-long -Wno-maybe-uninitialized -Wnon-virtual-dtor -fno-common -Woverloaded-vi
rtual -Wcast-qual -fno-strict-aliasing -fno-rtti @CMakeFiles/clangDynamicASTMatc
hers.dir/includes_CXX.rsp -fno-exceptions -o CMakeFiles\clangDynamicASTMatcher
s.dir\Registry.cpp.obj -c C:\Users\Nicholas\Desktop\llvm\tools\clang\lib\ASTMatc
hers\Dynamic\Registry.cpp -v
Using built-in specs.
COLLECT_GCC=C:\MinGW64\bin\x86_64-w64-mingw32-g++.exe
COLLECT_LTO_WRAPPER=c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.0/lto-w
rapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../build/gcc/src/configure --target=x86_64-w64-mingw32 --
prefix=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --with-sysroot=/c
/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --enable-languages=all,obj
-c++ --enable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.7.0 20111220 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-D' 'CLANG_ENABLE_ARCMT' '-D' 'CLANG_ENABLE_REWRITER' '-D'
'CLANG_ENABLE_STATIC_ANALYZER' '-D' '_GNU_SOURCE' '-D' '__STDC_CONSTANT_MACROS'
'-D' '__STDC_FORMAT_MACROS' '-D' '__STDC_LIMIT_MACROS' '-Wall' '-Wextra' '-Wno-u
nused-parameter' '-Wwrite-strings' '-Wno-missing-field-initializers' '-pedantic'
'-Wno-long-long' '-Wno-maybe-uninitialized' '-Wnon-virtual-dtor' '-fno-common'
'-Woverloaded-virtual' '-Wcast-qual' '-fno-strict-aliasing' '-fno-rtti' '-I' 'C:
/Users/Nicholas/Desktop/llvm-build/tools/clang/lib/ASTMatchers/Dynamic' '-I' 'C:
/Users/Nicholas/Desktop/llvm/tools/clang/lib/ASTMatchers/Dynamic' '-I' 'C:/Users
/Nicholas/Desktop/llvm/tools/clang/include' '-I' 'C:/Users/Nicholas/Desktop/llvm
-build/tools/clang/include' '-I' 'C:/Users/Nicholas/Desktop/llvm-build/include'
'-I' 'C:/Users/Nicholas/Desktop/llvm/include' '-fno-exceptions' '-o' 'CMakeFiles
\clangDynamicASTMatchers.dir\Registry.cpp.obj' '-c' '-v' '-shared-libgcc' '-mtun
e=generic' '-march=x86-64'
c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.0/cc1plus.exe -quiet -v -I
C:/Users/Nicholas/Desktop/llvm-build/tools/clang/lib/ASTMatchers/Dynamic -I C:/
Users/Nicholas/Desktop/llvm/tools/clang/lib/ASTMatchers/Dynamic -I C:/Users/Nich
olas/Desktop/llvm/tools/clang/include -I C:/Users/Nicholas/Desktop/llvm-build/to
ols/clang/include -I C:/Users/Nicholas/Desktop/llvm-build/include -I C:/Users/Ni
cholas/Desktop/llvm/include -iprefix c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw3
2/4.7.0/ -U_REENTRANT -D CLANG_ENABLE_ARCMT -D CLANG_ENABLE_REWRITER -D CLANG_EN
ABLE_STATIC_ANALYZER -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_M
ACROS -D __STDC_LIMIT_MACROS C:\Users\Nicholas\Desktop\llvm\tools\clang\lib\ASTM
atchers\Dynamic\Registry.cpp -quiet -dumpbase Registry.cpp -mtune=generic -march
=x86-64 -auxbase-strip CMakeFiles\clangDynamicASTMatchers.dir\Registry.cpp.obj -
Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initialize
rs -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wnon-virtual-dtor -Woverlo
aded-virtual -Wcast-qual -version -fno-common -fno-strict-aliasing -fno-rtti -fn
o-exceptions -o C:\Users\Nicholas\AppData\Local\Temp\ccU3Zl3T.s
GNU C++ (GCC) version 4.7.0 20111220 (experimental) (x86_64-w64-mingw32)
compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 2.4.2,
MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw3
2/4.7.0/../../../../x86_64-w64-mingw32/include/c++/4.7.0"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw3
2/4.7.0/../../../../x86_64-w64-mingw32/include/c++/4.7.0/x86_64-w64-mingw32"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw3
2/4.7.0/../../../../x86_64-w64-mingw32/include/c++/4.7.0/backward"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw3
2/4.7.0/include"
ignoring nonexistent directory "c:/bb/vista64-mingw32/mingw-x86-x86_64/build/bui
ld/rootc:/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root/lib/gcc/x86_64-w6
4-mingw32/4.7.0/../../../../include"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw3
2/4.7.0/include-fixed"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw3
2/4.7.0/../../../../x86_64-w64-mingw32/include"
ignoring nonexistent directory "c:/bb/vista64-mingw32/mingw-x86-x86_64/build/bui
ld/rootc:/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
C:/Users/Nicholas/Desktop/llvm-build/tools/clang/lib/ASTMatchers/Dynamic
C:/Users/Nicholas/Desktop/llvm/tools/clang/lib/ASTMatchers/Dynamic
C:/Users/Nicholas/Desktop/llvm/tools/clang/include
C:/Users/Nicholas/Desktop/llvm-build/tools/clang/include
C:/Users/Nicholas/Desktop/llvm-build/include
C:/Users/Nicholas/Desktop/llvm/include
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw
32/include/c++/4.7.0
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw
32/include/c++/4.7.0/x86_64-w64-mingw32
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw
32/include/c++/4.7.0/backward
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/include
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/include-fixed
c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw
32/include
End of search list.
GNU C++ (GCC) version 4.7.0 20111220 (experimental) (x86_64-w64-mingw32)
compiled by GNU C version 4.5.2, GMP version 5.0.1, MPFR version 2.4.2,
MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 3a186198a94adb5202a362d78492fbd5
COLLECT_GCC_OPTIONS='-D' 'CLANG_ENABLE_ARCMT' '-D' 'CLANG_ENABLE_REWRITER' '-D'
'CLANG_ENABLE_STATIC_ANALYZER' '-D' '_GNU_SOURCE' '-D' '__STDC_CONSTANT_MACROS'
'-D' '__STDC_FORMAT_MACROS' '-D' '__STDC_LIMIT_MACROS' '-Wall' '-Wextra' '-Wno-u
nused-parameter' '-Wwrite-strings' '-Wno-missing-field-initializers' '-pedantic'
'-Wno-long-long' '-Wno-maybe-uninitialized' '-Wnon-virtual-dtor' '-fno-common'
'-Woverloaded-virtual' '-Wcast-qual' '-fno-strict-aliasing' '-fno-rtti' '-I' 'C:
/Users/Nicholas/Desktop/llvm-build/tools/clang/lib/ASTMatchers/Dynamic' '-I' 'C:
/Users/Nicholas/Desktop/llvm/tools/clang/lib/ASTMatchers/Dynamic' '-I' 'C:/Users
/Nicholas/Desktop/llvm/tools/clang/include' '-I' 'C:/Users/Nicholas/Desktop/llvm
-build/tools/clang/include' '-I' 'C:/Users/Nicholas/Desktop/llvm-build/include'
'-I' 'C:/Users/Nicholas/Desktop/llvm/include' '-fno-exceptions' '-o' 'CMakeFiles
\clangDynamicASTMatchers.dir\Registry.cpp.obj' '-c' '-v' '-shared-libgcc' '-mtun
e=generic' '-march=x86-64'
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw
32/bin/as.exe -o CMakeFiles\clangDynamicASTMatchers.dir\Registry.cpp.obj C:\User
s\Nicholas\AppData\Local\Temp\ccU3Zl3T.s
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw3
2/bin/as.exe: CMakeFiles\clangDynamicASTMatchers.dir\Registry.cpp.obj: too many
sections (55123)
C:\Users\Nicholas\AppData\Local\Temp\ccU3Zl3T.s: Assembler messages:
C:\Users\Nicholas\AppData\Local\Temp\ccU3Zl3T.s: Fatal error: can't write CMakeF
iles\clangDynamicASTMatchers.dir\Registry.cpp.obj: File too big
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw3
2/bin/as.exe: CMakeFiles\clangDynamicASTMatchers.dir\Registry.cpp.obj: too many
sections (55123)
C:\Users\Nicholas\AppData\Local\Temp\ccU3Zl3T.s: Fatal error: can't close CMakeF
iles\clangDynamicASTMatchers.dir\Registry.cpp.obj: File too big
C:\Users\Nicholas\Desktop\llvm-build\tools\clang\lib\ASTMatchers\Dynamic>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment