[#4162] fail to build libbfgots
Submitted By: Yi Li
Open Date
2008-06-12 06:05:41 Close Date
2008-06-15 23:52:04
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
2008r1, trunk
Category:
N/A Board:
EZKIT Lite
Processor:
BF548 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Out of Date
Uboot version or rev.:
Toolchain version or rev.:
2008R1-RC8
App binary format:
N/A
Summary: fail to build libbfgots
Details:
bfin-linux-uclibc-gcc -v
Using built-in specs.
Target: bfin-linux-uclibc
Configured with: /usr/src/rpm/BUILD/blackfin-toolchain-08r1/../gcc-4.1/configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=bfin-linux-uclibc --prefix=/opt/uClinux/bfin-linux-uclibc --enable-threads=posix --enable-shared --with-sysroot=/opt/uClinux/bfin-linux-uclibc/bfin-linux-uclibc/runtime --disable-libstdcxx-pch --disable-symvers --disable-libssp --disable-libffi --enable-clocale=generic --enable-version-specific-runtime-libs --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.2 (ADI svn)
make -C ../src.fdpic
make[5]: Entering directory `/home/adam/workspace/local_svn/kernel_svn/548/uclinux-dist/lib/libbfgdots/g729/src.fdpic'
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o acelp_code_a.o acelp_code_a.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o dtx.o dtx.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o lpc.o lpc.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o pitch_a.o pitch_a.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o tab_dtxe.o tab_dtxe.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o allinitialdnew.o allinitialdnew.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o allinitialenew.o allinitialenew.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o dec_ld8a.o dec_ld8a.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o lpcfunc.o lpcfunc.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o postfilt.o postfilt.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o coder.o coder.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o dec_sid.o dec_sid.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o gainped.o gainped.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o lspgetq.o lspgetq.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o qua_lsp.o qua_lsp.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o vad.o vad.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o cod_ld8a.o cod_ld8a.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o dspfunc.o dspfunc.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o l1_function.o l1_function.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o decoder.o decoder.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o tab_ld8a.o tab_ld8a.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o tab_ld8ae.o tab_ld8ae.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o g729comd.o g729comd.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o g729comc.o g729comc.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o lspdec.o lspdec.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o qua_gain.o qua_gain.asm
bfin-linux-uclibc-gcc -Wall -DFLAG533 -DNOTIMER -DFDPIC -x assembler-with-cpp -c -o tab_dtx.o tab_dtx.asm
bfin-linux-uclibc-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
# partially link into one object file
bfin-linux-uclibc-ld -r -o partial.o 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
/home/adam/workspace/toolchain/08r1/opt/uClinux/bfin-linux-uclibc/bin//bfin-linux-uclibc-ld: acelp_code_a.o: cannot link fdpic object file into non-fdpic executable
/home/adam/workspace/toolchain/08r1/opt/uClinux/bfin-linux-uclibc/bin//bfin-linux-uclibc-ld: failed to merge target specific data of file acelp_code_a.o
/home/adam/workspace/toolchain/08r1/opt/uClinux/bfin-linux-uclibc/bin//bfin-linux-uclibc-ld: dtx.o: cannot link fdpic object file into non-fdpic executable
/home/adam/workspace/toolchain/08r1/opt/uClinux/bfin-linux-uclibc/bin//bfin-linux-uclibc-ld: failed to merge target specific data of file dtx.o
/home/adam/workspace/toolchain/08r1/opt/uClinux/bfin-linux-uclibc/bin//bfin-linux-uclibc-ld: lpc.o: cannot link fdpic object file into non-fdpic executable
/home/adam/workspace/toolchain/08r1/opt/uClinux/bfin-linux-uclibc/bin//bfin-linux-uclibc-ld: failed to merge target specific data of file lpc.o
/home/adam/workspace/toolchain/08r1/opt/uClinux/bfin-linux-uclibc/bin//bfin-linux-uclibc-ld: pitch_a.o: cannot link fdpic object file into non-fdpic executable
/home/adam/workspace/toolchain/08r1/opt/uClinux/bfin-linux-uclibc/bin//bfin-linux-uclibc-ld: failed to merge target specific data of file pitch_a.o
Follow-ups
--- Mike Frysinger 2008-06-12 09:04:52
i'm pretty sure i already fixed this on the branch
--- Mike Frysinger 2008-06-12 09:05:34
and that the bug does not occur on trunk if you use trunk toolchain (it will
occur if you use 2008R1 toolchain, but we dont care)
--- Yi Li 2008-06-13 06:07:46
What is the svn revision for this fix (on the branch). I tried branch toolchain
(revision as bellow), but still get the same failure:
************** Toolchain svn info ***************
Path: .
URL: svn://10.99.22.20/toolchain/branches/toolchain_08r1_branch
Repository Root: svn://10.99.22.20/toolchain
Repository UUID: 2adf4935-75e9-4407-93b2-34b21a1880a4
Revision: 2526
Node Kind: directory
Schedule: normal
Last Changed Author: jiez
Last Changed Rev: 2526
Last Changed Date: 2008-06-12 11:45:25 +0800 (Thu, 12 Jun 2008)
svn log shows:
adam@adam-ubuntu-desk:~/workspace/local_svn/toolchain_svn/08r1/binutils-2.17$
svn log | more
------------------------------------------------------------------------
r2391 | jiez | 2008-05-30 21:57:34 +0800 (Fri, 30 May 2008) | 31 lines
Multilib reorganization
gcc-4.1/gcc/, gcc-3.4/gcc/
* config/bfin/t-bfin-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Remove mcpu=bf532-0.3,
mcpu=bf561-none and mcpu=bf561-0.2.
* config/bfin/t-bfin-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Likewise.
* config/bfin/t-bfin-linux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Likewise.
* config/bfin/bfin-protos.h (enum bfin_cpu_type): Add
BFIN_CPU_UNKNOWN.
* config/bfin/elf.h (STARTFILE_SPEC): Use specific CRT for
BF561.
(LIB_SPEC): Error if no mcpu option.
* config/bfin/bfin.c (bfin_cpu_type): Set to BFIN_CPU_UNKNOWN.
(cputype_selected): Remove.
(bfin_handle_option): Don't use cputype_selected.
(override_options): When no mcpu option, enable all workarounds.
Don't use bfin_workarounds.
* config/bfin/bfin.h (DRIVER_SELF_SPECS): Don't set default
processor type.
(DEFAULT_CPU_TYPE): Don't define.
binutils-2.17/libgloss/
* bfin/Makefile.in (BOARD_CRT0S): Add basiccrt561.o,
basiccrt561s.o and basiccrt561b.o.
(basiccrt.o, basiccrts.o, basiccrt561.o, basiccrt561s.o,
basiccrt561b.o): Rewrite rules.
* bfin/basiccrt.S: Remove useless __ADSPBF561_COREB__ in
workaround code for 05000229.
------------------------------------------------------------------------
r2349 | jiez | 2008-05-07 20:25:22 +0800 (Wed, 07 May 2008) | 7 lines
[#3967] gdb segfaults when setting a hardware break point with remote jtag
[snip]
--- Mike Frysinger 2008-06-13 14:57:24
nothing was changed in binutils ... it was made in the libbfgdots dir on the
branch only
--- Mike Frysinger 2008-06-15 23:01:08
welp, there's nothing for me to do ... 2008R1 builds with 2008R1 and trunk
builds with trunk ...
--- Yi Li 2008-06-15 23:52:01
OK. Tested libbfgdots on branch, it passes. (I was thinking this is a toolchain
issue). close it . Thanks.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found