All of lore.kernel.org
 help / color / mirror / Atom feed
* Microblaze gcc 4.5.0 support
@ 2010-05-17 18:38 Adrian Alonso
  2010-05-17 19:01 ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian Alonso @ 2010-05-17 18:38 UTC (permalink / raw)
  To: openembedded-devel

Hi, I been working on adding OE support for microblaze arch
I have a repo in gitorious [1] holding the changes I made so far;
trying to build console-image fails on gcc-cross-initial compilation
with the error shown on log [2]
"configure: error: cannot compute suffix of object files: cannot compile"

I also update gcc-svn.inc recipe to use gcc-microblaze branch
SRC_URI_xlnx-mb-gen = "svn://gcc.gnu.org/svn/gcc/branches;module=microblaze
And I get the same error shown in gcc-4.5.0

From log error I see that OE is generates the suffix info but fails for
microblaze arch

   1.  set -e; for ml in `cat fixinc_list`; do \
   2. |         sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
   3. |         multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
   4. |         fix_dir=include-fixed${multi_dir}; \


Can some one help me out figuring what is missing??


[1] http://gitorious.org/oe-microblaze/oe-microblaze
<http://gitorious.org/oe-microblaze/oe-microblaze>[2]
http://pastebin.com/kqC8AP1s

-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Microblaze gcc 4.5.0 support
  2010-05-17 18:38 Microblaze gcc 4.5.0 support Adrian Alonso
@ 2010-05-17 19:01 ` Khem Raj
  2010-05-17 19:14   ` Adrian Alonso
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2010-05-17 19:01 UTC (permalink / raw)
  To: openembedded-devel

On (17/05/10 13:38), Adrian Alonso wrote:
> Hi, I been working on adding OE support for microblaze arch
> I have a repo in gitorious [1] holding the changes I made so far;
> trying to build console-image fails on gcc-cross-initial compilation
> with the error shown on log [2]
> "configure: error: cannot compute suffix of object files: cannot compile"
> 

Care to provide config.log ?

> I also update gcc-svn.inc recipe to use gcc-microblaze branch
> SRC_URI_xlnx-mb-gen = "svn://gcc.gnu.org/svn/gcc/branches;module=microblaze
> And I get the same error shown in gcc-4.5.0
> 
> From log error I see that OE is generates the suffix info but fails for
> microblaze arch
> 
>    1.  set -e; for ml in `cat fixinc_list`; do \
>    2. |         sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
>    3. |         multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
>    4. |         fix_dir=include-fixed${multi_dir}; \
> 
> 
> Can some one help me out figuring what is missing??
> 
> 
> [1] http://gitorious.org/oe-microblaze/oe-microblaze
> <http://gitorious.org/oe-microblaze/oe-microblaze>[2]
> http://pastebin.com/kqC8AP1s
> 
> -- 
> Saludos
> Adrian Alonso
> http://aalonso.wordpress.com
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Microblaze gcc 4.5.0 support
  2010-05-17 19:01 ` Khem Raj
@ 2010-05-17 19:14   ` Adrian Alonso
  2010-05-17 19:18     ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian Alonso @ 2010-05-17 19:14 UTC (permalink / raw)
  To: openembedded-devel

Hi Khem,

log.do_configure at http://pastebin.com/AjAtfnpu
log.do_compile at http://pastebin.com/bqAmHvuu

Regards

On Mon, May 17, 2010 at 2:01 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On (17/05/10 13:38), Adrian Alonso wrote:
> > Hi, I been working on adding OE support for microblaze arch
> > I have a repo in gitorious [1] holding the changes I made so far;
> > trying to build console-image fails on gcc-cross-initial compilation
> > with the error shown on log [2]
> > "configure: error: cannot compute suffix of object files: cannot compile"
> >
>
> Care to provide config.log ?
>
> > I also update gcc-svn.inc recipe to use gcc-microblaze branch
> > SRC_URI_xlnx-mb-gen = "svn://
> gcc.gnu.org/svn/gcc/branches;module=microblaze
> > And I get the same error shown in gcc-4.5.0
> >
> > From log error I see that OE is generates the suffix info but fails for
> > microblaze arch
> >
> >    1.  set -e; for ml in `cat fixinc_list`; do \
> >    2. |         sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`;
> \
> >    3. |         multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
> >    4. |         fix_dir=include-fixed${multi_dir}; \
> >
> >
> > Can some one help me out figuring what is missing??
> >
> >
> > [1] http://gitorious.org/oe-microblaze/oe-microblaze
> > <http://gitorious.org/oe-microblaze/oe-microblaze>[2]
> > http://pastebin.com/kqC8AP1s
> >
> > --
> > Saludos
> > Adrian Alonso
> > http://aalonso.wordpress.com
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Microblaze gcc 4.5.0 support
  2010-05-17 19:14   ` Adrian Alonso
@ 2010-05-17 19:18     ` Khem Raj
  2010-05-17 19:29       ` Adrian Alonso
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2010-05-17 19:18 UTC (permalink / raw)
  To: openembedded-devel

On (17/05/10 14:14), Adrian Alonso wrote:
> Hi Khem,
> 
> log.do_configure at http://pastebin.com/AjAtfnpu
> log.do_compile at http://pastebin.com/bqAmHvuu

post config.log from inside the gcc build tree.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Microblaze gcc 4.5.0 support
  2010-05-17 19:18     ` Khem Raj
@ 2010-05-17 19:29       ` Adrian Alonso
  2010-05-17 19:41         ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian Alonso @ 2010-05-17 19:29 UTC (permalink / raw)
  To: openembedded-devel

config.log http://pastebin.com/HjkNWXJP

On Mon, May 17, 2010 at 2:18 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On (17/05/10 14:14), Adrian Alonso wrote:
> > Hi Khem,
> >
> > log.do_configure at http://pastebin.com/AjAtfnpu
> > log.do_compile at http://pastebin.com/bqAmHvuu
>
> post config.log from inside the gcc build tree.
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Microblaze gcc 4.5.0 support
  2010-05-17 19:29       ` Adrian Alonso
@ 2010-05-17 19:41         ` Khem Raj
  2010-05-17 19:57           ` Adrian Alonso
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2010-05-17 19:41 UTC (permalink / raw)
  To: openembedded-devel

On (17/05/10 14:29), Adrian Alonso wrote:
> config.log http://pastebin.com/HjkNWXJP

ok one more time post config.log from libgcc build directory

> 
> On Mon, May 17, 2010 at 2:18 PM, Khem Raj <raj.khem@gmail.com> wrote:
> 
> > On (17/05/10 14:14), Adrian Alonso wrote:
> > > Hi Khem,
> > >
> > > log.do_configure at http://pastebin.com/AjAtfnpu
> > > log.do_compile at http://pastebin.com/bqAmHvuu
> >
> > post config.log from inside the gcc build tree.
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
> 
> 
> 
> -- 
> Saludos
> Adrian Alonso
> http://aalonso.wordpress.com
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Microblaze gcc 4.5.0 support
  2010-05-17 19:41         ` Khem Raj
@ 2010-05-17 19:57           ` Adrian Alonso
  2010-05-17 20:49             ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Adrian Alonso @ 2010-05-17 19:57 UTC (permalink / raw)
  To: openembedded-devel

libgcc config.log http://pastebin.com/3mLhBMNP

<http://pastebin.com/3mLhBMNP>I see the error
conftest.c:1:0: error: 'microblaze' is an invalid argument to -mcpu=

I guess that this is causing the compile failure...

On Mon, May 17, 2010 at 2:41 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On (17/05/10 14:29), Adrian Alonso wrote:
> > config.log http://pastebin.com/HjkNWXJP
>
> ok one more time post config.log from libgcc build directory
>
> >
> > On Mon, May 17, 2010 at 2:18 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >
> > > On (17/05/10 14:14), Adrian Alonso wrote:
> > > > Hi Khem,
> > > >
> > > > log.do_configure at http://pastebin.com/AjAtfnpu
> > > > log.do_compile at http://pastebin.com/bqAmHvuu
> > >
> > > post config.log from inside the gcc build tree.
> > >
> > >
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> > >
> >
> >
> >
> > --
> > Saludos
> > Adrian Alonso
> > http://aalonso.wordpress.com
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Microblaze gcc 4.5.0 support
  2010-05-17 19:57           ` Adrian Alonso
@ 2010-05-17 20:49             ` Khem Raj
  2010-05-18  0:47               ` Adrian Alonso
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2010-05-17 20:49 UTC (permalink / raw)
  To: openembedded-devel

On (17/05/10 14:57), Adrian Alonso wrote:
> libgcc config.log http://pastebin.com/3mLhBMNP
> 
> <http://pastebin.com/3mLhBMNP>I see the error
> conftest.c:1:0: error: 'microblaze' is an invalid argument to -mcpu=

yeah :). So you know what to do next time you have a gcc configure error.
I think microblaze support is still on a branch in gcc. You
will be better off using the branch or get the diff of the
branch over gcc 4.5.0

-Khem



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Microblaze gcc 4.5.0 support
  2010-05-17 20:49             ` Khem Raj
@ 2010-05-18  0:47               ` Adrian Alonso
  0 siblings, 0 replies; 9+ messages in thread
From: Adrian Alonso @ 2010-05-18  0:47 UTC (permalink / raw)
  To: openembedded-devel

On Mon, May 17, 2010 at 3:49 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On (17/05/10 14:57), Adrian Alonso wrote:
> > libgcc config.log http://pastebin.com/3mLhBMNP
> >
> > <http://pastebin.com/3mLhBMNP>I see the error
> > conftest.c:1:0: error: 'microblaze' is an invalid argument to -mcpu=
>
> yeah :). So you know what to do next time you have a gcc configure error.
>
Yep thanks for your help :)

> I think microblaze support is still on a branch in gcc. You
> will be better off using the branch or get the diff of the
> branch over gcc 4.5.0
>
Yes that's what I'm doing I include in gcc-svn.inc the src_uri for
gcc-microblaze branch,
and have a set patchs for gcc-4.5.0. Changes are in my oe repo [1]

Adding the correct option for mcpu fix the previous error but I'm getting a
new diefferent
error, I going to search on petalogix mailing list for answers since they
are the ones working
actively in microblaze linux support..

[1] http://gitorious.org/oe-microblaze

Regards


> -Khem
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-05-18  0:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 18:38 Microblaze gcc 4.5.0 support Adrian Alonso
2010-05-17 19:01 ` Khem Raj
2010-05-17 19:14   ` Adrian Alonso
2010-05-17 19:18     ` Khem Raj
2010-05-17 19:29       ` Adrian Alonso
2010-05-17 19:41         ` Khem Raj
2010-05-17 19:57           ` Adrian Alonso
2010-05-17 20:49             ` Khem Raj
2010-05-18  0:47               ` Adrian Alonso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.