Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6787181ybc; Thu, 28 Nov 2019 05:32:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwWd5WxGv8QRPtLryY4Ea9lfGeQ0blL5gL8T18teEPYO5w6nf/8QHbyS7HpOZJneCsFcpuw X-Received: by 2002:a17:906:f2c4:: with SMTP id gz4mr12639767ejb.39.1574947924360; Thu, 28 Nov 2019 05:32:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574947924; cv=none; d=google.com; s=arc-20160816; b=dGkQK3AHd0ee23oRiTqqlPJnYohROiHQovYtiQTQ30+BpTbWL2wMgJSilajjjslGue vUYhgc0Cp2qVcxGwOciq5vELXRSw16MpgaJZ9BM9aPI5zo099zX/nUuqkiGZkgHKlUkk cehL+oqvzK2XkMLfYLdNIIpjEVLX+Ci+/XNmV90xHeO9IFH2ZhEiStokkHXqligadFdS MrngvTf4tvhY44S+g/h6aH5XfLww2R/PXrV1nJiRuyCAoG2NyXj9CPuNDLX1f0I3Ooki L/Uavm9Xjr2fZY4HhPinmhwVM+muQbwiiz0ULLu36kNipx4sgFZKh2mJ4E74W7DTsmV4 XEig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=X8H/f9zs7l7hR8N5F9+4gLHlfo0VzF1Nmo5qpNiMbtY=; b=mpuf+tVB/glL92I0Sty9LNkHzdjd+76lulnqRsodEhwxZC2q+XoS8I70pjbPpoF73x wPH/ygFpkvnHB22dvGNzWjs+X2rVpRN9U46sjeEF66rGdLvZNbBTk1NrDKvdiG9DrgdD hIynH/8sLIDgV9kgUhZ0/4rzQjXLFo5e9HpbC5ohQdJkJ/6xd1sSsMj2EZ09vE+qOYRN RbJJrjahVrhl0eoSKh4C6PslLpOwAMA1xWDloDxumGWz3gi5KNZpwVu+DywMF2uyTplp kkfo2ATBpiz2N/kgw+bSpXylWXIJPmWU/EwGbh5zlp7DomwzkeNQFMaVRxF8J84O0Y1O k7dQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dm19si4905528edb.214.2019.11.28.05.31.39; Thu, 28 Nov 2019 05:32:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726656AbfK1N3t (ORCPT + 99 others); Thu, 28 Nov 2019 08:29:49 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:47843 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726227AbfK1N3t (ORCPT ); Thu, 28 Nov 2019 08:29:49 -0500 X-Originating-IP: 193.22.133.58 Received: from hyperion.localnet (unknown [193.22.133.58]) (Authenticated sender: relay@treewalker.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 17AB9FF818; Thu, 28 Nov 2019 13:29:45 +0000 (UTC) From: Maarten ter Huurne To: mips-creator-ci20-dev@googlegroups.com Cc: "H. Nikolaus Schaller" , Vincenzo Frascino , Ralf Baechle , Paul Burton , linux-mips@vger.kernel.org, Linux Kernel Mailing List , Discussions about the Letux Kernel Subject: Re: MIPS: bug: gettimeofday syscall broken on CI20 board Date: Thu, 28 Nov 2019 14:29:45 +0100 Message-ID: <4807842.gtHLO0kk0V@hyperion> In-Reply-To: References: <18788C50-F29B-4BD7-89F6-B056FF490214@goldelico.com> <7b6275c7-ab2b-a647-6bf7-d5e1c4523c98@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, 28 November 2019 13:33:17 CET H. Nikolaus Schaller wrote: > Hi Vincenzo, > > > Am 28.11.2019 um 13:21 schrieb Vincenzo Frascino > > :> > > [...] > > The the lib that provides the gettimeofday() changes accordingly > > with vdso_data. 5.4 and 4.19 have 2 different vdso libraries as > > well. > > Yes, that is what I have assumed what happens. How do these libs go > into an existing and working root-file-system with Debian Stretch? I'm a novice when it comes to vDSO, so someone please correct me if I'm wrong. From what I read vDSO is a library in the sense that it exports ELF symbols that applications and other libraries (libc in particular) can use, but it is not a file on disk. As such, which rootfs you use shouldn't matter, since the vDSO is not in the rootfs. Instead, it is contained in the kernel image. Searching for "linux-vdso.so.1" on packages.debian.org indeed returns no hits. There is a check in arch/mips/vdso/Makefile that disables vDSO on MIPS when building the kernel with binutils < 2.25. I don't know if that is in any way related to this issue. Bye, Maarten