Re: [Qemu-devel] [PATCH v2] rules.mak: Fix DSO build by pulling in archive symbols

2014-09-02 Thread Fam Zheng
On Tue, 09/02 14:07, Paolo Bonzini wrote: > Il 02/09/2014 03:19, Fam Zheng ha scritto: > > Thanks both of you for tracking down the problem. Let's add 2>/dev/null to > > suppress the warning. > > Actually I think the warning would complicate tracking down real > problems. We can fix the source of

Re: [Qemu-devel] [PATCH v2] rules.mak: Fix DSO build by pulling in archive symbols

2014-09-02 Thread Paolo Bonzini
Il 02/09/2014 03:19, Fam Zheng ha scritto: > Thanks both of you for tracking down the problem. Let's add 2>/dev/null to > suppress the warning. Actually I think the warning would complicate tracking down real problems. We can fix the source of the warnings, especially since they already occur wit

Re: [Qemu-devel] [PATCH v2] rules.mak: Fix DSO build by pulling in archive symbols

2014-09-01 Thread Fam Zheng
On Mon, 09/01 13:07, Peter Maydell wrote: > On 1 September 2014 13:04, Paolo Bonzini wrote: > > Il 01/09/2014 13:46, Peter Maydell ha scritto: > >> So we could fix this by not compiling empty files... > > > > Easy for int128, even easier for getauxval (it's not a fastpath, so we > > can move the "

Re: [Qemu-devel] [PATCH v2] rules.mak: Fix DSO build by pulling in archive symbols

2014-09-01 Thread Peter Maydell
On 1 September 2014 13:04, Paolo Bonzini wrote: > Il 01/09/2014 13:46, Peter Maydell ha scritto: >> So we could fix this by not compiling empty files... > > Easy for int128, even easier for getauxval (it's not a fastpath, so we > can move the "always return 0" version from include/qemu/osdep.h to

Re: [Qemu-devel] [PATCH v2] rules.mak: Fix DSO build by pulling in archive symbols

2014-09-01 Thread Paolo Bonzini
Il 01/09/2014 13:46, Peter Maydell ha scritto: > So we could fix this by not compiling empty files... Easy for int128, even easier for getauxval (it's not a fastpath, so we can move the "always return 0" version from include/qemu/osdep.h to util/getauxval.c). I'm not sure how to detect that there

Re: [Qemu-devel] [PATCH v2] rules.mak: Fix DSO build by pulling in archive symbols

2014-09-01 Thread Peter Maydell
On 1 September 2014 12:28, Paolo Bonzini wrote: > Il 01/09/2014 12:59, Peter Maydell ha scritto: >> >> warning: >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: >> no name list >> warning: >> /Applications/Xcode.app/Contents/Developer/Toolchains/Xcode

Re: [Qemu-devel] [PATCH v2] rules.mak: Fix DSO build by pulling in archive symbols

2014-09-01 Thread Paolo Bonzini
Il 01/09/2014 12:59, Peter Maydell ha scritto: > > warning: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: > no name list > warning: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: > no name list > warning