Bug#586026: u-boot: FTBFS on sh4: wrongly detects cross-compilation

2010-06-15 Thread Paul Mundt
On Tue, Jun 15, 2010 at 10:18:51PM +0200, Aurelien Jarno wrote: > Package: u-boot > Version: 2010.06~rc1-6 > Severity: normal > User: debian-...@superh.org > Usertags: sh4 > > u-boot currently fails to build on SH4, as cross-compilation is > detected, and sh4-linux-gcc is then called. This can si

Bug#561891: Fwd: Bug#561891: Please support sh4

2009-12-21 Thread Paul Mundt
On Tue, Dec 22, 2009 at 06:20:41AM +0900, Paul Mundt wrote: > On Mon, Dec 21, 2009 at 10:16:40PM +0100, Jens Axboe wrote: > > On Tue, Dec 22 2009, Paul Mundt wrote: > > > SH-4A supports synco, SH-4 does not. SH-4A is based on the SH-4, but has > > > a lot of new instr

Bug#561891: Fwd: Bug#561891: Please support sh4

2009-12-21 Thread Paul Mundt
On Mon, Dec 21, 2009 at 10:16:40PM +0100, Jens Axboe wrote: > On Tue, Dec 22 2009, Paul Mundt wrote: > > SH-4A supports synco, SH-4 does not. SH-4A is based on the SH-4, but has > > a lot of new instructions and so forth. Folks like to treat them the same > > so as to keep th

Bug#561891: Fwd: Bug#561891: Please support sh4

2009-12-21 Thread Paul Mundt
On Tue, Dec 22, 2009 at 05:47:46AM +0900, Nobuhiro Iwamatsu wrote: > +#define nop __asm__ __volatile__ ("nop": : :"memory") > +#define read_barrier() __asm__ __volatile__ (" " : : : "memory") > +#define write_barrier() __asm__ __volatile__ (" " : : : "memory") This is true for SH-4, b

Bug#561891: Fwd: Bug#561891: Please support sh4

2009-12-21 Thread Paul Mundt
On Mon, Dec 21, 2009 at 09:57:21PM +0100, Jens Axboe wrote: > On Tue, Dec 22 2009, Paul Mundt wrote: > > On Tue, Dec 22, 2009 at 05:47:46AM +0900, Nobuhiro Iwamatsu wrote: > > > +#define nop __asm__ __volatile__ ("nop": : :"memory") > > >