[Top][All Lists]

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

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

From: Andreas Färber
Subject: Re: [Qemu-devel] [RFC] Avoiding --whole-archive
Date: Sun, 29 Nov 2009 15:17:53 +0100


Am 14.06.2009 um 00:15 schrieb Andreas Färber:

Am 31.05.2009 um 12:15 schrieb Anthony Liguori:

Starting with this commit, qemu-system-sparc segfaults immediately; you later fixed it in c833ab7351f2ebac46740380a81e34482e208dcc (Fix
segv when passing an unknown protocol) to no longer segfault, now
printing "qemu: could not read disk image /path/to/image".

I would assume -z,allextract isn't doing what we would like it to do on

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) * extracting the .a archive to a temporary directory from the target Makefile and obtaining the names by `ls *.o` (similar to libtool)

Please decide what a patch should do to be accepted and to finally fix this issue.



reply via email to

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