This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [crosstool-ng] Menuconfig problems on Mac OS X


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]