NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/52278: qemu -static linking generates warnings



>Number:         52278
>Category:       lib
>Synopsis:       qemu -static linking generates warnings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 06 13:45:00 +0000 2017
>Originator:     Kamil Rytarowski
>Release:        NetBSD 7.99.75 amd64
>Organization:
TNF
>Environment:
NetBSD chieftec 7.99.75 NetBSD 7.99.75 (GENERIC) #1: Wed May 31 01:19:38 CEST 2017  root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
>Description:
standalone build of qemu with -static option generates linker warnings:

  LINK    sparc64-bsd-user/qemu-sparc64
/usr/lib/libc.a(initfini.o): warning: common of `__ps_strings' overridden by definition
/usr/lib/crt0.o: warning: defined here
/usr/lib/libc.a(_env.o): warning: multiple common of `environ'
/usr/lib/crt0.o: warning: previous common is here
/usr/lib/libc.a(getprogname.o): warning: common of `__progname' overridden by definition
/usr/lib/crt0.o: warning: defined here
  LINK    x86_64-bsd-user/qemu-x86_64
/usr/lib/libc.a(initfini.o): warning: common of `__ps_strings' overridden by definition
/usr/lib/crt0.o: warning: defined here
/usr/lib/libc.a(_env.o): warning: multiple common of `environ'
/usr/lib/crt0.o: warning: previous common is here
/usr/lib/libc.a(getprogname.o): warning: common of `__progname' overridden by definition
/usr/lib/crt0.o: warning: defined here
  LINK    i386-bsd-user/qemu-i386
/usr/lib/libc.a(initfini.o): warning: common of `__ps_strings' overridden by definition
/usr/lib/crt0.o: warning: defined here
/usr/lib/libc.a(_env.o): warning: multiple common of `environ'
/usr/lib/crt0.o: warning: previous common is here
/usr/lib/libc.a(getprogname.o): warning: common of `__progname' overridden by definition
/usr/lib/crt0.o: warning: defined here

>How-To-Repeat:
git clone --recursive git://git.qemu-project.org/qemu.git
./configure --disable-linux-user --disable-system --static --python=python2.7
gmake -j17
>Fix:
N/A



Home | Main Index | Thread Index | Old Index