From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 5/5 V2] kvm tools: Initialize and use VESA and VNC Date: Wed, 25 May 2011 10:32:00 +0200 Message-ID: <20110525083200.GF21552@elte.hu> References: <1306149553-26793-1-git-send-email-levinsasha928@gmail.com> <1306149553-26793-5-git-send-email-levinsasha928@gmail.com> <20110523113824.GE4042@elte.hu> <4DDB6E55.8080408@redhat.com> <20110524085024.GA31453@elte.hu> <4DDB77E5.4080306@redhat.com> <20110524194019.GA27634@elte.hu> <4DDCBC08.3030507@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sasha Levin , penberg@kernel.org, john@jfloren.net, kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com To: Paolo Bonzini Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:42983 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753330Ab1EYIcP (ORCPT ); Wed, 25 May 2011 04:32:15 -0400 Content-Disposition: inline In-Reply-To: <4DDCBC08.3030507@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: * Paolo Bonzini wrote: > > In that sense ((section)) is way more robust: there's not really that many > > ways to screw that up. Fiddling with the ((constructor)) environment on the > > other hand ... > > Sorry, this is textbook FUD. I specifically cited the problem of static libraries. They *do not work* with ((constructor)). That's not FUD but justified scepticism backed by hard evidence. > > __attribute__((constructor)) is not particularly portable to begin with: > > does the MSVC compiler support it for example? > > No, but GCC supports it on non-ELF platforms, [...] So you claim that ((section)) is 'not portable' but concede that it does in fact not port to one of the most widely used compilers. Instead you clarify that under 'not portable' you really meant to say that ((section)) does not work on non-ELF binary platforms. That is a pretty inconsistent position and has nothing to do with 'portability' in itself but with being portable to what *you* consider important. Thanks, Ingo