qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] Avoiding --whole-archive


From: Avi Kivity
Subject: Re: [Qemu-devel] [RFC] Avoiding --whole-archive
Date: Mon, 30 Nov 2009 11:00:09 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Thunderbird/3.0b4

On 11/29/2009 04:17 PM, Andreas Färber wrote:

This problem is still around after Juan's Makefile reorganizations.

Before, I had provided two alternative patches:

* The first version wrote the list of libqemu_common.a's and $(HWLIB)'s object files into a text file from Makefile[.hw] that was later read in Makefile.target.

* The second version was using dedicated Makefile[.hw] targets for printing the object files to stdout for use by Makefile.target, avoiding the need to write an intermediate file.

Avi had preferred a variation of the first version for reduced complexity.

Other ideas that crossed my mind were:
* using GNU ld directly instead of gcc for linking (broken by -Wl and some other LDFLAGS)

Using ld directly may break link-time optimization when that arrives.

--
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]