[#5008] build libusb info shared-flat has error

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

[#5008] build libusb info shared-flat has error

Submitted By: Mingquan Pan

Open Date

2009-03-19 08:08:53     Close Date

2010-06-11 16:24:09

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2007R1.1-RC3     Release:

Category:

N/A     Board:

N/A

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

09r1-3

App binary format:

N/A     

Summary: build libusb info shared-flat has error

Details:

 

build libusb info shared-flat has error on trunk head.

 

make[5]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libusb/build-libusb-0.1.12/tests'

bfin-uclinux-gcc -DHAVE_CONFIG_H   -I../../libusb-0.1.12 -I..  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf527-0.1  -pipe -Wall -g -O2 -mid-shared-library -mshared-library-id=0      -mcpu=bf527-0.1 -c -o testlibusb.o ../../libusb-0.1.12/tests/testlibusb.c

/bin/sh ../libtool --mode=link bfin-uclinux-gcc  -pipe -Wall -g -O2 -mid-shared-library -mshared-library-id=0      -mcpu=bf527-0.1  -Wl,-elf2flt -mid-shared-library -mshared-library-id=0    -mcpu=bf527-0.1 -o testlibusb  testlibusb.o ../libusb.la

mkdir .libs

bfin-uclinux-gcc -pipe -Wall -g -O2 -mid-shared-library -mshared-library-id=0 -mcpu=bf527-0.1 -Wl,-elf2flt -mid-shared-library -mshared-library-id=0 -mcpu=bf527-0.1 -o testlibusb testlibusb.o  ../.libs/libusb.a

bfin-uclinux-g++ -DHAVE_CONFIG_H   -I../../libusb-0.1.12 -I..  -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf527-0.1  -pipe -Wall -g -O2  -mcpu=bf527-0.1 -c -o descriptor_test.o ../../libusb-0.1.12/tests/descriptor_test.cpp

/bin/sh ../libtool --mode=link bfin-uclinux-g++  -pipe -Wall -g -O2  -mcpu=bf527-0.1  -Wl,-elf2flt -mid-shared-library -mshared-library-id=0    -mcpu=bf527-0.1 -o descriptor_test  descriptor_test.o ../libusbpp.la

libtool: link: warning: library `/opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2/mid-shared-library/libstdc++.la' was moved.

bfin-uclinux-g++ -pipe -Wall -g -O2 -mcpu=bf527-0.1 -Wl,-elf2flt -mid-shared-library -mshared-library-id=0 -mcpu=bf527-0.1 -o descriptor_test descriptor_test.o  ../.libs/libusbpp.a /home/test/work/cruise/checkouts/uclinux-dist/lib/libusb/build-libusb-0.1.12/.libs/libusb.a /opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2/mid-shared-library/libstdc++.a -L/home/test/work/cruise/temp/gcc_build-4.1/bfin-uclinux/mid-shared-library/libstdc++-v3/src -L/home/test/work/cruise/temp/gcc_build-4.1/bfin-uclinux/mid-shared-library/libstdc++-v3/src/.libs -L/home/test/work/cruise/temp/gcc_build-4.1/./gcc/mid-shared-library -L/home/test/work/cruise/temp/bfin-uclinux/bfin-uclinux/bin -L/home/test/work/cruise/temp/bfin-uclinux/bfin-uclinux/lib -L/home/test/work/cruise/temp/bfin-uclinux/lib/../bfin-uclinux/lib -L/home/test/work/cruise/temp/bfin-uclinux/bfin-uclinux/runtime/lib/mid-shared-library -L/home/test/work/cruise/temp/bfin-uclinux/bfin-uclinux/runtime/usr/lib/mid-shared-library

descriptor_test.o: In function `__static_initialization_and_destruction_0':

/opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2/include/c++/iostream:76: relocation truncated to fit: R_pcrel24_jump_l against symbol `___cxa_atexit' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../.libs/libusbpp.a(usbpp.o): In function `__static_initialization_and_destruction_0':

/opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2/include/c++/iostream:76: relocation truncated to fit: R_pcrel24_jump_l against symbol `___cxa_atexit' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../.libs/libusbpp.a(usbpp.o): In function `USB::Endpoint::dumpDescriptor()':

../libusb-0.1.12/usbpp.cpp:557: relocation truncated to fit: R_pcrel24 against symbol `_printf' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../libusb-0.1.12/usbpp.cpp:558: relocation truncated to fit: R_pcrel24 against symbol `_printf' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../libusb-0.1.12/usbpp.cpp:559: relocation truncated to fit: R_pcrel24 against symbol `_printf' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../libusb-0.1.12/usbpp.cpp:560: relocation truncated to fit: R_pcrel24 against symbol `_printf' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../libusb-0.1.12/usbpp.cpp:561: relocation truncated to fit: R_pcrel24 against symbol `_printf' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../libusb-0.1.12/usbpp.cpp:562: relocation truncated to fit: R_pcrel24_jump_l against symbol `_printf' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../.libs/libusbpp.a(usbpp.o): In function `USB::AltSetting::dumpDescriptor()':

../libusb-0.1.12/usbpp.cpp:472: relocation truncated to fit: R_pcrel24 against symbol `_printf' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../libusb-0.1.12/usbpp.cpp:473: relocation truncated to fit: R_pcrel24 against symbol `_printf' defined in .text section in /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/mid-shared-library/libc.gdb

../libusb-0.1.12/usbpp.cpp:474: additional relocation overflows omitted from the output

collect2: ld returned 1 exit status

make[5]: *** [descriptor_test] Error 1

make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libusb/build-libusb-0.1.12/tests'

make[4]: *** [install-recursive] Error 1

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libusb/build-libusb-0.1.12'

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

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libusb'

make[2]: *** [libusb] Error 2

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

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

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

make: *** [subdirs] Error 1

 

Follow-ups

 

--- Jie Zhang                                                2009-03-19 08:10:22

I'll take it.

 

--- Jie Zhang                                                2009-03-19 08:12:53

Should be fixed now at uclinux-dist r7915.

 

--- Robin Getz                                               2010-06-11 16:21:34

So - closing if it's fixed.

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes