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
-c -DAPR_DECLARE_EXPORT -DBUILDING_VM -DREFS_USE_RUNTIME_SWITCH -DNDEBUG
-D_EM64T_ -DHYX86_64 -DPOINTER64 -DLINUX -DPLATFORM_POSIX -D__SMP__
-D_REENTRANT -DLINUX_TLS_OPT
-I/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/include
-I/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/include
-I/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/thread/include
-I/home/tianwei/apache/harmony/trunk-mips/working_vm/build/linux_x86_64_gcc_release/deploy/include
-I/home/tianwei/apache/harmony/trunk-mips/working_classlib/deploy/include
/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux/disasm.c

[compile-cc]
/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux/disasm.c:31:24:
error: dec_simple.h: No such file or directory

[compile-cc]
/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux/disasm.c:
In function ‘port_disasm_set_info’:


[compile-cc]
/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux/disasm.c:276:
error: ‘ADDR_SIZE’ undeclared (first use in this function)

[compile-cc]
/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux/disasm.c:276:
error: (Each undeclared identifier is reported only once

[compile-cc]
/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux/disasm.c:276:
error: for each function it appears in.)

[compile-cc]
/home/tianwei/apache/harmony/trunk-mips/working_vm/vm/port/src/disasm/linux/disasm.c:285:
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
 working_vm/vm/port/src/encoder/mips/dec_simple.h
 working_vm/vm/port/src/encoder/ia32_em64t/dec_simple.h

It seems that these files break the building on X86.

Tianwei
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.

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