From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Fri, 06 Dec 2013 16:58:42 +0100 Subject: [Buildroot] [PATCH 1/2] qemu-system: new host package In-Reply-To: References: <1386117649-7119-1-git-send-email-gustavo@zacarias.com.ar> <1386117649-7119-2-git-send-email-gustavo@zacarias.com.ar> <20131204094419.6d4d4279@skate> <529EFEBA.8040103@zacarias.com.ar> <20131204133306.7e7e8e07@skate> <529F24A4.6030005@zacarias.com.ar> <52A0BCBC.5000008@mind.be> <20131205233131.0cad979d@skate> Message-ID: <52A1F432.3010904@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 06/12/13 02:14, Frank Hunleth wrote: > On Thu, Dec 5, 2013 at 5:31 PM, Thomas Petazzoni > wrote: >> Dear Arnout Vandecappelle, >> >> On Thu, 05 Dec 2013 18:49:48 +0100, Arnout Vandecappelle wrote: >> >>>>> Yes, I agree, the user mode emulation should probably be removed. It >>>>> simply cannot work properly, because we have no way of guaranteeing >>>>> that the kernel headers used for the target toolchain are older than >>>>> the kernel running on the system. >>> >>> It's not possible to do it in Config.in, but it's easy to do during the >>> build: compare /usr/include/linux/version.h with >>> $(STAGING_DIR)/usr/include/linux/version.h >> >> And then you fail the build if >> $(STAGING_DIR)/usr/include/linux/version.h gives a newer version >> of /usr/include/linux/version.h ? Could be possible, even if not really >> nice. But Fran?ois is proposing to remove cpanminus, which was the only >> reason to have qemu-user support. So do we care? > > I care a little (for as much as that counts), but not enough to argue > for keeping it if it is becoming a pain. We use qemu-user in a > post-build step to run a battery of regression tests on algorithmic > code. It has been convenient since the regression test data is too > large to run in one pass on the target hardware. It's also faster to > run on our PCs. I don't think that the regression tests exercise any > of the issues above. That seems to me like a valuable use case. But you would need a Config.in.host for it so it actually becomes visible, right? Care to contribute that? Regards, Arnout -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F