From owner-freebsd-arm@FreeBSD.ORG Wed Jun 17 23:23:59 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 767B0106566B for ; Wed, 17 Jun 2009 23:23:59 +0000 (UTC) (envelope-from vassilis.laganakos@yahoo.com) Received: from n7a.bullet.mail.ac4.yahoo.com (n7a.bullet.mail.ac4.yahoo.com [76.13.13.70]) by mx1.freebsd.org (Postfix) with SMTP id 14E0B8FC12 for ; Wed, 17 Jun 2009 23:23:58 +0000 (UTC) (envelope-from vassilis.laganakos@yahoo.com) Received: from [76.13.13.25] by n7.bullet.mail.ac4.yahoo.com with NNFMP; 17 Jun 2009 23:23:58 -0000 Received: from [76.13.10.173] by t4.bullet.mail.ac4.yahoo.com with NNFMP; 17 Jun 2009 23:23:58 -0000 Received: from [127.0.0.1] by omp114.mail.ac4.yahoo.com with NNFMP; 17 Jun 2009 23:23:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 647213.30519.bm@omp114.mail.ac4.yahoo.com Received: (qmail 7925 invoked by uid 60001); 17 Jun 2009 23:23:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1245281038; bh=qIwjjG4MYxqi2J8OkKzSlfrvtNjsTQFMJo5FW0WIJ6U=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vkLGTsG4m7YBzmRWHsyyIcToIOA5vLKGjxYYJ4/japD4JA+WIecVWgBs8aiReaCMSncJj+MTWKULyFKm7v5xb00Ca0EHVtYlokxmi47yW94geYtXsfjFM1mVuyH4E0tIHdZLIChDnq07kb/bDrQFoAAq23eReNJmNRmIPadPkFI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=uNWbe9/yetu4piB2PYF7XuLXYRRUbJus1d6pzFg7mFRkuMXJaLQQAoMpxqsrkE51JBcDh96gz6xlgpcMQcZ12MSjqdHnQavcubTcq+35aKm96urL38r+mrZKuW1A4dBvSgQ9uutIgSQQwR+pdYd1IcQVjhE7u/u58liRBT/DLuU=; Message-ID: <523661.6738.qm@web59407.mail.ac4.yahoo.com> X-YMail-OSG: 4wlJCkYVM1mZAHvYfwbP4xnt4ktwy67jRypPZq5kL0TAWctPwyc.2uHW_rUz2jaHASBi59mSITtverUTVISi45TXrZC.p4irHUqWvyKdBU7wco0Udu_DMZEt9Lg65GyQMbSR.WKuB1Sdu3e8fIkuIgznVQCk6gE5aPHQrHGVLoUjmATjdpu3L6bTqfo4QX8TzgRZDd37Zo0l4V2syMe5068Ut1wRs5_vBGPb4ROW.vtfuShKI63u Received: from [82.6.108.148] by web59407.mail.ac4.yahoo.com via HTTP; Wed, 17 Jun 2009 16:23:58 PDT X-Mailer: YahooMailRC/1357.18 YahooMailWebService/0.7.289.15 References: <200906152104.n5FL4HYR013525@casselton.net> Date: Wed, 17 Jun 2009 16:23:58 -0700 (PDT) From: Vassilis Laganakos To: Mark Tinguely , freebsd-arm@freebsd.org In-Reply-To: <200906152104.n5FL4HYR013525@casselton.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Wed, 17 Jun 2009 23:23:59 -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". > That's nice Mark, good job :o) > 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 don't know what are the changes from previous versions of GCC with the trunk. Maybe the release notes have more info on this.... > I made changes to the gcc-4.5-20090528 directory and the build directory. > I will look at the libraries too. > Cool! Kind regards, Vassilis L.