On Sunday 28 February 2010, David Brownell wrote:
> On Sunday 28 February 2010, Antonio Borneo wrote:
> > Same compile issue with old Fedora 6, gcc version 4.1.1 20061011 (Red
> > Hat 4.1.1-30)

And just now with an Ubuntu that has

        gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

and also a newer Ubuntu with:

        gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2


> > 
> > Dave,
> > could you please report gcc version in your cygwin?
> 
> "gcc -v" says:  gcc (GCC) 4.3.4 20090804 (release) 1
> 
> ... and that should be the latest version for cygwin.
> 
> - Dave
> 
> 
> 
> > Best Regards,
> > Antonio Borneo
> > 
> > On Mon, Mar 1, 2010 at 12:13 PM, David Brownell <[email protected]> wrote:
> > > A test build (cygwin, as it happened) after your latest commits gives me:
> > >
> > >
> > > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -g -O2 
> > > -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter 
> > > -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT 
> > > arm_semihosting.lo -MD -MP -MF .deps/arm_semihosting.Tpo -c 
> > > arm_semihosting.c -o arm_semihosting.o
> > > cc1: warnings being treated as errors
> > > arm_semihosting.c: In function ‘do_semihosting’:
> > > arm_semihosting.c:71: error: ‘spsr’ may be used uninitialized in this 
> > > function
> > > arm_semihosting.c:71: error: ‘lr’ may be used uninitialized in this 
> > > function
> > > make[5]: *** [arm_semihosting.lo] Error 1
> > >
> > > Didn't track it down.  CM3 has no SPSR of course.  And I'm not
> > > clear on why access to LR should care about specifying some mode
> > > explicitly ... instead of just using the currnt LR.
> > >
> > > - Dave
> > 
> > 
> 
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to