X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=TBg2 Xhz46CifvEgq/OH7mEy5po2Vxry/01KJunIvOdY4NByIUCnQoNK/JmV99OntDO2B FkB37plzLKYwRgnEKQslyaWIedvHYln+ov3+mgvQKRjKvE7otuEG8YphfftPQmWU OPNo2xFNVFUfZP5L1uPXiJuenwybPuGDxKdGheE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; s=default; bh=H/nmkPsj2B pcPIEf9lXLHLqIUmI=; b=TqCqqeXIhFsKRY3coKoQKAzXt4y2o8AXuIsB7IO6zN u8DyNeHtZXHh/MSI4nu6/9KR7IRyEwxMReF2+T4S+5JQhtfB/xS3iu6hkXvmox4X TtCupiRqB6tCkuBfzUAGwz1BLxUo4Dshw0otU8KI0OeqU8RbIEz2oWodTziJNJ/4 I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 In-Reply-To: References: From: Csaba Raduly Date: Wed, 20 Dec 2017 11:40:05 +0100 Message-ID: Subject: Re: LLVM 5.0 is not building on Clang To: cygwin list Cc: dreakinlaja AT gmail DOT com Content-Type: text/plain; charset="UTF-8" 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