This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: FW: wrong code generation in newlib 1.1.14 PPC ?!
- From: Sriharsha <sriharsha dot v at redpinesignals dot com>
- To: newlib at sources dot redhat dot com
- Cc: Frank Juergen-r58616 <Juergen dot Frank at freescale dot com>
- Date: Thu, 12 Jan 2006 16:03:14 +0530
- Subject: Re: FW: wrong code generation in newlib 1.1.14 PPC ?!
- References: <DF02D66C37C26B4C8018BF84F0E37FEC0B144781@zwg18exm01.ea.freescale.net>
Just for understanding, do you mean to say that the compiler is
generating two different codes for a same function, one present in
newlib and the other is the one you've written? This is strange !! One
thing that I might consider looking at is optimization switch used to
compile both the versions. Is everything (being used for compilation)
the same at command-line?
Sriharsha.
Frank Juergen-r58616 wrote:
Hi !!
I generate my own version of gcc and newlib for the PowerPC.
If I compile and link my program it looks good, but if I execute the code it crashes !! Ok I debug and find out that the compiler generate wrong opcodes but I compile and create everything with the same cpu option ( mcpu=603e ). So what kind of problem is this ... has anyone else similar effects ?
I see this problem only in the newlib functions not in my own program code ?!
thank you for your help