lib64SDL_intermediates/lib64SDL.a: could not read symbols: File format not recognized

125 篇文章 0 订阅
http://hi.baidu.com/lypoint/item/70c763a7f67865258819d34a
host Executable: emulator64-x86 (out/host/linux-x86/obj/EXECUTABLES/emulator64-x86_intermediates/emulator64-x86)
out/host/linux-x86/obj/STATIC_LIBRARIES/lib64SDL_intermediates/lib64SDL.a: could not read symbols: File format not recognized

collect2: ld returned 1 exit status


\\192.168.2.8\1\remake\remake-3.82+dbg0.9\variable.c
      /* Match assignment variants (:=, +=, ?=)  */
      if (*p == '=')
        {
          switch (c)
            {
              case ':':
                *flavor = f_simple;
                  //by leon lee
                  if (strstr(p, "emulator64")){
                      printf("variable.c 1470:variable.value:%s\n", p);
                      print_floc_stack(-1, MAX_STACK_SHOW);
                  }
                break;

gdb 1\remake\remake-3.82+dbg0.9\remake
b print_floc_stack                

Breakpoint 1, print_floc_stack (i_pos=-1, i_max=1000) at print.c:480
480    {
(gdb) bt
#0  print_floc_stack (i_pos=-1, i_max=1000) at print.c:480
#1  0x080663f6 in parse_variable_definition (
    p=0xc9c7ca6 "=  emulator64-common", flavor=0xbfffbcfc) at variable.c:1485
#2  0x0805d23d in parse_var_assignment (
    line=0xc9c7c98 "LOCAL_MODULE :=  emulator64-common", vmod=0xbfffbdf4)
    at read.c:504
#3  0x0805ec11 in eval (ebuf=0xbfffbe40, set_default=1) at read.c:736
#4  0x080607f5 in eval_buffer (
    buffer=0xc968480 "LOCAL_MODULE :=  emulator64-common") at read.c:466
#5  0x08054095 in func_eval (o=0xc969557 "\frwin", argv=0xbfffbf00,
    funcname=0x8071a1e "eval") at function.c:1376
#6  0x0805418d in expand_builtin_function (entry_p=0x80808d8,
    argv=<optimized out>, o=0xc969557 "\frwin", argc=<optimized out>)
    at function.c:2182
#7  expand_builtin_function (o=0xc969557 "\frwin", argc=<optimized out>,
    argv=<optimized out>, entry_p=0x80808d8) at function.c:2163
#8  0x080557f4 in handle_function (op=0xbfffbfd8, stringp=0xbfffbfd4)
    at function.c:2291
#9  0x0804fe0b in variable_expand_string (line=0xc969550 "       \frwin",
    string=<optimized out>, length=-1) at expand.c:264
#10 0x0805035f in variable_expand (
    line=0xc8db380 "$(eval include $(CLEAR_VARS)) $(eval LOCAL_NO_DEFAULT_COMPILER_FLAGS := true) $(eval LOCAL_CC := $(MY_CC)) $(eval LOCAL_CXX := $(MY_CXX)) $(---Type <return> to continue, or q <return> to quit---
eval LOCAL_CFLAGS := $(MY_CFLAGS)) $(eval LOCAL_AR := $(MY_A"...)
    at expand.c:430
#11 0x0804f915 in allocated_variable_expand_for_file (
    line=0xc8db380 "$(eval include $(CLEAR_VARS)) $(eval LOCAL_NO_DEFAULT_COMPILER_FLAGS := true) $(eval LOCAL_CC := $(MY_CC)) $(eval LOCAL_CXX := $(MY_CXX)) $(eval LOCAL_CFLAGS := $(MY_CFLAGS)) $(eval LOCAL_AR := $(MY_A"..., file=0x0)
    at expand.c:591
#12 0x0804fba3 in recursively_expand_for_file (v=0xc8db340, file=0x0)
    at expand.c:143
#13 0x080502e2 in reference_variable (length=22,
    name=0xbfffc132 "start-emulator-library)", o=0xb759a008 "true")
    at expand.c:177
#14 variable_expand_string (line=0xb759a008 "true", string=<optimized out>,
    length=25) at expand.c:388
#15 0x080544bf in func_call (o=0xb759a008 "true", argv=<optimized out>,
    funcname=0x8071a0b "call") at function.c:2398
#16 0x0805418d in expand_builtin_function (entry_p=0x8080878,
    argv=<optimized out>, o=0xb759a008 "true", argc=<optimized out>)
    at function.c:2182
#17 expand_builtin_function (o=0xb759a008 "true", argc=<optimized out>,
    argv=<optimized out>, entry_p=0x8080878) at function.c:2163
#18 0x080557f4 in handle_function (op=0xbfffc2d8, stringp=0xbfffc2d4)
    at function.c:2291
---Type <return> to continue, or q <return> to quit---
#19 0x0804fe0b in variable_expand_string (line=0xb759a008 "true",
    string=<optimized out>, length=49) at expand.c:264
#20 0x0805f699 in eval (ebuf=0xbfffc450, set_default=1) at read.c:994
#21 0x080609a0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
#22 0x0805fa69 in eval (ebuf=0xbfffc5e0, set_default=1) at read.c:911
#23 0x080609a0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
#24 0x0805fa69 in eval (ebuf=0xbfffc770, set_default=1) at read.c:911
#25 0x080609a0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
#26 0x0805fa69 in eval (ebuf=0xbfffc900, set_default=1) at read.c:911
#27 0x080609a0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
#28 0x0805fa69 in eval (ebuf=0xbfffca90, set_default=1) at read.c:911
#29 0x080609a0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
#30 0x08060d92 in read_all_makefiles (makefiles=<optimized out>) at read.c:263
#31 0x0804ad40 in main (argc=0, argv=0x0, envp=0x0) at main.c:1840
(gdb)
(gdb) p p_stack_floc_top
$1 = (floc_stack_node_t *) 0x0
(gdb) fra 5
#5  0x08054095 in func_eval (o=0xc969557 "\frwin", argv=0xbfffbf00,
    funcname=0x8071a1e "eval") at function.c:1376
1376      eval_buffer (argv[0]);
(gdb) p argv[0]
$2 = 0xc968480 "LOCAL_MODULE :=  emulator64-common"
(gdb) fra 6
#6  0x0805418d in expand_builtin_function (entry_p=0x80808d8,
    argv=<optimized out>, o=0xc969557 "\frwin", argc=<optimized out>)
    at function.c:2182
2182      return entry_p->func_ptr (o, argv, entry_p->name);
(gdb) fra 7
#7  expand_builtin_function (o=0xc969557 "\frwin", argc=<optimized out>,
    argv=<optimized out>, entry_p=0x80808d8) at function.c:2163
2163    expand_builtin_function (char *o, int argc, char **argv,
(gdb) fra 8
#8  0x080557f4 in handle_function (op=0xbfffbfd8, stringp=0xbfffbfd4)
    at function.c:2291
2291      *op = expand_builtin_function (*op, nargs, argv, entry_p);
(gdb) p stringp
$3 = (const char **) 0xbfffbfd4
(gdb) p stringp[0]
$4 = 0xc8db48a ") $(eval LOCAL_MODULE_CLASS := STATIC_LIBRARIES)"
(gdb) p stringp[1]
$5 = 0xc969557 "\frwin"
(gdb) p stringp[2]
$6 = 0x572bf000 <Address 0x572bf000 out of bounds>
(gdb) p argv
$7 = (char **) 0xbfffbf00
(gdb) p argv[0]
$8 = 0xc968480 "LOCAL_MODULE :=  emulator64-common"
(gdb) p narg
No symbol "narg" in current context.
(gdb) p nargs
$9 = 1
(gdb) p op
$10 = (char **) 0xbfffbfd8
(gdb) p *op
$11 = 0xc969557 "\frwin"
(gdb) p entry_p->expand_args
$12 = 1 '\001'
(gdb) p openparen
$13 = <optimized out>
(gdb)
(gdb) fra 27
#27 0x080609d0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
429      eval (&ebuf, !(flags & RM_NO_DEFAULT_GOAL));
(gdb) p ebuf.floc.filenm
$2 = 0x808fde7 "Makefile"
(gdb) p ebuf.floc.lineno
$3 = 2
(gdb) fra 25
#25 0x080609d0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
429      eval (&ebuf, !(flags & RM_NO_DEFAULT_GOAL));
(gdb) p ebuf.floc.filenm
$4 = 0x808fec0 "build/core/main.mk"
(gdb) p ebuf.floc.lineno
$5 = 521
(gdb) fra 23
#23 0x080609d0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
429      eval (&ebuf, !(flags & RM_NO_DEFAULT_GOAL));
(gdb) p ebuf.floc.filenm
$6 = 0x812373a "external/qemu/Android.mk"
(gdb) p ebuf.floc.lineno
$7 = 7
(gdb) fra 21
#21 0x080609d0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
429      eval (&ebuf, !(flags & RM_NO_DEFAULT_GOAL));
(gdb) p ebuf.floc.filenm
$8 = 0xc95a4f1 "external/qemu/Makefile.android"
(gdb) p ebuf.floc.lineno
$9 = 210
(gdb) fra 19
#19 0x080609d0 in eval_makefile (filename=<optimized out>,
    flags=<optimized out>) at read.c:429
429      eval (&ebuf, !(flags & RM_NO_DEFAULT_GOAL));
(gdb) p ebuf.floc.filenm
$10 = 0xc95a510 "external/qemu/Makefile.common"
(gdb) p ebuf.floc.lineno
$11 = 147
(gdb)


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值