[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem about ld on IA64 linux
From: |
Yijia Xu |
Subject: |
Problem about ld on IA64 linux |
Date: |
Tue, 24 Jun 2003 13:55:47 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 |
Hello ,
below process can be work under IA32 linux7.2 ,but porting to IA64
I have meet so diffcult a problem ,about dwarf error .
at first :
/usr/bin/ld -r -o IA.64/libtest.o IA.64/test.o -L../../../lib/IA.64
--whole-archive -lA --no-whole-archive -lB
and then :
ar -q ../../../lib/IA.64/libtest.a IA.64/libtest.o IA.64/stubs.o
at last :
I write a main.c ,in which file I call function in libtest.a
/usr/bin/ld -o test_main IA.64/main.o -L. -L../../../lib/IA.64 -ltest
-lnsl -lm -ldl
but I get below message :
/usr/bin/ld: Dwarf Error: Could not find abbrev number 53.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 104.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 192.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 192.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 192.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 44.
.......
in my working envirment
/usr/bin/ld -V
GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8)
Supported emulations:
elf64_ia64
/usr/bin/gcc -v
Reading specs from /usr/lib/gcc-lib/ia64-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)
/etc/redhat-release
Red Hat Linux Advanced Workstation release 2.1AW (Derry)
Could anybody know what meaning dwarf errors in the gnu linker 'ld'
are ? or how I can know the meaning of above errors ?
BestRegards
YiJia Xu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem about ld on IA64 linux,
Yijia Xu <=