Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4696355ybl; Mon, 9 Dec 2019 15:16:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxFmZy8Vx5XKiX8OY9Rokszd9zUgjHlg5dX5HlXD0CSsJy8+u7uUv9r9w7kBdraV9xg3wTh X-Received: by 2002:aca:5588:: with SMTP id j130mr1484740oib.122.1575933396917; Mon, 09 Dec 2019 15:16:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575933396; cv=none; d=google.com; s=arc-20160816; b=grka4n5dP+7AMzieXh7WmFxFl2KXEKzhyzORaw0s4FL93cj8CB/JfKNzHJ3+o+kNSA POQKBpEUW10AEFJPAKKEbW+u6e8/8tZh88RyW0Gr+89SJuc7aa6kFeIrM/77uRUzX9jN e/+sPTyZDds6snhFCtbnigG4tPZ+VEc14G3Qwkeba5tcc6BN7F48dctgmP9SCKjfWNgi CW6eGGRnwmArDbRORN4Q7/YA2vvu9avArduzv+f0CGjd12cU/6ezQWLiEhqL5IO4iaj9 eKHZqcv1/vbnzvDyS4GFvWL9R/U1EusWypgWqGuOAch18mcrvpl33MDqXO6jFtCPY8RG 1FZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=2+tr+QzXLjPJc4n3rUJLXEYFgo7F7qXTftRYApIxB3A=; b=xASWqyuS6LB+rzk4zSPVSK7ZUqaV+jVKFFA4LG/JM5O7MQng2e3tOmizdTRA36E5xK ibaXOApeftxykwGo/WHd4PaxhMCFsGkYeSjlBrAXL0c4evRLd8bPZhOWjfBehMYs5ryS tYt9W7Go3eF8rtFdy6peOwMiEap+/b3YH9FuHh0oCgEiDEBrtvMXZcHjKfYBsvAMmvqD 5jzG8Q3Hrvvwy8fHRH7cMziwXCLVVrJSw7PmbbDty5tdOKNliAKMCTPoKod68E6iMMQD uW0Q9147o+m5olmT18iFPq8tlUP6iMBoXkbqnOiCtZ6GZT8741zXEJMeTUKlSt5NGfOL QHJA== 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 f23si851669oto.205.2019.12.09.15.16.23; Mon, 09 Dec 2019 15:16:36 -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 S1727145AbfLIXPw convert rfc822-to-8bit (ORCPT + 99 others); Mon, 9 Dec 2019 18:15:52 -0500 Received: from lithops.sigma-star.at ([195.201.40.130]:49128 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726743AbfLIXPv (ORCPT ); Mon, 9 Dec 2019 18:15:51 -0500 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 9302B60632CA; Tue, 10 Dec 2019 00:15:48 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 11pnfsCsf4tL; Tue, 10 Dec 2019 00:15:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 3A62D6125476; Tue, 10 Dec 2019 00:15:47 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fNCfT7CEoPd4; Tue, 10 Dec 2019 00:15:47 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 08C3D60632CA; Tue, 10 Dec 2019 00:15:47 +0100 (CET) Date: Tue, 10 Dec 2019 00:15:46 +0100 (CET) From: Richard Weinberger To: Brendan Higgins Cc: Jeff Dike , anton ivanov , Johannes Berg , linux-um , linux-kernel , davidgow@google.com Message-ID: <1406826345.111805.1575933346955.JavaMail.zimbra@nod.at> In-Reply-To: <20191209230248.227508-1-brendanhiggins@google.com> References: <20191209230248.227508-1-brendanhiggins@google.com> Subject: Re: [PATCH v1] uml: remove support for CONFIG_STATIC_LINK MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF68 (Linux)/8.8.12_GA_3809) Thread-Topic: remove support for CONFIG_STATIC_LINK Thread-Index: b8m7foHpOez/Ln062vqdX5Nq4xnVUQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "Brendan Higgins" > An: "Jeff Dike" , "richard" , "anton ivanov" > CC: "Johannes Berg" , "linux-um" , "linux-kernel" > , davidgow@google.com, "Brendan Higgins" > Gesendet: Dienstag, 10. Dezember 2019 00:02:48 > Betreff: [PATCH v1] uml: remove support for CONFIG_STATIC_LINK > CONFIG_STATIC_LINK appears to have been broken since before v4.20. It > doesn't play nice with CONFIG_UML_NET_VECTOR=y: > > /usr/bin/ld: arch/um/drivers/vector_user.o: in function > `user_init_socket_fds': vector_user.c:(.text+0x430): warning: Using > 'getaddrinfo' in statically linked applications requires at runtime the > shared libraries from the glibc version used for linking This is nothing serious. > And it seems to break the ptrace check: > > Checking that ptrace can change system call numbers...check_ptrace : > child exited with exitcode 6, while expecting 0; status 0x67f > [1] 126822 abort ./linux mem=256M Didn't we fix that already? > (Apparently, a patch was recently discussed that fixes this - around > v5.5-rc1[1] - but the fact that this was broken for over a year > remains.) > > According to Anton, PCAP throws even more warnings, and the resulting > binary isn't really even static anyway, so there is really no point in > keeping this config around[2]. What? Anton, please explain. Why is it not static when build with CONFIG_STATIC_LINK? Thanks, //richard