[PATCH 1/2 v5] Configure script for Haiku

2021-07-20 Thread Richard Zak
Signed-off-by: Richard Zak --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 232c54dcc1..163af793e9 100755 --- a/configure +++ b/configure @@ -768,7 +768,8 @@ SunOS) ;; Haiku) haiku="yes" - Q

[PATCH 1/2 v4] Configure script for Haiku

2021-07-16 Thread Richard Zak
This refers to the email from a few weeks ago, regarding TPM & Haiku. It seems the assertion failure isn't really about the TPM, but about disabling PIE and adding -fPIC. There's discussion on the Haiku forum[1] about the incompatibility with PIE, and this fixes the assertion failure without

Re: pipe2 & configure script

2021-07-07 Thread Richard Zak
În mie., 7 iul. 2021 la 10:32, Paolo Bonzini a scris: > On 07/07/21 05:24, Richard Zak wrote: > > What conditions are required for "#define CONFIG_PIPE2" to be set in > > build/config-host.h? It prevents building for Haiku as pipe2() doesn't > > exist. I didn'

pipe2 & configure script

2021-07-06 Thread Richard Zak
What conditions are required for "#define CONFIG_PIPE2" to be set in build/config-host.h? It prevents building for Haiku as pipe2() doesn't exist. I didn't see anything in the configure script regarding pipe2. I also updated my code to the latest in the repository and this issue just popped up.

Re: [PATCH 1/2 v3] Configure script for Haiku

2021-07-05 Thread Richard Zak
qemu_set_current_aio_context() !my_aiocontext. I haven't yet figured out why though, but disabling TPM might be best, and there's precedent for it as it's disabled if compiling for Windows. În dum., 4 iul. 2021 la 14:29, Richard Zak a scris: > > În dum., 4 iul. 2021 la 13:11, Peter Maydell a &

Re: [PATCH 1/2 v3] Configure script for Haiku

2021-07-04 Thread Richard Zak
În dum., 4 iul. 2021 la 13:11, Peter Maydell a scris: > On Sun, 4 Jul 2021 at 17:44, Richard Zak wrote: > > > > Use system capstone, for which a port is maintained by Haiku. Disable > TPM which isn't supported. > > > > Signed-off-by: Richard Zak > > --

Re: [PATCH 1/2] Fix for Haiku

2021-07-04 Thread Richard Zak
În dum., 4 iul. 2021 la 12:51, Thomas Huth a scris: > On 04/07/2021 18.39, Richard Zak wrote: > > Regarding upside down text, where did that occur? I certainly didn't do > that > > intentionally. Maybe an encoding error somewhere? > > That was meant as a humorous way to s

[PATCH 1/2 v3] Configure script for Haiku

2021-07-04 Thread Richard Zak
Use system capstone, for which a port is maintained by Haiku. Disable TPM which isn't supported. Signed-off-by: Richard Zak --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index e799d908a3..c928071f69 100755 --- a/configure +++ b/configure @@ -358,6

Re: [PATCH 1/2] Fix for Haiku

2021-07-04 Thread Richard Zak
., 4 iul. 2021 la 12:23, Thomas Huth a scris: > > Meta comment: Please avoid > ƃuıʇsod uʍop ǝpısdn > ... it makes threads much harder to read. > > On 04/07/2021 16.20, Richard Zak wrote: > > Exactly. One of the developers on the Haiku forum shared with me the > patch &

Re: [PATCH 2/2 v2] Fix SHELL variable in Makefile for Haiku

2021-07-04 Thread Richard Zak
Yes, that would have been fine, but I don't know why that wasn't done previously. Someone else had put in the full path to env for bash, so I didn't want to change something which may have been intentional. În dum., 4 iul. 2021 la 12:19, Thomas Huth a scris: > On 04/07/2021 16.28, Richard

[PATCH 2/2 v2] Fix SHELL variable in Makefile for Haiku

2021-07-04 Thread Richard Zak
Signed-off-by: Richard Zak --- Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 30f19d33bb..37124410da 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,13 @@ SRC_PATH=. # we have explicit rules for everything MAKEFLAGS += -rR

Re: [PATCH 2/2] Fix for Haiku

2021-07-04 Thread Richard Zak
thieu-Daudé a scris: > On 7/4/21 12:00 PM, Philippe Mathieu-Daudé wrote: > > On 7/3/21 11:12 PM, Richard Zak wrote: > >> Fix for path to env > >> > >> Signed-off-by: Richard Zak >> <mailto:richard.j@gmail.com>> > >> --- > >>

Re: [PATCH 1/2] Fix for Haiku

2021-07-04 Thread Richard Zak
ote: > > On 7/4/21 11:03 AM, Philippe Mathieu-Daudé wrote: > >> On 7/4/21 12:06 AM, Richard Zak wrote: > >>> For MIPS (all sub-targets, 64-bit and EL) & xtensa(eb), the compiler > >>> complains about running out of memory. Best I can see, that's not what > &

[Patch 1/2 v2] Fix for Haiku

2021-07-03 Thread Richard Zak
Based on feedback from prior email Signed-off-by: Richard Zak --- configure | 4 1 file changed, 4 insertions(+) diff --git a/configure b/configure index e799d908a3..8384e22ba3 100755 --- a/configure +++ b/configure @@ -358,6 +358,7 @@ oss_lib="" bsd="no" linux="

Re: [PATCH 1/2] Fix for Haiku

2021-07-03 Thread Richard Zak
nd it properly, so I'll remove the "finddir" command and test again. TPM and "finddir" command in Haiku's recipe for qemu: https://github.com/haikuports/haikuports/blob/master/app-emulation/qemu/qemu-6.0.0.recipe În sâm., 3 iul. 2021 la 17:40, Peter Maydell a scris: > On Sat

[PATCH 2/2] Fix for Haiku

2021-07-03 Thread Richard Zak
Fix for path to env Signed-off-by: Richard Zak --- Makefile | 4 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 30f19d33bb..ced9b97372 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,11 @@ SRC_PATH=. # we have explicit rules for everything MAKEFLAGS += -rR

[PATCH 1/2] Fix for Haiku

2021-07-03 Thread Richard Zak
For Haiku: turn off TPM, disable mips & xtensa emulators as they won't compile on Haiku, use Haiku's capstone. I'm resending this as I previously sent to the wrong address. This should resolve the memory issue with "make vm-build-haiku.x86_64" Signed-off-by: Richard Zak ---

Re: Qemu on Haiku

2021-06-27 Thread Richard Zak
for your help & patience! În vin., 25 iun. 2021 la 23:03, Warner Losh a scris: > > > On Fri, Jun 25, 2021 at 8:45 PM Richard Zak > wrote: > >> Hello and thanks for the detailed response! I wasn't aware that a Linux >> host could compile for Haiku as a target, that'

Re: Qemu on Haiku

2021-06-25 Thread Richard Zak
at's the primary way for code to be contributed, a merging code though Gitlab or via emailed patches? În vin., 25 iun. 2021 la 03:09, Thomas Huth a scris: > On 25/06/2021 06.12, Richard Zak wrote: > > Hello there! I noticed the message which appears when building qemu on > > Haiku.

Qemu on Haiku

2021-06-24 Thread Richard Zak
Hello there! I noticed the message which appears when building qemu on Haiku. I'd hate for Haiku to lose qemu, so I would like to help! What is needed in terms of a build system for continuous integration? I'm not familiar with CI systems, other than simply knowing what they do. -- Regards,