[crosstool-ng] Menuconfig problems on Mac OS X

Bryan Hundven bryanhundven@gmail.com
Fri Jun 10 06:16:00 GMT 2011


On Thu, Jun 9, 2011 at 1:42 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Bryan, Titus, All,
>
> On Thursday 09 June 2011 21:33:22 Bryan Hundven wrote:
>> Titus, All,
>>
>> I haven't tried building ctng on my mac in a while, so today I fired
>> it up and found some problems that I'm not sure how to fix (or just
>> don't have time).
>>
>>
>> On my Linux box, when I run "ct-ng powerpc-e500v2-linux-gnuspe &&
>> ct-ng menuconfig" in an empty directory and go to the targets menu I
>> get:
>> ----------------------------------------------------------------------
>>              *** General target options ***
>>              Target Architecture (powerpc)  --->
>>              Bitness: (32-bit)  --->
>>              *** powerpc other options ***
>>          [*] Enable SPE support
>>              *** Target optimisations ***
>>          ()  Generate code for the specific ABI
>>          (8548) Emit assembly for CPU
>>          (8548) Tune for CPU
>>              Floating point: (hardware (FPU))  --->
>>          (-mfloat-gprs=double -Wa,-me500x2) Target CFLAGS
>>          ()  Target LDFLAGS
>> ----------------------------------------------------------------------
>>
>> But on my mac I see:
>>
>> ----------------------------------------------------------------------
>>                   Target Architecture (powerpc)  --->
>>                   *** Generic target options ***
>>                   Bitness:
>>                   *** Target optimisations ***
>>                   Floating point: (hardware (FPU))  --->
>>               (-mfloat-gprs=double -Wa,-me500x2) Target CFLAGS
>>               ()  Target LDFLAGS
>>                   *** powerpc other options ***
>>               [*] Enable SPE support
>> ----------------------------------------------------------------------
>
> Looks like you do not have the same version, and the version on the MAC
> is more recent that the one on Linux.
>
> The architecture sub-menu has been re-ordered at changeset ac27814977fd
> dated 2011-04-27, so your Linux version seems to be lacking that.

Interesting, I thought I checked them both out fresh. Maybe I didn't
'make install' on my linux box. ;)

> Now, there indeed is a problem, as you are missing the generic options
> (-mcpu, -march...).
>
>> Maybe something with the recent config and configure changes, have
>> introduced some problems.
>
> Could you try bi-secting between ac3e215141a1 and 45a4393fa357 :
>  hg up -r 45a4393fa357; hg bisect --bad
>  hg up -r ac3e215141a1; hg bisect --good
>  ./configure --local && make && ./ct-ng menuconfig
>  hg bisect --[good|bad]
>  # And loop to ./configure
>
> hg bisect here tells me that should be roughly 7 tests.
>
> Once we know what changeset first exhibits the issue, we can try to fix it.

Thanks for the starting point. I'll give that a shot!

> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'
>

-Bryan

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list