[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/10111] New: sripe a .o using inline func, the armlink but
From: |
lijiyou at huawei dot com |
Subject: |
[Bug binutils/10111] New: sripe a .o using inline func, the armlink but fail |
Date: |
29 Apr 2009 02:20:14 -0000 |
I download a binutils-2.19.1,and build an ARM version in cygwin by
doing "./configure --target=arm-linux --prefix=/opt/armv6" first,then make.
Then I got a strip-new.exe
I use strip-new.exe to strip one .o file which the source file include inline
function,and that inline function is also used by other source file
then I call armlink using the stripped .o file,but fail,it reports "Error:
L6275E: COMMON section xxx.o(xxxxx) does not define <Anonymous Sy
mbol> (defined in xxxxxx.o(xxxxxx))"
The following is a sample how to reproduce my problem,the attach
mytestfiles.rar is the files this sample uses.
my step is:
tcc -c -cpu 5TEJ -apcs /interwork/ropi/norwpi -zo -littleend -g main.o main.c
tcc -c -cpu 5TEJ -apcs /interwork/ropi/norwpi -zo -littleend -g test.o test.c
tcc -c -cpu 5TEJ -apcs /interwork/ropi/norwpi -zo -littleend -g test2.o
test2.c
strip-new.exe -g test2.o -o test2-stripped.o
armlink -o main.elf main.o test.o test2-stripped.o
but fail,it reports:
Error: L6275E: COMMON section test.o(i.TestInline) does not define <Anonymous
Sy
mbol> (defined in test2-stripped.o(i.TestInline))
Finished: 0 information, 0 warning and 1 error messages..
--
Summary: sripe a .o using inline func,the armlink but fail
Product: binutils
Version: 2.19
Status: NEW
Severity: critical
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: lijiyou at huawei dot com
CC: bug-binutils at gnu dot org
GCC build triplet: make armlink
GCC host triplet: cygwin
GCC target triplet: arm
http://sourceware.org/bugzilla/show_bug.cgi?id=10111
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/10111] New: sripe a .o using inline func, the armlink but fail,
lijiyou at huawei dot com <=
- [Bug binutils/10111] sripe a .o using inline func, the armlink but fail, lijiyou at huawei dot com, 2009/04/28
- [Bug binutils/10111] sripe a .o using inline func, the armlink but fail, lijiyou at huawei dot com, 2009/04/28
- [Bug binutils/10111] strip .o using inline func, then armlink fails, amodra at bigpond dot net dot au, 2009/04/29
- [Bug binutils/10111] strip .o using inline func, then armlink fails, lijiyou at huawei dot com, 2009/04/29
- [Bug binutils/10111] strip .o using inline func, then armlink fails, amodra at bigpond dot net dot au, 2009/04/29
- [Bug binutils/10111] strip .o using inline func, then armlink fails, lijiyou at huawei dot com, 2009/04/29