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: SUCCESS!!!! Update: Still with Build failure for PPC405 using crosstool-ng-1.9.2


On Sat, Jan 22, 2011 at 10:12 AM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Bryan, Anthony, Khem, All,
>
> On Friday 21 January 2011 02:38:24 Bryan Hundven wrote:
>> On Thu, Jan 20, 2011 at 5:06 PM, Chris Kerios <ckerios@cfl.rr.com> wrote:
>> > After putting in the compiler config parameter Bryan sent, it went all the
>> > way through. ÂYea!
>
> Great! Happy that it turned out OK on your system! :-)
>
>> > > > 2) Applied CLoog/ppl patch referenced in earlier emails
>> This should be in 1.9 tip:
>> http://ymorin.is-a-geek.org/hg/crosstool-ng/rev/2b25e1dab615
>
> Yes it is.
>
>> So it will be in 1.9.3
>
> There's only one patch against 1.9.2, so I'm not ready to release 1.9.3 yet.
> Probably by the end of the month, just before the next main release.
>
>> and 2.0(?)...
>
> I'm not sure the changes in the tree would warrant a major hopt, so I think
> it'll be 1.10.0. The glibc/eglibc unification will be in, but the canadian
> and companion libraries stuff won't. I would prefer to have those two in
> before I cut out a major release.

That's why I added the question mark ;)

>> > 4) Set library for eglibc instead of glibc <- don't know if it makes a
>> > difference, will have to run some more builds to see.
>> Shouldn't make a difference. eglibc is source compatible with glibc. (in theory)
>
> eglibc is a little bit more than that. For example, they have patches for
> some PPC variants that haven't gone (and will probably never go) upstream.
> Besides, eglibc is configurable, while glibc is not.
>
> But basically, they are roughly the same.
>
>> > 5) Set CT_LIBC_GLIBC_EXTRA_CFLAGS="-U_FORTIFY_SOURCE"
>> I'm thinking we should just turn this on for all (e)glibc builds. If
>> we build with SSP enabled, we have to do other thing here instead to
>> build (e)glibc properly with ssp.
>
> Granted. Either we hard-code it, or we offer a comfig knob to turn it off/on,
> with off being the default.
>
> And anyway, SSP requires a bit more that just this fortify define (see
> a recent thread on the list).

as I said...
"If we build with SSP enabled, we have to do other thing here instead
to build (e)glibc properly with ssp."

I think I understand the other thread on this topic very well, and I
believe I am waiting for a response from you regarding re-organising
how patches work.

>> > 6) Current versions of everything: gcc=4.4.4, binutils=2.19.1, eglic=2.10
>> > everything else set to defaults
>> > 7) Didn't ask for Java or Fortran to be built
>> > Seems to me the real issues to be fixed are the make problem and maybe some
>> > default setting changes or documentation updates in regards to #3 and
>> > #5...and making sure to CLoog/ppl patch makes it into the next release.
>> See notes above.
>
> Also, I would point out that there is an existing working sample for PPC405:
> Â# ct-ng show-powerpc-405-linux-gnu
> Âpowerpc-405-linux-gnu Â[G Â]
> Â Â ÂOS Â Â Â Â Â Â : linux-2.6.31.14
> Â Â ÂCompanion libs : gmp-4.3.2 mpfr-2.4.2
>   Âbinutils    : binutils-2.19.1
>   ÂC compiler   : gcc-4.3.2 (C,C++,Fortran,Java)
>   ÂC library   Â: glibc-2.9
>   ÂTools     Â: dmalloc-5.5.2 duma-2_5_15 gdb-6.8
>
> Which you can use to pre-configure your toolchain by simply running:
> Â# ct-ng powerpc-405-linux-gnu
> Â[--SNIP--]
> Â***********************************************************
>
> ÂInitially reported by: Julien DUSSER
> ÂURL: http://sourceware.org/ml/crossgcc/2008-10/msg00054.html
>
> ÂComment:
> ÂSoft-float for the 405 PowerPC
>
> Â***********************************************************
>
> ÂNow configured for "powerpc-405-linux-gnu"

This is where the entire thread started. I'm glad we made it full-circle. :-D

> Then you can run the menuconfig to tweak for your own usage.
>
> 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]