From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15307 invoked by alias); 20 Dec 2017 10:40:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15297 invoked by uid 89); 20 Dec 2017 10:40:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Tao, Linkedin, boots, God X-HELO: mail-qt0-f181.google.com Received: from mail-qt0-f181.google.com (HELO mail-qt0-f181.google.com) (209.85.216.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Dec 2017 10:40:07 +0000 Received: by mail-qt0-f181.google.com with SMTP id e2so27731805qti.0 for ; Wed, 20 Dec 2017 02:40:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CZzZJpxAFRyoZoFLpyuNo3IMly+UO8+T2Fn7lPkrP0Y=; b=mU2OM8dskAL+O9fo0CECyidYUtfpymGh8h1phyht3wfV10cSdGZZK1pP852NJ5XTIr fZ8OaCMTNtDY0+aOqPBn+PMcpx0Nwb9zfJC4Wn6ife7/4F25Ti6XAxr6aaKZVzUhvTC0 iooo4i31BZdRFTTarH2AynAoB/rN7k7nOL0XIeSAM20PnWTzauGhXVkfRXfyL93R1siD 4GkYfYw0oCglv3dtKy0DrZ3b/Uyneg3Us93jP60WouzCtQpwvvneSqoQZbFirzOokLm+ 2kbuSdxdCpeJckE+2Izj7JXbM88Vzdym3I7VUWAZkf0grW6RIFakxHaXMFhuuv7Y1pkR UFnw== X-Gm-Message-State: AKGB3mLZauEcyzo87BpTzoztAAO1YnT68J/96ijoBsdPHJBIYJeQNXX/ /NWYRONxQWnvFLBp3/M7lzKzlajxnec9j+PHVAAOKg== X-Google-Smtp-Source: ACJfBovTS5iqS5KsibERlhpTTlbeCZLjqVXzrTyBjPPk03Ty2wCYIYN6QAHhLRH1S4Ur2WhFL/xAqOOZeRUx4iq2UUQ= X-Received: by 10.237.34.45 with SMTP id n42mr9654962qtc.12.1513766405569; Wed, 20 Dec 2017 02:40:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.38.72 with HTTP; Wed, 20 Dec 2017 02:40:05 -0800 (PST) In-Reply-To: References: From: Csaba Raduly Date: Wed, 20 Dec 2017 12:37:00 -0000 Message-ID: Subject: Re: LLVM 5.0 is not building on Clang To: cygwin list Cc: dreakinlaja@gmail.com Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-12/txt/msg00214.txt.bz2 Hi Darmie, On Mon, Dec 18, 2017 at 12:29 PM, Darmie Akinlaja wrote: > I tried building LLVM / Clang 5.0 but it's failing. > > This is the error I am getting: > > [ 63%] Building CXX object lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder. > cpp.o It might be useful to see the actual command line. Clang's makefiles are created by cmake; you can add VERBOSE=1 to the make command to see the actual commands during build. > /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/as: > CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o: too many sections (44421) > /tmp/cch2ze42.s: Assembler messages: > /tmp/cch2ze42.s: Fatal error: can't write 18 bytes to section .text of > CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o because: 'File too big' > /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/as: > CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o: too many sections (44421) > /tmp/cch2ze42.s: Fatal error: can't close > CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o: > File too big > make[2]: *** [lib/Passes/CMakeFiles/LLVMPasses.dir/build.make:63: > lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o] Error 1 > make[1]: *** [CMakeFiles/Makefile2:12756: > lib/Passes/CMakeFiles/LLVMPasses.dir/all] > Error 2 > make: *** [Makefile:150: all] Error 2 You didn't attach a cygcheck output, as recommended in > Problem reports: http://cygwin.com/problems.html Is your Cygwin 64-bit? What is the output of 'uname -a'? Try re-running cmake with CMAKE_BUILD_TYPE=Release The debug info can get very large for some object files in clang/LLVM. Or you could try the suggestion I found after googling for : assembler can't write file too big https://lists.llvm.org/pipermail/llvm-dev/2014-May/072642.html (disclaimer: I didn't try it) > > -- > *ABOUT ME* > *Damilare Darmie Akinlaja *is a physicist and software developer who [snip] For the love of God and all that is holy, get rid of that monstrosity! I don't care about what you did in 2011, let alone in 2008. If I did, I would visit your website or Linkedin page. Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple