From owner-freebsd-current@FreeBSD.ORG Sun May 4 07:25:50 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3DA22CA1; Sun, 4 May 2014 07:25:50 +0000 (UTC) Received: from forward3l.mail.yandex.net (forward3l.mail.yandex.net [IPv6:2a02:6b8:0:1819::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBE8317E1; Sun, 4 May 2014 07:25:49 +0000 (UTC) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward3l.mail.yandex.net (Yandex) with ESMTP id 6C2A51500C12; Sun, 4 May 2014 11:25:37 +0400 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id 048412C34D0; Sun, 4 May 2014 11:25:36 +0400 (MSK) Received: from unknown (unknown [178.76.214.146]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id w5jU0K0rlG-PaAS5tcc; Sun, 4 May 2014 11:25:36 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 3e96baf2-522c-40da-a5b4-83b2b3e9a16d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1399188336; bh=p88wdw4fzFBP3FKQH/b/96oqL0fxk2msHd8QJ77JFJw=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=IqAxcYdlzvlgToqIFkkd6Om7dpSy1qcNJ34AGStWUSXy5V07l6KlRjwst5HEvmyDn sDm3Ol0Yo8/+r1dDsueitV3STWmKoTwQI29FAwWVZJz/fizZsyaHvJcjR2khlyqsD+ MmtQhUX3N74+3ugKTnFhdn8fEEquj2+YO6GtUaKU= Authentication-Results: smtp4h.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <5365EB63.4010205@yandex.ru> Date: Sun, 04 May 2014 11:25:23 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Dimitry Andric Subject: [SOLVED] libllvmmc build is broken on i386 References: <53594466.10601@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2014 07:25:50 -0000 Dimitry Andric wrote on 25.04.2014 01:58: > On 24 Apr 2014, at 19:05, Ruslan Makhmatkhanov wrote: >> I can't build current on i386 (last tried revision is 264886) for couple of days. Every time trying to build with making `make clean` and rm'ing /usr/obj first. >> >> The first error is appearing when building MCAsmBackend.cpp: >> """ >> /../contrib/llvm/lib/MC/MCAsmBackend.cpp -o MCAsmBackend.o >> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/lib/MC/MCAsmBackend.cpp:10: >> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/include/llvm/MC/MCAsmBackend.h:13: >> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/include/llvm/ADT/ArrayRef.h:14: >> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/include/llvm/ADT/SmallVector.h:17: >> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/include/llvm/Support/AlignOf.h:19: >> In file included from /usr/include/c++/v1/cstddef:36: >> /usr/include/c++/v1/__config:314:2: error: invalid preprocessing directive >> """ >> >> Here is the full buildlog: http://pastebin.com/mp4mrUTb > > Looks like your /usr/include/c++/v1/__config file is corrupt. Try reinstalling the file, e.g.: > > sudo install -o root -g wheel -m 444 /usr/src/contrib/libc++/include/__config /usr/include/c++/v1 > > Or alternatively, running: > > sudo make -C /usr/src/lib/libc++ install > > -Dimitry > It actually bombed in different places across the toolchain. I replaced the clang/llvm bits from fresh -current ISO and everything builds fine now. Thank you! -- Regards, Ruslan T.O.S. Of Reality