From owner-freebsd-toolchain@freebsd.org Wed Feb 28 10:32:42 2018 Return-Path: Delivered-To: freebsd-toolchain@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 E5AC0F3BE23 for ; Wed, 28 Feb 2018 10:32:41 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EF91704CD for ; Wed, 28 Feb 2018 10:32:41 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 96C422E14E; Wed, 28 Feb 2018 11:32:38 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6eQhef0-L_nq; Wed, 28 Feb 2018 11:32:38 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 0D8852E149 for ; Wed, 28 Feb 2018 11:32:38 +0100 (CET) To: FreeBSD Toolchain From: Willem Jan Withagen Subject: BFD Linker does like a generated file... Message-ID: <05c07941-9978-c195-2edd-e71b8cf39bf8@digiware.nl> Date: Wed, 28 Feb 2018 11:32:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: nl Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 10:32:42 -0000 Whilest building Ceph: [100%] Linking CXX executable ../../bin/unittest_log CMakeFiles/unittest_log.dir/__/log/test.cc.o: file not recognized: File format not recognized c++: error: linker command failed with exit code 1 (use -v to see invocation) Which is buildable after I've replaced the ld link with a link to ld.lld 2 questions: - How do I get clang (and ld) to default use ld.lld without replacing the hardlink? - Is there interest in the object-file to look at? --WjW