harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tianwei <tianwei.sh...@gmail.com>
Subject Re: Raw patch for harmony-mips
Date Wed, 25 Nov 2009 12:39:01 GMT
Hi, Charles,
  I apply your patch, and build it on X86 linux machines, I met the
following compile time error:

[compile-cc] gcc -fpic -ftls-model=initial-exec -fno-exceptions -fPIC -O2 -g

error: dec_simple.h: No such file or directory

In function ‘port_disasm_set_info’:

error: ‘ADDR_SIZE’ undeclared (first use in this function)

error: (Each undeclared identifier is reported only once

error: for each function it appears in.)

error: ‘BYTES_SIZE’ undeclared (first use in this function)

I check this problem, it's caused by the following diff:
--- ../../import/apache-harmony/working_vm/vm/port/src/disasm/linux/disasm.c
   2009-09-20 21:36:01.000000000 -0700
+++ harmony/working_vm/vm/port/src/disasm/linux/disasm.c        2009-11-15
19:37:02.000000000 -0800
@@ -29,6 +29,7 @@
 #include <apr_portable.h>

 #include "port_disasm.h"
+#include <dec_simple.h>

however, and two versions of dec_simple.h is added by this patch

It seems that these files break the building on X86.

On Mon, Nov 16, 2009 at 11:55 AM, Charles Hardin <ckhardin@gmail.com> wrote:

> All,
> This is guaranteed to be nothing more then the work in progress in our
> internal trees.
> It can be used to see what we have done so far, and we will get the
> rest out when we complete the work.
> Thanks,
> Charles

Sheng, Tianwei
Inst. of High Performance Computing
Dept. of Computer Sci. & Tech.
Tsinghua Univ.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message