[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Bug#561891: Please support sh4



On Mon, Dec 21 2009, Martin Steigerwald wrote:
> 
> Hello Jens,
> 
> Can you have a look at the following build fix? It looks reasonable for me.
> 
> I hope I will make time to create an update to the package real soon. Have 
> some discussions with git and maybe pristine-tar to solve tough (merge 
> conflicts where they shouldn't be any).
> 
> If you release with this patch upstream, I will take it from you. Otherwise I 
> will temporarily include it in the Debian package.

I seem to be missing some bits, I don't have sh support integrated. Is
there a predecessor to this patch?

> 
> Ciao,
> Martin
> 
> ----------  Weitergeleitete Nachricht  ----------
> 
> Betreff: Bug#561891: Please support sh4
> Datum: Montag, 21. Dezember 2009
> Von: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> An: Debian Bug Tracking System <submit@bugs.debian.org>
> 
> Package: fio
> Version: 1.33.1-1
> Severity: important
> User: debian-sh4@superh.org
> Tags: patch
> Usertags: sh4
> X-Debbugs-CC: debian-superh@lists.debian.org
> 
> Hi,
> 
> I am now trying to run Debian on Renesas SH(sh4) CPU.
> http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4
> 
> fio FTBFS on sh4.
> Because fio supports SuperH, but information is not enough in header
> file (arch/arch.h).
> 
> -----
> # Add here commands to compile the package.
> /usr/bin/make
> make[1]: Entering directory `/build/buildd-fio_1.33.1-1-sh4-NFt0ru/fio-1.33.1'
>    CC gettime.o
> In file included from fio.h:22,
>                 from gettime.c:8:
> arch/arch.h:37:2: error: #error "Unsupported arch"
> make[1]: *** [gettime.o] Error 1
> -----
> 
> I created patch which revised this problem.
> Could you check and apply this patch?
> 
> Best regards,
>  Nobuhiro
> 
> --
> Nobuhiro Iwamatsu
>   iwamatsu at {nigauri.org / debian.org}
>   GPG ID: 40AD1FA6
> 
> -------------------------------------------------------
> 
> -- 
> Martin Steigerwald
> Trainer / Consultant / System Engineer
> 
> team(ix) GmbH
> Solide IT-Infrastruktur
> Südwestpark 35
> 90449 Nürnberg
> 
> fon:   +49 (911) 30999- 0
> fax:   +49 (911) 30999-99
> mail:  ms@teamix.de
> web:   http://www.teamix.de
> vcf:   http://www.teamix.de/vcf/ms.vcf
> gpg:   19E3 8D42 896F D004 08AC
>        A0CA 1E10 C593 0399 AE90
> 
> Amtsgericht Nürnberg, HRB 18320
> Geschäftsführer: Oliver Kügow, Richard Müller

> diff -urN fio-1.33.1/arch/arch-sh.h fio-1.33.1.sh4/arch/arch-sh.h
> --- fio-1.33.1/arch/arch-sh.h	2009-12-21 10:48:12.000000000 +0900
> +++ fio-1.33.1.sh4/arch/arch-sh.h	2009-12-21 10:35:56.000000000 +0900
> @@ -25,5 +25,3 @@
>  #define write_barrier()	__asm__ __volatile__ (" " : : : "memory")
>  
>  #endif
> -
> -#endif
> diff -urN fio-1.33.1/arch/arch.h fio-1.33.1.sh4/arch/arch.h
> --- fio-1.33.1/arch/arch.h	2009-09-10 17:30:19.000000000 +0900
> +++ fio-1.33.1.sh4/arch/arch.h	2009-12-21 10:35:25.000000000 +0900
> @@ -33,6 +33,8 @@
>  #include "arch-arm.h"
>  #elif defined(__mips__) || defined(__mips64__)
>  #include "arch-mips.h"
> +#elif defined(__sh__)
> +#include "arch-sh.h"
>  #else
>  #error "Unsupported arch"
>  #endif




-- 
Jens Axboe


Reply to: