All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
@ 2020-06-26 14:07 David CARLIER
  2020-09-26  7:55 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 5+ messages in thread
From: David CARLIER @ 2020-06-26 14:07 UTC (permalink / raw)
  To: QEMU Trivial, qemu-devel

From 95ef79ddff73eebd1f1bec6673c2c68209fab107 Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen@gmail.com>
Date: Fri, 26 Jun 2020 13:56:14 +0000
Subject: [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
 failure.

Signed-off-by: David Carlier <devnexen@gmail.com>
---
 include/qemu/bswap.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index 2a9f3fe783..1d3e4c24e4 100644
--- a/include/qemu/bswap.h
+++ b/include/qemu/bswap.h
@@ -8,6 +8,8 @@
 # include <machine/bswap.h>
 #elif defined(__FreeBSD__)
 # include <sys/endian.h>
+#elif defined(__HAIKU__)
+# include <endian.h>
 #elif defined(CONFIG_BYTESWAP_H)
 # include <byteswap.h>

-- 
2.26.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
  2020-06-26 14:07 [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build David CARLIER
@ 2020-09-26  7:55 ` Philippe Mathieu-Daudé
  2020-09-26  8:27   ` David CARLIER
  0 siblings, 1 reply; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-26  7:55 UTC (permalink / raw)
  To: David CARLIER; +Cc: QEMU Trivial, qemu-devel

Hi David,

On Fri, Jun 26, 2020 at 4:08 PM David CARLIER <devnexen@gmail.com> wrote:
>
> From 95ef79ddff73eebd1f1bec6673c2c68209fab107 Mon Sep 17 00:00:00 2001
> From: David Carlier <devnexen@gmail.com>
> Date: Fri, 26 Jun 2020 13:56:14 +0000
> Subject: [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
>  failure.

Back to this patch, what version of Haiku are you using?
I couldn't find this information in your other emails.
Thanks,
Phil.

>
> Signed-off-by: David Carlier <devnexen@gmail.com>
> ---
>  include/qemu/bswap.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
> index 2a9f3fe783..1d3e4c24e4 100644
> --- a/include/qemu/bswap.h
> +++ b/include/qemu/bswap.h
> @@ -8,6 +8,8 @@
>  # include <machine/bswap.h>
>  #elif defined(__FreeBSD__)
>  # include <sys/endian.h>
> +#elif defined(__HAIKU__)
> +# include <endian.h>
>  #elif defined(CONFIG_BYTESWAP_H)
>  # include <byteswap.h>
>
> --
> 2.26.0
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
  2020-09-26  7:55 ` Philippe Mathieu-Daudé
@ 2020-09-26  8:27   ` David CARLIER
  2020-09-26 10:31     ` Carlo Arenas
  0 siblings, 1 reply; 5+ messages in thread
From: David CARLIER @ 2020-09-26  8:27 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: QEMU Trivial, qemu-devel

Hi the last image available the beta 2.

Regards.

On Sat, 26 Sep 2020 at 08:56, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>
> Hi David,
>
> On Fri, Jun 26, 2020 at 4:08 PM David CARLIER <devnexen@gmail.com> wrote:
> >
> > From 95ef79ddff73eebd1f1bec6673c2c68209fab107 Mon Sep 17 00:00:00 2001
> > From: David Carlier <devnexen@gmail.com>
> > Date: Fri, 26 Jun 2020 13:56:14 +0000
> > Subject: [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
> >  failure.
>
> Back to this patch, what version of Haiku are you using?
> I couldn't find this information in your other emails.
> Thanks,
> Phil.
>
> >
> > Signed-off-by: David Carlier <devnexen@gmail.com>
> > ---
> >  include/qemu/bswap.h | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
> > index 2a9f3fe783..1d3e4c24e4 100644
> > --- a/include/qemu/bswap.h
> > +++ b/include/qemu/bswap.h
> > @@ -8,6 +8,8 @@
> >  # include <machine/bswap.h>
> >  #elif defined(__FreeBSD__)
> >  # include <sys/endian.h>
> > +#elif defined(__HAIKU__)
> > +# include <endian.h>
> >  #elif defined(CONFIG_BYTESWAP_H)
> >  # include <byteswap.h>
> >
> > --
> > 2.26.0
> >
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
  2020-09-26  8:27   ` David CARLIER
@ 2020-09-26 10:31     ` Carlo Arenas
  2020-09-26 11:22       ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 5+ messages in thread
From: Carlo Arenas @ 2020-09-26 10:31 UTC (permalink / raw)
  To: David CARLIER; +Cc: QEMU Trivial, Philippe Mathieu-Daudé, qemu-devel

FWIW the 32 bit image (haiku-r1beta2-x86_gcc2h-anyboot.zip[1]), uses
gcc 2.95.3 as system CC
a newer gcc (the same version that is used for the 64 bit port) is
provided as an alternative though

Carlo

[1] https://www.haiku-os.org/get-haiku/r1beta2/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build
  2020-09-26 10:31     ` Carlo Arenas
@ 2020-09-26 11:22       ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-26 11:22 UTC (permalink / raw)
  To: Carlo Arenas, David CARLIER; +Cc: QEMU Trivial, qemu-devel

On 9/26/20 12:31 PM, Carlo Arenas wrote:
> FWIW the 32 bit image (haiku-r1beta2-x86_gcc2h-anyboot.zip[1]), uses
> gcc 2.95.3 as system CC
> a newer gcc (the same version that is used for the 64 bit port) is
> provided as an alternative though

This GCC is too old to build QEMU: since commit efc6c070aca
GCC 4.8 is required.

The image provided by David (Haiku shredder 1 hrev54154+115)
provides GCC 8.3.

> 
> Carlo
> 
> [1] https://www.haiku-os.org/get-haiku/r1beta2/
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-26 11:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-26 14:07 [PATCH 1/3] Include endian.h for Haiku to solve bswap* macros build David CARLIER
2020-09-26  7:55 ` Philippe Mathieu-Daudé
2020-09-26  8:27   ` David CARLIER
2020-09-26 10:31     ` Carlo Arenas
2020-09-26 11:22       ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.