From owner-freebsd-arm@FreeBSD.ORG Sat Jun 7 18:42:27 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0443F117 for ; Sat, 7 Jun 2014 18:42:27 +0000 (UTC) Received: from forward8l.mail.yandex.net (forward8l.mail.yandex.net [IPv6:2a02:6b8:0:1819::8]) (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 B35D7266E for ; Sat, 7 Jun 2014 18:42:26 +0000 (UTC) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 82E3E1A40ECE for ; Sat, 7 Jun 2014 22:42:14 +0400 (MSK) Received: from smtp2o.mail.yandex.net (localhost [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id 398A736A1BA2 for ; Sat, 7 Jun 2014 22:42:14 +0400 (MSK) Received: from adsl-71-135-103-89.dsl.pltn13.pacbell.net (adsl-71-135-103-89.dsl.pltn13.pacbell.net [71.135.103.89]) by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id VzkjizBQld-gCO4oIhH; Sat, 7 Jun 2014 22:42:13 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 4fb1e3dc-7f7d-465c-9477-f46c62e785d6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narod.ru; s=mail; t=1402166533; bh=+zAHx1HQN5OJjG6vqPF92PJQkPLPgsAuBj8ukWKhyhs=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Content-Transfer-Encoding; b=otW/Z9R5yOISrNP7i+RFtMw+qBoCZYO+Zu2ddnpNkjuhMtdkiGddRfQbfpEswuYRa sk7o7dGHuv7Wn9A+BRZlYuV+26nBndfo4kQ0YJqHZr3vQtGF/nHjpU8NGimYA4Z0Am uMjcPsAcwrjdye0JV0otnSubxJaqQiwpeHBBFj5g= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@narod.ru Message-ID: <53935D02.2030604@narod.ru> Date: Sun, 08 Jun 2014 00:42:10 +0600 From: Stepan Dyatkovskiy User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Compilation for ARM Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 18:42:27 -0000 Hi all! I'm trying to cross-compile FreeBSD kernel with clang for ARM, but currently I have some troubles with it. Main is: Clang uses external assembler and invokes GCC with some really specific flags, that aren't supported by GCC (like -fformat-extensions). As base I used this guide: http://people.freebsd.org/~cognet/arm.html So the question is, had somebody tried to cross-compile FreeBSD kernel with clang for ARM? I would glad if somebody ready to share such experience ;-) Thanks! -Stepan