[cfe-dev] "File too big/too many sections" when building Registry.cpp in MSYS2 Environment
William D. Jones via cfe-dev
cfe-dev at lists.llvm.org
Sun Jan 1 17:32:50 PST 2017
Did you cross-compile for MinGW? I've noticed that with the new change,
native compile, Registry.cpp now compiles, but attempting to link
bin\clangDynamicASTMatchers.dll causes a link step that takes over 90
minutes (!!) before bombing with an excessive number of undefined symbols.
So many, that I cannot even copy and paste them all from my scrollback. The
linker cannot find any of the symbols from Registry.cpp.
It is dawning on me that building a Debug build of Clang/LLVM on Windows is
impractical/development seems to mainly be done w/ gold on Linux to avoid
linker woes.
-----Original Message-----
From: William D. Jones via cfe-dev
Sent: Saturday, December 31, 2016 7:38 PM
To: Reid Kleckner
Cc: cfe-dev at lists.llvm.org
Subject: Re: [cfe-dev] "File too big/too many sections" when
buildingRegistry.cpp in MSYS2 Environment
Sorry for the delay. I noticed that you pass the assembler options for only
64-bit builds. Is there any harm for enabling the flags for 32-bit builds as
well? The 64-bit MinGW build appears to be broken on my machine (gcc 5.3.0);
LTO.dll spent 30 minutes compiling before I manually disabled the build.
From: Reid Kleckner
Sent: Thursday, December 22, 2016 2:30 PM
To: William D. Jones
Cc: cfe-dev
Subject: Re: [cfe-dev] "File too big/too many sections" when building
Registry.cpp in MSYS2 Environment
To follow up, r290358 should fix this.
--
William D. Jones
thor0505 at comcast.net
_______________________________________________
cfe-dev mailing list
cfe-dev at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
--
William D. Jones
thor0505 at comcast.net
More information about the cfe-dev
mailing list