From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_DBL_BLOCKED_OPENDNS, URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=new2025; t=1754000747; bh=NMcg+07Rttau1oUpdnm5CTFPNgCRrWM+kgBEii5/h9k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-ID:Date:From:Reply-To:Subject:To: Cc:In-Reply-To:References:Resent-Date:Resent-From:Resent-To: Resent-Cc:User-Agent:Content-Type:Content-Transfer-Encoding; b=bostPhaCVrOYmk1dc/My0SZSJikpTnCgvwI/s9001xYely7OAtmSB7bqZCNoR+jC5 YpWlfTseMdOKHWHSWV38/EzBE6xAICtq5HW+O6S4LyQsKBR+u5WdlmSNpert0HaMOc Q1B9qQcRbQUM7R4cCEBKMOY33vJ90erPx0HtPIK/N0WlHc4ILD4rrxyBstUwxs+Nvr lhj43GtI+yXKkAFs0hUic8WHuT0HFT2QSnfuA8EZpk8gwFZWp8xTf82bX30jIkymVW YnUq10BXKYWtqhoW2pX5L4N+mm7o9Urm0W2JB+mTYwAcI2jtNwHHYriD7TasheSzzc HtUOeL9fh7dMw== Received: from localhost.localdomain (unknown [68.183.184.174]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id C57F43126ED6; Thu, 31 Jul 2025 22:25:46 +0000 (UTC) From: Alviro Iskandar Setiawan To: Ammar Faizi Cc: Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [PATCH gwproxy v2 0/2] Fixes for older glibc version Date: Fri, 1 Aug 2025 05:25:41 +0700 Message-Id: <20250731222543.303821-1-alviro.iskandar@gnuweeb.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: Good morning! Two patches to fix issues with older glibc version, specifically glibc version 2.28 which is the default on AlmaLinux-8. GNU CC version 8.5.0 20210514 (Red Hat 8.5.0-26) with glibc version 2.28. v2: - Define __sys_gettid() in syscall.h instead of log.c to avoid missing __do_syscall0() definition on architectures other than x86_64. Signed-off-by: Alviro Iskandar Setiawan --- Alviro Iskandar Setiawan (2): log: Fix missing `gettid()` syscall on older glibc version configure: Append `-lanl` lib to fix missing `getaddrinfo_a()` Makefile | 2 +- configure | 6 +++--- src/gwproxy/log.c | 3 ++- src/gwproxy/syscall.h | 9 +++++++++ 4 files changed, 15 insertions(+), 5 deletions(-) base-commit: f897120d186dcf609d025c48be0be9f044b2b46b -- Alviro Iskandar Setiawan