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.129.124]) by sourceware.org (Postfix) with ESMTPS id 66A313858C78 for ; Wed, 6 Sep 2023 20:43:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 66A313858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694032992; 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=isPoo8Z+QpYGN9eAyTG/PTDtw0yDpJs78n8qMB6WkOU=; b=V1Kaz0HokigEPDYjOkDId4DmV4bzt/w/wT58krDUwajhNgtN1mPjs3BTWmxUFRhcYgNkb6 pjQkdvK6AXRDouSvRCWTlcJWEBW+XfHWqR9G0CFIR/bK7vhb+XjZNpIWSYJ1tRWRnYzHb0 L7rl2e8tbr8XvlrxXpOr6XxV0A2HUYM= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-653-vS3PVTMVMiG5zQdYFddF7Q-1; Wed, 06 Sep 2023 16:43:10 -0400 X-MC-Unique: vS3PVTMVMiG5zQdYFddF7Q-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 81C0038149AC; Wed, 6 Sep 2023 20:43:10 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0C2F263F6C; Wed, 6 Sep 2023 20:43:09 +0000 (UTC) From: Florian Weimer To: Palmer Dabbelt Cc: libc-alpha@sourceware.org Subject: Re: [PATCH] build-many-glibcs: Add a RISC-V config with most of the B extensions References: <20230906150605.10221-2-palmer@rivosinc.com> Date: Wed, 06 Sep 2023 22:43:08 +0200 In-Reply-To: <20230906150605.10221-2-palmer@rivosinc.com> (Palmer Dabbelt's message of "Wed, 6 Sep 2023 08:06:06 -0700") Message-ID: <87pm2vxcbn.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-4.8 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_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP 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: * Palmer Dabbelt: > + self.add_config(arch='riscv64', > + os_name='linux-gnu', > + variant='rv64imafdcb-lp64d', > + gcc_cfg=['--with-arch=rv64imafdc_zba_zbb_zbs', '--with-abi=lp64d', > + '--disable-multilib']) I doubt we need a separate GCC configuration, you should be able to use the existing compiler for that and just change the glibc build flags. I expect we need some sort of version check because these flags are rather recent, right? To what extend do they actually impact code generation for glibc? Thanks, Florian