Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755928Ab2HIH1c (ORCPT ); Thu, 9 Aug 2012 03:27:32 -0400 Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:46301 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755695Ab2HIH1a convert rfc822-to-8bit (ORCPT ); Thu, 9 Aug 2012 03:27:30 -0400 MIME-Version: 1.0 Reply-To: sedat.dilek@gmail.com In-Reply-To: References: Date: Thu, 9 Aug 2012 09:27:29 +0200 Message-ID: Subject: Re: Using vanilla kernels headers to do backport testing -- issues with memcpy() From: Sedat Dilek To: "Luis R. Rodriguez" Cc: =?UTF-8?B?T3phbiDDh2HEn2xheWFu?= , Ubuntu Kernel Team , linux-kernel@vger.kernel.org, linux-wireless , Hauke Mehrtens , "H. Peter Anvin" 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: 1962 Lines: 53 On Thu, Aug 9, 2012 at 5:30 AM, Luis R. Rodriguez wrote: > On Wed, Aug 8, 2012 at 5:43 AM, Ozan Çağlayan wrote: >> On Tue, Aug 7, 2012 at 10:28 PM, Luis R. Rodriguez wrote: > >>> mcgrof@garbanzo ~/compat (git::master)$ objdump -T >>> /home/mcgrof/compat-ksrc/lib/modules/3.4.4-030404-generic/build/scripts/genksyms/genksyms > > <-- snip --> > >>> Bleh: >>> >>> 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.14 memcpy > > <-- snip --> > >> Can't we just rebuild genksyms in compat? I already have glibc 2.15 on >> my system so I can't test this but normally this should adapt to the >> build environment as it rebuilds and relinks the binary. > > Indeed! Implemented and pushed upstream: > > https://github.com/mcgrof/compat/commit/42faf2dc8d8bbbdc5b8913183fcd021a27e953c9 > I am not an English native but this sentence sounds a bit strange to me ("used" followed by "require" and double "Linux"?). I can imagine what you want to express but have no better wording right now. 180 + echo -e " This was added since kernels >= 3.4 used require" 181 + echo -e " a glibc >= 2.14 for memcpy(), and not all Linux" 182 + echo -e " Linux distributions have such glibc. - Sedat - > So if you run into this issue all you have to do now is run: > > ./bin/get-compat-kernels -r > > New users of the script will automatically have this run after it > downloads and installs the kernel headers. > > Case closed, thanks :) > > Luis > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- 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/