When using cross compiler to build the native compiler,
add the option "-gcoff" to add debug info,
it failed to link the "gprof.exe" program.
The log is :
libtool: link: /home/zhoujg/mingw/cross/bin/x86_64-pc-mingw32-gcc -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -gcoff -o .libs/gprof.exe
basic_b
locks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o
gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o
i386.o alpha
.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
/home/zhoujg/mingw/cross/bin/../../cross/mingw/lib64/libmingwex.a(lib64_lib
mingwex_a-_fstat64i32.o):_fstat64i32.c:(.text+0x148): multiple definition
of `_fst
at'
/home/zhoujg/mingw/cross/bin/../../cross/mingw/lib64/libmoldname.a(dbwvs000
32.o):(.text+0x0): first defined here
/home/zhoujg/mingw/cross/bin/../../cross/mingw/lib64/libmingwex.a(lib64_lib
mingwex_a-_fstat64i32.o):_fstat64i32.c:(.text+0x165): multiple definition
of `_sta
t'
/home/zhoujg/mingw/cross/bin/../../cross/mingw/lib64/libmoldname.a(dbwvs000
79.o):(.text+0x0): first defined here
collect2: ld returned 1 exit status
make[4]: *** [gprof.exe] error 1
Nobody/Anonymous
crt library definition
None
Public
|
Date: 2008-01-23 03:20
|
|
Date: 2008-01-08 11:01
|
|
Date: 2008-01-08 10:31
|
|
Date: 2008-01-05 14:13
|
|
Date: 2008-01-04 19:59
|
|
Date: 2008-01-04 13:11
|
|
Date: 2008-01-03 10:41
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Pending | 2008-01-23 03:20 | sf-robot |
| close_date | 2008-01-08 11:01 | 2008-01-23 03:20 | sf-robot |
| close_date | - | 2008-01-08 11:01 | ktietz70 |
| status_id | Open | 2008-01-08 11:01 | ktietz70 |
| close_date | 2008-01-05 14:13 | 2008-01-08 10:31 | drangon_zhou |
| status_id | Closed | 2008-01-08 10:31 | drangon_zhou |
| close_date | - | 2008-01-05 14:13 | ktietz70 |
| status_id | Open | 2008-01-05 14:13 | ktietz70 |
| resolution_id | None | 2008-01-05 14:13 | ktietz70 |
| close_date | 2008-01-03 10:41 | 2008-01-04 13:11 | drangon_zhou |
| status_id | Pending | 2008-01-04 13:11 | drangon_zhou |
| status_id | Open | 2008-01-03 10:41 | ktietz70 |
| close_date | - | 2008-01-03 10:41 | ktietz70 |
| category_id | None | 2008-01-03 10:41 | ktietz70 |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use