[#7533] trunk head toolchain build trunk head buildroot fails for multiple definition

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

[#7533] trunk head toolchain build trunk head buildroot fails for multiple definition

Submitted By: Mingquan Pan

Open Date

2012-12-06 04:27:49     Close Date

2012-12-13 01:38:38

Priority:

Medium High     Assignee:

Sonic Zhang

Board:

STAMP     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

BF533     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: trunk head toolchain build trunk head buildroot fails for multiple definition

Details:

 

trunk head toolchain build trunk head buildroot fails for multiple definition.

 

make[3]: Leaving directory `/home/test/workspace/src/kernel/output/build/inetutils-1.8/libls'

Making all in src

make[3]: Entering directory `/home/test/workspace/src/kernel/output/build/inetutils-1.8/src'

  CC     rsh.o

  CC     rshd.o

  CC     rcp.o

  CCLD   rsh

/home/test/workspace/src/kernel/output/host/usr/bfin-uclinux/sysroot/usr/lib/libc.a(__uClibc_main.o):(.data+0x8): multiple definition of `_program_invocation_name'

../lib/libgnu.a(argp-pin.o):(.bss+0x4): first defined here

/home/test/workspace/src/kernel/output/host/usr/bfin-uclinux/sysroot/usr/lib/libc.a(__uClibc_main.o):(.data+0x4): multiple definition of `_program_invocation_short_name'

../lib/libgnu.a(argp-pin.o):(.bss+0x0): first defined here

collect2: ld returned 1 exit status

make[3]: *** [rsh] Error 1

make[3]: *** Waiting for unfinished jobs....

  CCLD   rshd

rshd.o: In function `_doit':

rshd.c:(.text+0x3f0): warning: gethostbyaddr is obsolescent, use getaddrinfo() instead.

/home/test/workspace/src/kernel/output/host/usr/bfin-uclinux/sysroot/usr/lib/libc.a(__uClibc_main.o):(.data+0x8): multiple definition of `_program_invocation_name'

../lib/libgnu.a(argp-pin.o):(.bss+0x4): first defined here

/home/test/workspace/src/kernel/output/host/usr/bfin-uclinux/sysroot/usr/lib/libc.a(__uClibc_main.o):(.data+0x4): multiple definition of `_program_invocation_short_name'

../lib/libgnu.a(argp-pin.o):(.bss+0x0): first defined here

collect2: ld returned 1 exit status

make[3]: *** [rshd] Error 1

make[3]: Leaving directory `/home/test/workspace/src/kernel/output/build/inetutils-1.8/src'

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

make[2]: Leaving directory `/home/test/workspace/src/kernel/output/build/inetutils-1.8'

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

make[1]: Leaving directory `/home/test/workspace/src/kernel/output/build/inetutils-1.8'

 

 

failed version:************** Tested toolchain svn info ***************

At revision 5975.

Path: .

URL: svn://10.99.22.20/toolchain/trunk

Repository Root: svn://10.99.22.20/toolchain

Repository UUID: 2adf4935-75e9-4407-93b2-34b21a1880a4

Revision: 5975

Node Kind: directory

Schedule: normal

Last Changed Author: shenders

Last Changed Rev: 5968

Last Changed Date: 2012-11-30 19:46:51 +0800 (Fri, 30 Nov 2012)

************** Tested U-Boot git info ******************

...    Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>

************* Tested Buildroot git info *************

Buildroot Already up-to-date.

origin  git://10.99.22.20/git/buildroot

* trunk

  origin/2012R1

  origin/HEAD

  origin/trunk

commit edabc0eab58513244762f8dd9bf311fbb825dd1b

Author: Steven Miao <realmz6@gmail.com>

Date:   Wed Dec 5 15:18:54 2012 +0800

 

    [#7509] corebld: fix build for buildroot

 

    Signed-off-by: Steven Miao <realmz6@gmail.com>

************* Tested linux git info ********************

Kernel Already up-to-date.

origin  git://10.99.22.20/linux-kernel

* trunk

  origin/2005R3

  origin/2005R4

...

  origin/trunk

  origin/trunk-next

commit ce8f74e7038f709b8f0368ec82c232a89db7d4fd

Author: Sonic Zhang <sonic.zhang@analog.com>

Date:   Wed Dec 5 12:31:33 2012 +0800

 

    blackfin: SEC: clean up SEC interrupt initialization

 

    Append the SEC IRQ after the IVG6, which is consistent to BF5xx SIC.

    Exclude SIC irqchip fucntions from SEC code.

    Call handle_fasteoi_irq in SEC error and fault handler.

 

    Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>

 

 

 

Follow-ups

 

--- Stuart Henderson                                         2012-12-06 09:35:36

i've built buildroot for bf60x a few times with 2012R2-RC1.  can you provide

more detailed instructions on how to reproduce this error?

thanks.

 

--- Sonic Zhang                                              2012-12-12 01:50:47

The dependency to host-automake is missing in the inetutils buildroot makefile.

The automake binary preinstalled on the host PC may be the wrong version.

 

--- Mingquan Pan                                             2012-12-13 02:45:07

After add inetutils dependency to host-automake, the buildroot kernel can build

pass ok now. Close.

 

--- Mingquan Pan                                             2012-12-13 03:33:56

PS: this only happens on Suse host, not finding this issue on ubuntu.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes