From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 21 23:29:35 2013 Return-Path: Delivered-To: freebsd-ppc@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 7ED64232 for ; Thu, 21 Nov 2013 23:29:35 +0000 (UTC) Received: from mail-bk0-x235.google.com (mail-bk0-x235.google.com [IPv6:2a00:1450:4008:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1A975206F for ; Thu, 21 Nov 2013 23:29:34 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id na10so549841bkb.40 for ; Thu, 21 Nov 2013 15:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=R1hTLz/Q7t4AVXDrDqeOXlLwb8dK8cNAZvsbi+dTsuY=; b=HTxS1KHjlB56QMIIJFCzyLwpRvfQ6gGUw/dsXIhbYBjdbv+It9hHQJcZ1NV6VR1aoh skwDohkPMJ7w2qhfP4Ax5AxrNF8B4GhgWoBufsKtwqGAVzYUXdM05nauY/FEyGKoCgoo C28CZYXX7slpzi65fKqR537opK0+LGVXlsSa8HKuh53yfBfOXKaKInDchcXcm+/nMeRy O5qx25pKTpeJ0VWIOlLtyTovhGfH+K9RLQ686bQeH8lTWqU2V6nehOiLkY9wq/uhinNy VSJyraRMBlrOyVBUB/F3mTeG34YqT6z5H7bf7j1vaQwBCta7o+WYA7PdP3AAx0VApQKg GYKg== MIME-Version: 1.0 X-Received: by 10.205.106.6 with SMTP id ds6mr6859859bkc.23.1385076573392; Thu, 21 Nov 2013 15:29:33 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.72.198 with HTTP; Thu, 21 Nov 2013 15:29:33 -0800 (PST) Date: Thu, 21 Nov 2013 15:29:33 -0800 X-Google-Sender-Auth: kQNvpPeSt6Gfp8a8XpP1BnnNllA Message-ID: Subject: Building kernel with clang From: Justin Hibbits To: FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 23:29:35 -0000 I'm trying to build kernel with clang on/for ppc64, but running into a snag. Doing simply: make build kernel CC=clang WERROR= I get the following error when compiling: /tmp/cam_compat-8U08WY.s: Assembler messages: /tmp/cam_compat-8U08WY.s:590: Error: unknown pseudo-op: `.cfi_sections' Anyone know how to fix this? Do I need to somehow tell it to use the toolchain in /usr/local? - Justin