From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by sourceware.org (Postfix) with ESMTP id 8CA963858C50 for ; Fri, 23 Feb 2024 19:33:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8CA963858C50 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.crashing.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8CA963858C50 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=63.228.1.57 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708716796; cv=none; b=jI337+raZ8Fkj78GKFkwMc/DrvD1jhbKYpet7cqbkC/N5C5se5a30DAS9iMgjs145LyQkSdgE2p6ndaak8n09JJsaIuSZdS+2ENHqTqE1gYctj89pFQ9eh/Xt+I++R+VI4h3eeAWJ6Nqu+UcCgvS3ZQ3twoIID2ci7G4rru07cY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708716796; c=relaxed/simple; bh=ttBjMqTkrcPKUZGegsq7m74XIOAhxz+/Hgg0NJUZ83s=; h=Date:From:To:Subject:Message-ID:Mime-Version; b=XGSGazdVEerACSpktrqGE/6is/FJx+iwqJHzRuPiTxRxutwepyXvsK8O5y4K6YRH9GEUyM574WfKeVQHfv4yTnt/qpRMSEu2blqLsnAKv9vYyew5FCLzTbswBcnUGKBmNsuGxG4MMxjjk9TPUICamdJGNNt9Fdi4GV4rFLSQJYQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 41NJW0qj017772; Fri, 23 Feb 2024 13:32:01 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 41NJW0Yg017765; Fri, 23 Feb 2024 13:32:00 -0600 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Fri, 23 Feb 2024 13:32:00 -0600 From: Segher Boessenkool To: Jonathan Wakely Cc: yuucyf , gcc-help Subject: Re: About Multilib Message-ID: <20240223193200.GN19790@gate.crashing.org> References: <22976fd.a273.18dd4ff8b2f.Coremail.yuucyf@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, Feb 23, 2024 at 10:01:49AM +0000, Jonathan Wakely via Gcc-help wrote: > On Fri, 23 Feb 2024, 08:07 yuucyf via Gcc-help, > wrote: > > > hi, all: > > > > On the PPC platform, when using gcc, an error is reported: cc1: error: > > '-m32' not supported in this configuration. > > Which configuration parameter should be enabled in the source code to > > build gcc in a way that the resulting gcc supports the -m32 option? thanks. > > --enable-multilib --enable-targets=all even. > But as already observed, you need 32-bit user space libraries. And powerpcle-* has never been supported very well. No one tests it regularly, to start. There never was a real supported Linux port for this, either. Segher