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


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.

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.

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.  |
'------------------------------^-------^------------------^--------------------'

--
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]