From owner-freebsd-current@freebsd.org Sun Feb 18 01:52:46 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 815C2F022FF for ; Sun, 18 Feb 2018 01:52:46 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-ua0-x22c.google.com (mail-ua0-x22c.google.com [IPv6:2607:f8b0:400c:c08::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F4F27AE59; Sun, 18 Feb 2018 01:52:46 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-ua0-x22c.google.com with SMTP id u99so2917594uau.8; Sat, 17 Feb 2018 17:52:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=HcKQnbRrNxT4XKwLBdeTEH8t8rKfVAuVuZ88v4OTnQc=; b=iBsXntCWurUrNsJ1n1JW9jsZS4XCbspAHQpBKaXIJ752HNZx0Sp51hmVCfPvmf2pqW Wk1xP9MAufXq7haubpFz0EPymatsB252dTlJtmyDeopF6uUFqJBSElp1QSfXzd3K7xzt bkB14X2VfFYs+Hhwbmk0RGT8YSH0MWP6ufRya0tUHP1svWD03Bgdh8BwQAbWVip/5ZQr OuOruNWYPCfTt1ocGAD5dwc8K7PR03dxOqaK/l8yihhITwR5LUxIy8j+s1dBEIR7ORwb KB5IrkZxKO3y6c+PobqVDwFnCH9WoMPyRybQeq5vIZvlEWch1uds0xDmxDFOA7N4Kzez cMcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HcKQnbRrNxT4XKwLBdeTEH8t8rKfVAuVuZ88v4OTnQc=; b=V/XQGKGaVQpHWHHt1U4v7wkDW6gr6W5VB+stPzWYYQLznYNivNQN06QlJd2QTC5+xF 9xDlodn6UT03J4vmiLiAagf9bST8IjNO4jIbwlqYvHEaek/IBYnZPULHc9SZxP7tE0H4 WsZUbL0CcfADXbNO4Hg2d6Wf38mv9GghIuX9CISllxnE02aYzzmPMfs0nCa/7NABLsZX 6lzHssJEr6VKk6wnAwv6RS/H7/TSlnVtFur0VXIec0zfc87L//WT1bN+UZDe/gs3YzQn B6kET3ZpWYWbWVupewCG+J5AEUF2eh6AfZuU3LDQkay0I+dPz1YRpNbgSSWbUPa5/LXi SGsw== X-Gm-Message-State: APf1xPBGX29C0tiLprFCH2VWkp1pjWSAEgmfLk0W/LLTgF3KZdCTc2SQ qDrDmGbkdHPXAa0rovwroqb26sdP80pAnm3+EvZjNTTm X-Google-Smtp-Source: AH8x225z3pqJMo6A3BRL5+Xv4nVtzDYRjA6rRd98O7HJ5tg+iPLsFb4ORqU4lgSWfSgaR9WBFLqYxJllxfzEZFAGUlY= X-Received: by 10.159.36.225 with SMTP id 88mr5242170uar.77.1518918765375; Sat, 17 Feb 2018 17:52:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.4.8 with HTTP; Sat, 17 Feb 2018 17:52:44 -0800 (PST) From: Ben Woods Date: Sun, 18 Feb 2018 09:52:44 +0800 Message-ID: Subject: Buildworld failing during llvm To: FreeBSD Current , dim@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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, 18 Feb 2018 01:52:46 -0000 Hi everyone, My attempts to build FreeBSD 12-current have been failing as of yesterday with the error below. This problem persists with current at the time of writing this email (r329497). Given llvm was updated to 6.0 around that time, I suspect it is related: https://svnweb.freebsd.org/base?view=revision&revision=329410 --- clang.full --- c++ -O2 -pipe -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/contrib/llvm/tools/clang/include -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/amd64.amd64/tmp\" -ffunction-sections -fdata-sections -g -O0 -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -g -O0 -stdlib=libc++ -Wno-c++11-extensions -Wl,--gc-sections -static -L/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib -o clang.full cc1_main.o cc1as_main.o driver.o /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libclang/libclang.a /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm/libllvm.a -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/libz -lz -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/ncurses/ncursesw -lncursesw -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/libthr -lpthread -legacy /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm/libllvm.a: could not read symbols: Malformed archive c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [clang.full] Error code 1 Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com