From owner-freebsd-arm@FreeBSD.ORG Thu Jun 4 23:59:30 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 36EF31065675 for ; Thu, 4 Jun 2009 23:59:30 +0000 (UTC) (envelope-from vassilis.laganakos@yahoo.com) Received: from n76.bullet.mail.sp1.yahoo.com (n76.bullet.mail.sp1.yahoo.com [98.136.44.48]) by mx1.freebsd.org (Postfix) with SMTP id 0ECB28FC0A for ; Thu, 4 Jun 2009 23:59:30 +0000 (UTC) (envelope-from vassilis.laganakos@yahoo.com) Received: from [69.147.84.144] by n76.bullet.mail.sp1.yahoo.com with NNFMP; 04 Jun 2009 23:46:25 -0000 Received: from [209.191.108.96] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 04 Jun 2009 23:46:25 -0000 Received: from [76.13.13.25] by t3.bullet.mud.yahoo.com with NNFMP; 04 Jun 2009 23:46:25 -0000 Received: from [76.13.10.163] by t4.bullet.mail.ac4.yahoo.com with NNFMP; 04 Jun 2009 23:46:25 -0000 Received: from [127.0.0.1] by omp104.mail.ac4.yahoo.com with NNFMP; 04 Jun 2009 23:46:25 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 138635.40482.bm@omp104.mail.ac4.yahoo.com Received: (qmail 33443 invoked by uid 60001); 4 Jun 2009 23:46:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1244159184; bh=GBK+OSiFzEcKSHGqlNiCOgER7ie4MObJLYGN1n1Wk/k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=qWvWCncKUVKAlnLe9C++TiJ2JINaFcfQ1gyynZcKRKA6HF2gOCr1N/WbJCYAo7C70KCLzAGuL3hwgL30ZylKdEGw7Diih+9FR2oIgDwTbDzBxZBnZftCq87q3V/0CkntciM4vCZi+e22aVTbpjobY8Lu4ggUfUkWfL9L6mgJc0Y= 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:Cc:In-Reply-To:MIME-Version:Content-Type; b=hS9pZdUcjhu4EAoiWlGJ+d1pYY1b1JBvzZg0guzJ58kpwFTwfy8LXmSOUFKGJQE3ODro/oz3TN1D/diP0QthYNlsE6bf/ZLElPefd8Dzp1it12bQG1I7N0/bGZjBYtovCxWErwe51OGf+16HZAgmhK9GbQL/gaSL1dbBbCDYFeA=; Message-ID: <985061.32128.qm@web59411.mail.ac4.yahoo.com> X-YMail-OSG: vGBi6G8VM1njjC9eDF3N6jlNGc0KimhtznxCjFkYuP.GEbJ76wfKOoIdF3prZDf_LjQnhIcnG_pypHC8PuQwGF5U52WdhZGByy_u0h.61C_6sb9M.OlbPQ7ZaMhEDhyyB6GI49AytGyJQLqU2Dvm08SVTo00WOLyjdCvSxlf.0309zUYbtkOJ.n5mc1YcEWNDj97Cf6OrDiVBcak3T.8yuw4MtpM7RLUtqCtyCiQPs_57L1VoV9zgm5mBGLpmwf6XBQIKKPa2KJqcjOgGNNgLyDSlOtDFtFFRxQRTKrV2w9EQXM- Received: from [82.6.108.148] by web59411.mail.ac4.yahoo.com via HTTP; Thu, 04 Jun 2009 16:46:24 PDT X-Mailer: YahooMailRC/1357.15 YahooMailWebService/0.7.289.10 References: <200906041542.n54Fgdab019028@casselton.net> Date: Thu, 4 Jun 2009 16:46:24 -0700 (PDT) From: Vassilis Laganakos To: Mark Tinguely In-Reply-To: <200906041542.n54Fgdab019028@casselton.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-arm@freebsd.org 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: Thu, 04 Jun 2009 23:59:30 -0000 Hi Mark, > What configuration options are you using for an ARM cross compiler? > Please bear with me while I put everything in a wiki/log page to be accessible - and visible for inspection :o) - to everyone. (should I submit this to the freebsd/arm page as a howto as well?). Have to repeat though the procedure now that I switched to HEAD. > The cross compile fails for me when it gets to the arm "multilib" build. > I tried with gcc44 and gcc45. I am trying one last time with the configuration > option "--disable-multilib", but I am not holding my breath. > I had faced the same problem. The problem is possibly something that was reported as a bug against gcc, that involves acx.m4 getting the wrong path to ${host_subddir} 4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40191 What I did was hand editing the Makefile and changing the offended variable $host_subdir to what it should be. For me it was "host-i386-unknown-freebsd" Then restarted gmake. So it doesn't seem to be --multilib, and although I had thought exactly the same (disabling it!) it looks like it is required. You will come across a few more sub-packages that face the same problem. The treatment is the same. :o) It will ultimately stop (fail) when it will try to find libc... That's where I am now :o) Kind regards, Vassilis L.