[cfe-dev] "File too big/too many sections" when building Registry.cpp in MSYS2 Environment
Reid Kleckner via cfe-dev
cfe-dev at lists.llvm.org
Thu Dec 22 11:30:08 PST 2016
To follow up, r290358 should fix this.
On Wed, Dec 21, 2016 at 12:26 PM, William D. Jones <thor0505 at comcast.net>
wrote:
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20161222/3631ac0c/attachment.html>
More information about the cfe-dev
mailing list