From owner-freebsd-arm@FreeBSD.ORG Mon Jun 15 21:04:19 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A3BD106564A for ; Mon, 15 Jun 2009 21:04:19 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.freebsd.org (Postfix) with ESMTP id B82B38FC1C for ; Mon, 15 Jun 2009 21:04:18 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.14.3/8.14.3) with ESMTP id n5FL4Hjw013526; Mon, 15 Jun 2009 16:04:17 -0500 (CDT) (envelope-from tinguely@casselton.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=casselton.net; s=ccnMail; t=1245099858; bh=Y+80R4ul/D/tDRdzIa29nwZwqIGwvq+SF6ExyGz2fUQ=; h=Date:From:Message-Id:To:Subject:In-Reply-To; b=eR0YQqassdpWQk29UsyPAZd7s+NUJOO1LWKs+j3kYSJUDMngk9TOtAAJHam2euNLS YH222kqYoftxeKNd6isIn9LscZ2/T7rQ6jcL/4cdYlHi9hKG4U3/wIti3NGz3zh4r7 1eVblnH7NtsBUCQy+q5BEtdTxsAO8dxPRd1jq514= Received: (from tinguely@localhost) by casselton.net (8.14.3/8.14.2/Submit) id n5FL4HYR013525; Mon, 15 Jun 2009 16:04:17 -0500 (CDT) (envelope-from tinguely) Date: Mon, 15 Jun 2009 16:04:17 -0500 (CDT) From: Mark Tinguely Message-Id: <200906152104.n5FL4HYR013525@casselton.net> To: freebsd-arm@freebsd.org, vassilis.laganakos@yahoo.com In-Reply-To: <77926.36276.qm@web59405.mail.ac4.yahoo.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.2 (casselton.net [127.0.0.1]); Mon, 15 Jun 2009 16:04:18 -0500 (CDT) Cc: Subject: Re: ARMv7 - EABI - Cross Compiler X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 21:04:19 -0000 In case any of the Cortex/v7 projects or anyone else is interested, I have gcc-4.5 cross compiling the current GUMSTIX kernel on a i386 FreeBSD 6.4 computer (QEMU runs better under FreeBSD 6.4) - I have not tried the libs yet to a "build world". The kernel sources need some FreeBSD (format and at least one built-in define) extensions to compile that are not in the standard gcc. Besides the extensions that I copied over the code to put the binaries in the standard, reasonable places /usr/cross/libexec/cc1, for example). Gcc 4.5 -O option found a few inline and structure warnings, that required either the removal of the -O option or -Werror option for these files. I chose to remove the -Werror. The warnings are: wanted to add parenthesis around the &: ddb/db_ps.c -O detects inline optimizations in the files: devfs_vnops.c pseudofs_vnops.c kern_descrip.c kern_jail.c sys_pipe.c tty.c uipc_mbuf.c vfs_default.c vfs_lookup.c vfs_mount.c vfs_syscalls.c ffs_snapshot.c trap.c pmap.c variably modified in the definition of a structure (and some inline opt): ufs_dirhash.c ufs_inode.c ufs_lookup.c ufs_vfsops.c ufs_vnops.c I made changes to the gcc-4.5-20090528 directory and the build directory. I will look at the libraries too. --Mark Tinguely.