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


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: [PATCH] Xilinx MicroBlaze support (2 of 2)


Hi Jeff and Michael,

What version of newlib this patch should be applied to?

I got newlib-1.17.0 and applied the patchs, but I am having problems during
compilation.

I am using microblaze-gcc 4.3.4 cvs branch with the following config:

 ../gcc-4.3.4-microblaze/configure --target=microblaze
--prefix=/export/microblaze/gcc-4.3.4 --program-prefix=microblaze-
--enable-languages=c --disable-libssp

and the error I have is:

/export/tmp/newlib-1.17.0/newlib/libc/include/assert.h: In function
â__assert_funcâ:
/export/tmp/newlib-1.17.0/newlib/libc/include/assert.h:41: internal compiler
error: Segmentation fault

I know it seems a badly built compiler, but first i tried with
microblaze-gcc-4.4.2 cvs branch and I had the same error. For the same
configuration.

Removing the __assert_func declaration, the compilation still results in a
Seg. fault, but in other place:

/export/tmp/newlib-1.17.0/newlib/libc/include/stdlib.h: In function
â_dtoa_râ:
/export/tmp/newlib-1.17.0/newlib/libc/include/stdlib.h:187: internal
compiler error: Segmentation fault

And removing this, i have another seg. fault in other place....

Can you point a direction?

I am trying to build the following tools for microblaze:

binutils-2.20->microblaze-gcc-4.3.4->newlib-1.17.0->uclinux

Many thanks for your attention.

Michael Eager wrote:
> 
> 
> -- 
> Michael Eager	 eager@eagercon.com
> 1960 Park Blvd., Palo Alto, CA 94306  650-325-8077
> 
>  
> 

-- 
View this message in context: http://old.nabble.com/-PATCH--Xilinx-MicroBlaze-support-%281-of-2%29-tp25517036p26942999.html
Sent from the Sourceware - newlib list mailing list archive at Nabble.com.


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