Greetings!

Wookey <[EMAIL PROTECTED]> writes:

> On 2007-12-03 10:34 -0500, Camm Maguire wrote:
> > Greetings!  Thanks to Wookey's generous machine support, I believe
> > this bug is now closed with the latest uploads.
> > 
> > The arm binary file format apparently changed with gcc-4.2.  I had to
> > install a local version or gcc-4.2 to reproduce.  The solution is to
> > incorporate the latest binutils as well.  Still a bit mysteriously,
> > gcc-4.2 produces code giving an illegal instruction on Wookey's
> > netwinder.
> 
> Hmm. I bet something is putting out instuctions newer than v4 (A
> netwinder CPu (SA110) has an ARM v4 instruction set. This is
> (arguably) OK on armel, but should not be happening on arm - debian
> arm is still built to the ARM v4 spec.
> 

Just checking here -- this is still correct for flushing the
instruction caches?

#define CLEAR_CACHE do {\
  void *v=memory->cfd.cfd_start,*ve=v+memory->cfd.cfd_size; \
  register unsigned long _beg __asm ("a1") = (unsigned long)(v);        \
  register unsigned long _end __asm ("a2") = (unsigned long)(ve);\
  register unsigned long _flg __asm ("a3") = 0;                 \
  __asm __volatile ("swi 0x9f0002               @ sys_cacheflush"       \
                    : "=r" (_beg)                               \
                    : "0" (_beg), "r" (_end), "r"(_flg));       \
} while (0)


I assume so, as it is working for gcl 2.6.7, but I still get for
2.7.0:

;; Compiling ../lsp/gcl_listlib.lsp.
;; End of Pass 1.  
;; End of Pass 2.  
;; OPTIMIZE levels: Safety=3, Space=0, Speed=3, (Debug quality ignored)
;; Finished compiling ../lsp/gcl_listlib.o.
;; Loading /build/buildd/gclcvs-2.7.0/lsp/gcl_listlib.o
/bin/sh: line 1: 32335 Done                    echo '(time (let ((*features* 
(cons :pre-gcl *features*)))(load "boot.lisp")))'
     32336 Illegal instruction     | ./saved_pre_gcl


Take care,

> > I guessed that this was a local installation issue,
> > apparently correctly, as gcl has autobuilt successfully on arm with
> > the latest gcc and binutils.  Would be nice to get a gcc-4.2 working
> > on this test machine, though, as it appears the only arm development
> > machine in the Debian world at the moment.
> 
> OK. I'll take alook at that. I'll be providing another (faster)
> debian-arm machine for building very soon. Should be done by the end
> of this week.
> 
> Wookey
> -- 
> Principal hats:  Balloonz - Toby Churchill - Aleph One - Debian
> http://wookware.org/
> 
> 
> 
> 
> 

-- 
Camm Maguire                                            [EMAIL PROTECTED]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to