From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 37A373858D1E for ; Mon, 29 Jan 2024 16:40:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 37A373858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 37A373858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706546441; cv=none; b=u7q2UXxIGO3RgRKRlG3RY3tct274zWtLlnYPa1OQASPLNUVl06fKXrmQA6jqtXchcaiUkUVQscanaas3JgZZiO4fWexZ0lGSEeRzURnw71JM5y9jWu4mJ3q/55ytDrx+oLgmVpjktTc7Bl9tzKGhX3LZ27bmb32EtfVFSHQEMf8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706546441; c=relaxed/simple; bh=2qT9hbEn+kF7pDWJpdbQLmC5dyiA+ZrO/TiKdbCWh7Q=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=QO88x+Sac/Afw29E9z1dVW4HElnGvcIhgdmvQTfB3iHbkeiq1xwhcqH2X6mlSxPHhZVfOjumg/QgEndsPWw5/pw66lx5glljmgAids7vMZAFUQWA//+xBWWrxpg5l5f/bPhUMRR4DxVf4nFXpLvfUyZzHrPko/EeNIUR7doDy78= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706546439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2qT9hbEn+kF7pDWJpdbQLmC5dyiA+ZrO/TiKdbCWh7Q=; b=Y2rl9QY2KXE7Ie8JE6E2SwkOIbsg6QcGaYzbcoq64f7sVmk/zflXTJqCv1EfRqlaO6hqch 5I2gXG7f0dgdzJZDHcRVnYkb2ankMwAuyb5MT8EFIZ3BUp3wOaKC17s4siu1FXdJJkAOZ6 B9WddRy+lj1mg6EBP8nPVMeNK/Mvy1A= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-92-1zkc_OYaPe-rAk0vG8p07Q-1; Mon, 29 Jan 2024 11:40:37 -0500 X-MC-Unique: 1zkc_OYaPe-rAk0vG8p07Q-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A78023CBDFA9; Mon, 29 Jan 2024 16:40:36 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.66]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BFF5A492BC6; Mon, 29 Jan 2024 16:40:35 +0000 (UTC) From: Florian Weimer To: "Andreas K. Huettel" Cc: libc-alpha@sourceware.org, Jan Henrik Weinstock , Adhemerval Zanella Subject: Re: [PATCH v3] Always define __USE_TIME_BITS64 when 64 bit time_t is used References: <20240118131801.600373-1-adhemerval.zanella@linaro.org> <2445957.jE0xQCEvom@pinacolada> Date: Mon, 29 Jan 2024 17:40:34 +0100 In-Reply-To: <2445957.jE0xQCEvom@pinacolada> (Andreas K. Huettel's message of "Sat, 27 Jan 2024 14:54:35 +0100") Message-ID: <87o7d4drel.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Andreas K. Huettel: > When rebuilding a riscv32 qemu chroot with this patch I get errors similar to > > (python) > ceval.c:(.text+0x272a): undefined reference to `__pthread_cond_timedwait64' > collect2: error: ld returned 1 exit status > > (gnupg) > /usr/lib/gcc/riscv32-unknown-linux-gnu/13/../../../../riscv32-unknown-linux-gnu/bin/ld: /usr/lib32/ilp32d/libnpth.so: undefined reference to `__pthread_mutex_timedlock64' This could happen if you build against a mixed of old and new headers. (Old headers which check __USE_TIME_BITS64, but a new header that defines __USE_TIME_BITS64 because the architecture has time64.) Thanks, Florian