PID USERNAME PRI NICE SIZE RES STATE WAIT TIMECPU COMMAND
28818 todd 640 1142M 53M onproc/0 - 2:01 17.24% cc1
For systems with lower limits on user process memory, this prevents things
from building.
For systems with less physical ram, this presents lots of s
For anyone lurking wanting a newer port of qemu to OpenBSD, I've determined
that -O0 is required for cpu-exec.o and suddely things start working!
Will try to determine why while updating other diffs to current qemu perhaps
in time for the 0.12.0 release, but at least finally I can run the 0.12.0rc
Penned by Todd T. Fries on 20091216 1:15.06, we have:
| For anyone lurking wanting a newer port of qemu to OpenBSD, I've determined
| that -O0 is required for cpu-exec.o and suddely things start working!
|
| Will try to determine why while updating other diffs to current qemu perhaps
| in
[EMAIL PROTECTED]/p1 ~/src/c/todd/test?100$ ./sizeof
sizeof(char) = 1
sizeof(short) = 2
sizeof(int) = 4
sizeof(char *) = 4
sizeof(long) = 4
sizeof(long long) = 8
[EMAIL PROTECTED]/p1 ~/src/c/todd/test?101$ uname -a
OpenBSD cloud.fries.net 4.1 GENERIC#7 mac68k
[EMAIL PROTECTED]/p1 ~/src/c/todd/test?
--- vl.c.orig Wed May 3 15:32:58 2006
+++ vl.cWed May 17 19:38:07 2006
@@ -43,7 +43,8 @@
#include
#ifdef _BSD
#include
-#ifndef __APPLE__
+#include
+#if !defined(__APPLE__) && !defined(__OpenBSD__)
#include
#endif
#else
@@ -292,7 +293,7 @@
/*
--- audio/ossaudio.c.orig Mon Dec 19 16:51:53 2005
+++ audio/ossaudio.cTue Dec 20 11:00:04 2005
@@ -21,10 +21,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#include
#include
#include
#include
+#ifdef __OpenBSD__
+#inclu
I'm sure this is probably not the right fix but it does permit things to
compile.
--- disas.c.origWed May 3 15:32:58 2006
+++ disas.c Fri May 5 22:07:38 2006
@@ -273,7 +273,7 @@ void disas(FILE *out, void *code, unsign
#ifdef __arm__
/* since data are included in the code,
--- dyngen-exec.h.orig Wed May 3 15:32:58 2006
+++ dyngen-exec.h Fri May 5 22:07:38 2006
@@ -27,11 +27,15 @@
#define _FILEDEFED
#endif
+#include "config.h"
+
/* NOTE: standard headers should be used with special care at this
point because host CPU registers are used as global var
--- qemu-img.c.orig Mon Feb 20 22:57:21 2006
+++ qemu-img.c Mon Feb 20 22:56:51 2006
@@ -58,7 +58,7 @@ char *qemu_strdup(const char *str)
return ptr;
}
-void pstrcpy(char *buf, int buf_size, const char *str)
+void pstrcpy(char *buf, size_t buf_size, const char *str)
{
int c;
--- target-ppc/op_helper.c.orig Fri May 5 22:29:25 2006
+++ target-ppc/op_helper.c Fri May 5 22:29:34 2006
@@ -17,6 +17,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include
--- vl.h.orig Wed May 3 15:32:58 2006
+++ vl.hWed May 17 19:41:08 2006
@@ -96,8 +96,8 @@
extern const char *bios_dir;
-void pstrcpy(char *buf, int buf_size, const char *str);
-char *pstrcat(char *buf, int buf_size, const char *s);
+void pstrcpy(char *buf, size_t buf_size, const cha
.. so now that aio is in, and whatever existed before is out, has anybody
come up with a way to support host os's that do not have aio?
Thanks,
--
Todd Fries .. [EMAIL PROTECTED]
_
| \ 1.636.410.0632 (voice
This is relative to the 20070319 snapshot.
--- audio/ossaudio.c.orig Mon Feb 5 17:01:54 2007
+++ audio/ossaudio.cSat Mar 10 16:39:38 2007
@@ -21,10 +21,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#include
#include
#inclu
This is relative to the 20070319 snapshot, mostly from Enache Adrian,
3n4ch3 at gmail dot com ..
--- block-raw.c.origMon Mar 12 16:16:47 2007
+++ block-raw.c Tue Mar 20 19:16:43 2007
@@ -25,7 +25,9 @@
#include "block_int.h"
#include
#ifndef _WIN32
+#ifndef CONFIG_NO_AIO
#include
+#endif
This is relative to the 20070319 snapshot.
--- cpu-all.h.orig Fri Mar 16 18:58:11 2007
+++ cpu-all.h Tue Mar 20 21:14:10 2007
@@ -1012,13 +1012,22 @@ static inline int64_t cpu_get_real_ticks
#endif
}
#else
-/* The host CPU doesn't have an easily accessible cycle counter.
- Just return
This is relative to the 20070319 snapshot.
--- dyngen-exec.h.orig Mon Feb 5 17:01:54 2007
+++ dyngen-exec.h Sat Mar 10 16:39:39 2007
@@ -27,11 +27,15 @@
#define _FILEDEFED
#endif
+#include "config.h"
+
/* NOTE: standard headers should be used with special care at this
point becau
This is relative to the 20070319 snapshot.
--- osdep.h.origMon Feb 5 17:01:54 2007
+++ osdep.h Sat Mar 10 16:39:40 2007
@@ -2,6 +2,10 @@
#define QEMU_OSDEP_H
#include
+#ifdef __OpenBSD__
+#include
+#include
+#endif
#define qemu_printf printf
--
Todd Fries .. [EMAIL PROTEC
Penned by Thiemo Seufer on 20070402 10:54.53, we have:
| > /* NOTE: standard headers should be used with special care at this
| > point because host CPU registers are used as global variables. Some
| > host headers do not allow that. */
| > #include
| > -
| > +#ifdef __OpenBSD__
| > +#i
18 matches
Mail list logo