Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2009 16:46:24 -0700 (PDT)
From:      Vassilis Laganakos <vassilis.laganakos@yahoo.com>
To:        Mark Tinguely <tinguely@casselton.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: ARMv7 - EABI - Cross Compiler
Message-ID:  <985061.32128.qm@web59411.mail.ac4.yahoo.com>
In-Reply-To: <200906041542.n54Fgdab019028@casselton.net>
References:  <200906041542.n54Fgdab019028@casselton.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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.


      




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?985061.32128.qm>