From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758958AbaGCPvy (ORCPT ); Thu, 3 Jul 2014 11:51:54 -0400 Received: from mail-lb0-f172.google.com ([209.85.217.172]:35921 "EHLO mail-lb0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755952AbaGCPvh (ORCPT ); Thu, 3 Jul 2014 11:51:37 -0400 MIME-Version: 1.0 In-Reply-To: <53B5969A0200007800020613@mail.emea.novell.com> References: <53B5863B02000078000204D5@mail.emea.novell.com> <53B5969A0200007800020613@mail.emea.novell.com> From: Andy Lutomirski Date: Thu, 3 Jul 2014 08:51:15 -0700 Message-ID: Subject: Re: [PATCH] ix86: fix vDSO build To: Jan Beulich Cc: Ingo Molnar , Thomas Gleixner , "linux-kernel@vger.kernel.org" , "H. Peter Anvin" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 3, 2014 at 8:44 AM, Jan Beulich wrote: >>>> On 03.07.14 at 17:34, wrote: >> On Thu, Jul 3, 2014 at 7:35 AM, Jan Beulich wrote: >>> Relying on static functions used just once to get inlined (and >>> subsequently have dead code paths eliminated) is wrong: Compilers are >>> free to decide whether they do this, regardless of optimization level. >>> With this not happening for vdso_addr() (observed with gcc 4.1.x), an >>> unresolved reference to align_vdso_addr() causes the build to fail. >>> >>> Signed-off-by: Jan Beulich >>> Cc: Andy Lutomirski >> >> Acked-by: Andy Lutomirski > > Thanks (also for the other one). > >> Any chance you could send a dump of the symbol and relocation tables >> of a .so.dbg with this problem? I'm curious why checkundef.sh never >> caught it. > > vma.o is part of the kernel, not the .so. Duh :) --Andy