Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758065Ab2JXUJW (ORCPT ); Wed, 24 Oct 2012 16:09:22 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:47834 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755791Ab2JXUJV convert rfc822-to-8bit (ORCPT ); Wed, 24 Oct 2012 16:09:21 -0400 Date: Wed, 24 Oct 2012 22:09:17 +0200 From: Richard Weinberger To: Matthew Leach Cc: linux-kernel@vger.kernel.org, Martin =?UTF-8?B?UMOkcnRlbA==?= Subject: Re: [REGRESSION] uml: signal.c build errors Message-ID: <20121024220917.239390bf@spider.haslach.nod.at> In-Reply-To: <87hapj3a9q.fsf@mattleach.net> References: <87pq48lqut.fsf@mattleach.net> <20121024213919.5543e90b@spider.haslach.nod.at> <87objr3b2z.fsf@mattleach.net> <20121024215445.04d53d0d@spider.haslach.nod.at> <87hapj3a9q.fsf@mattleach.net> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2671 Lines: 65 Am Wed, 24 Oct 2012 21:06:25 +0100 schrieb Matthew Leach : > Richard Weinberger writes: > > Am Wed, 24 Oct 2012 20:48:52 +0100 > > schrieb Matthew Leach : > > > >> > >> Richard Weinberger writes: > >> > Am Wed, 24 Oct 2012 00:18:34 +0100 > >> >> I have tracked this down to [1] where, indeed, the type of > >> >> sig_info is different; the second parameter in signal.c is > >> >> 'siginfo_t' where as in as-layout.h the second parameter's type > >> >> is declared as 'struct siginfo'. > >> >> > >> >> [1]: d3c1cfcdb43e023ab1b1c7a555cd9e929026500a > >> > > >> > Looks like we have to revert that commit. > >> > Moving everything to siginfo_t requires a non-trivial header > >> > cleanup and may introduce new regressions. > >> > > >> > Matthew, does the attached revert patch help? > >> > >> The revert did remove the errors for the compilation of signal.c, > >> so that seems fine. I still get the following errors, however: > >> > >> CC arch/um/os-Linux/sigio.o > >> CC arch/um/os-Linux/signal.o > >> CC arch/um/os-Linux/start_up.o > >> arch/um/os-Linux/start_up.c: In function ‘check_coredump_limit’: > >> arch/um/os-Linux/start_up.c:338:16: error: storage size of ‘lim’ > >> isn’t known arch/um/os-Linux/start_up.c:339:2: error: implicit > >> declaration of function > >> ‘getrlimit’ [-Werror=implicit-function-declaration] > >> arch/um/os-Linux/start_up.c:339:22: error: ‘RLIMIT_CORE’ undeclared > >> (first use in this function) arch/um/os-Linux/start_up.c:339:22: > >> note: each undeclared identifier is reported only once for each > >> function it appears in arch/um/os-Linux/start_up.c:347:22: error: > >> ‘RLIM_INFINITY’ undeclared (first use in this function) > >> arch/um/os-Linux/start_up.c:338:16: warning: unused variable > >> ‘lim’ [-Wunused-variable] cc1: some warnings being treated as > >> errors make[1]: *** [arch/um/os-Linux/start_up.o] Error 1 make: *** > >> [arch/um/os-Linux] Error 2 > > > > Does adding > > #include > > #include > > > > to arch/um/os-Linux/start_up.c help? > > Adding the above includes and the revert commit did the trick! Thanks a lot for being my build bot. ;) I'm not able to reproduce the issue on any of my machines. I have to do more tests and send all patches to Linus and -stable tomorrow. Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/