[#3840] expat examples to not link

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

[#3840] expat examples to not link

Submitted By: Larry Samuels

Open Date

2008-01-17 09:13:58     Close Date

2008-01-17 15:32:21

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

R1.1-RC3

Category:

N/A     Board:

STAMP

Processor:

BF537     Silicon Revision:

0.3

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: expat examples to not link

Details:

 

I selected expat library and expat-examples from make menuconfig.

Everything is set to default.

I make the distribution.

The expat library libexpat.so is created in lib/expat, but the expat-examples fail to link.

 

Below is the error:

make[2]: Entering directory `/bfin/uClinux-dist.R1.1-RC3/user/expat-examples'

bfin-uclinux-gcc -Wl,-elf2flt -B/bfin/uClinux-dist.R1.1-RC3/staging/usr/lib -L/bfin/uClinux-dist.R1.1-RC3/staging/usr/lib -o expat_outline outline.o -lexpat

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: BFD 2.17 assertion fail /usr/src/packages/BUILD/binutils-2.17/bfd/elf32-bfin.c:5237

/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/../../../../bfin-uclinux/bin/ld.real: error: no memory region specified for loadable section `.plt'

collect2: ld returned 1 exit status

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

make[2]: Leaving directory `/bfin/uClinux-dist.R1.1-RC3/user/expat-examples'

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

make[1]: Leaving directory `/bfin/uClinux-dist.R1.1-RC3/user'

make: *** [subdirs] Error 1

 

Can you fix this? Or should I use another library/source code for parsing XML files on the blackfin?

 

Thanks,

   Larry

 

Follow-ups

 

--- Mike Frysinger                                           2008-01-17 17:33:41

ive version bumped to expat-2.0.1 in current svn trunk and that seems to work

fine

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes