[#4972] libbfgdots build fails in trunk

Document created by Aaronwu Employee on Aug 30, 2013
Version 1Show Document
  • View in full screen mode

[#4972] libbfgdots build fails in trunk

Submitted By: Mike Frysinger

Open Date

2009-03-09 21:10:56     Close Date

2009-04-08 22:12:01

Priority:

Medium High     Assignee:

Jie Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

snaps     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

trunk

App binary format:

N/A     

Summary: libbfgdots build fails in trunk

Details:

 

$ make lib/libbfgdots/_only

...

make[5]: Leaving directory `/usr/local/src/blackfin/svn/uclinux-dist/trunk/lib/libbfgdots/g729/src.orig'

bfin-uclinux-gcc -Wl,-elf2flt=-s100000 -o g729ab_test g729ab_test.o ../src.orig/libg729ab.a -lpthread  ../src.orig/libg729ab.a

/usr/local/src/blackfin/toolchains/20090309/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/../../../../bfin-uclinux/bin/ld.real: ../src.orig/libg729ab.a(l1_function.o): bad reloc symbol index (0xe50bcc >= 0x1b) for offset 0x8a4 in section `.text'

../src.orig/libg729ab.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

make[4]: *** [g729ab_test] Error 1

 

Follow-ups

 

--- Yi Li                                                    2009-03-10 06:26:55

This looks to me a toolchain bug. So I'd pass it to Jie.

 

When testing with gcc-4.1 built on 2008-12-20, there is no error.

When building it with gcc-4.1 from svn trunk on 2009-03-09, there is error.

 

 

$ NON_SMP_BUILD=1 make lib/libbfgdots/_only

make[1]: Entering directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib'

touch libbfgdots//.sgbuilt_lib && make -C libbfgdots/ -j1

make[2]: Entering directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib/libbfgdots'

make -C g729

make[3]: Entering directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib/libbfgdots/g729'

make -C test

make[4]: Entering directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib/libbfgdots/g729/test'

bfin-uclinux-gcc -I ../include/ -Wall -DG729_MULTI_INST -o g729ab_test.o -c

g729ab_test.c

make -C ../src.orig

make[5]: Entering directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib/libbfgdots/g729/src.orig'

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

acelp_code_a.o acelp_code_a.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o dtx.o

dtx.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o lpc.o

lpc.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

pitch_a.o pitch_a.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

tab_dtxe.o tab_dtxe.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

allinitialdnew.o allinitialdnew.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

allinitialenew.o allinitialenew.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

dec_ld8a.o dec_ld8a.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

lpcfunc.o lpcfunc.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

postfilt.o postfilt.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o coder.o

coder.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

dec_sid.o dec_sid.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

gainped.o gainped.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

lspgetq.o lspgetq.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

qua_lsp.o qua_lsp.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o vad.o

vad.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

cod_ld8a.o cod_ld8a.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

dspfunc.o dspfunc.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

l1_function.o l1_function.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

decoder.o decoder.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

tab_ld8a.o tab_ld8a.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

tab_ld8ae.o tab_ld8ae.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

g729comd.o g729comd.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

g729comc.o g729comc.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o lspdec.o

lspdec.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

qua_gain.o qua_gain.asm

bfin-uclinux-gcc -Wall -DFLAG533 -DNOTIMER -x assembler-with-cpp -c -o

tab_dtx.o tab_dtx.asm

bfin-uclinux-ar rc libg729ab.a acelp_code_a.o dtx.o lpc.o pitch_a.o tab_dtxe.o

allinitialdnew.o allinitialenew.o dec_ld8a.o lpcfunc.o postfilt.o coder.o

dec_sid.o gainped.o lspgetq.o qua_lsp.o vad.o cod_ld8a.o dspfunc.o l1_function.o

decoder.o tab_ld8a.o tab_ld8ae.o g729comd.o g729comc.o lspdec.o qua_gain.o

tab_dtx.o

make[5]: Leaving directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib/libbfgdots/g729/src.orig'

bfin-uclinux-gcc -Wl,-elf2flt=-s100000 -o g729ab_test g729ab_test.o

../src.orig/libg729ab.a -lpthread  ../src.orig/libg729ab.a

/home/adam/new_workspace/toolchain/4.1-0309/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2/../../../../bfin-uclinux/bin/ld.real:

../src.orig/libg729ab.a(l1_function.o): bad reloc symbol index (0x112dec >=

0x1b) for offset 0x8a4 in section `.text'

../src.orig/libg729ab.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

make[4]: *** [g729ab_test] Error 1

make[4]: Leaving directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib/libbfgdots/g729/test'

make[3]: *** [all] Error 2

make[3]: Leaving directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib/libbfgdots/g729'

make[2]: *** [g729_all] Error 2

make[2]: Leaving directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib/libbfgdots'

make[1]: *** [libbfgdots/_only] Error 2

make[1]: Leaving directory

`/home/adam/new_workspace/local_svn/kernel/527/uclinux-dist/lib'

make: *** [lib/libbfgdots/_only] Error 2

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes