[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
Wed Dec 21 12:26:18 PST 2016



From: Reid Kleckner
Sent: Wednesday, December 21, 2016 1:47 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

>We need to fix the build to pass -mbig-obj to the gnu assembler. You can 
>probably use -DCMAKE_CXX_FLAGS=-Wa,-mbigobj to work around the problem.
So officially, Clang builds now require COFF big objects?

>I'd add this flag to the llvm build myself, but my mingw64 build of clang 
>is currently broken for other reasons.
Not that I'm qualified to fix it, but... what's wrong with the build?

--
William D. Jones
thor0505 at comcast.net 




More information about the cfe-dev mailing list