From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) by sourceware.org (Postfix) with ESMTPS id 777263895FE3 for ; Fri, 21 Jun 2024 14:06:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 777263895FE3 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 777263895FE3 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.128.176 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718978811; cv=none; b=W9QEVijea4neilwSRtAGEXDC25Jy51wUQMBbY43EmNZD9PDGdBuf/5tz2UmXGkNWY0FUshFvbt+Y6YxZr29sCgUzPwEtHpFEjIJ5/5pJ7Qf7/aiGkRXqx3/xCe/X2uOxpwJJhvHvhqAVCqMLRSRqI1eLtRJTOktonPU9F8dpXLk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718978811; c=relaxed/simple; bh=ipcbDXZe3MivX1sTtD64w3Wmi92KGDRajyTpIpPoFQ8=; h=MIME-Version:From:Date:Message-ID:Subject:To; b=wUlHJA70Pz0RvR+DEWieXxwXOh43K3YpaEa36EplUfcV9uwdJ5P+P3ECdJe+Iv0HHpFtHEI/LjcQhvCqCpmn85MhQ1EvDDeE/nIUAlNAHJnjNAuk0reRSnjy1SHXA6X67hwWruozXa00o/+Axlsr9AafYxM5us3PF1fmry/CB+I= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-62a2424ed00so23299177b3.1 for ; Fri, 21 Jun 2024 07:06:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718978806; x=1719583606; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xgqi7GXfFm/UOJH1c32vQkopB1YkqtbKbwp0p2gdezo=; b=ocFunJAetIXbTnUZKHriu4AwRyZlDwAURz45WsjL7/RRffY8tBvHZZ52oeRbxNLa5L zv9DpAT4zArvfVTyZ4aznYSrKaMpcgogxneTHU45TV1lEnNvoQFymmXi368QfbgmCTzV F6LuaP3KhtCU8ijbTJqBbcUTmQEAc0YQi4zTiB/Or72j/3KSR+LVzVcAgslvjLuvpg6C mEMVsMBgo08scpIKmzDmuwEPWojtlgoBEGCYEhFaYwk/o6DsH8z+UjzmHFyTtamCZSKq oQTffFgBBdjHf24QN23UxCB1co/VStAOrOQ90NddmewxVD6PMcy9nIdeyac5io+ChLqN ETzQ== X-Forwarded-Encrypted: i=1; AJvYcCUx/TBBRwHNLBCUOMbT7Rz87N+Doet5F07OBDVbncLxx2OfXExUswVJTPSSnJj8sbMTrxLdfV899z7jEZTb7y0lPOiYRMjpMg== X-Gm-Message-State: AOJu0Yz7J7wtACCM1nnMOjrv1AU8Ty5Th28Y6t0HxOJRsnN+ouWRsi+h 10KEMEQLyYcEGcuTxiitTgFa3BN+C11l+mqFuJdBKucNAIdQIQ1DuVszlPmhuwY= X-Google-Smtp-Source: AGHT+IEsmbKuxJnQbTxADcTpZ3ha951TVNZM0o2Bl1ti9rX3L4Qz/eDhJkh7dls4Y901UFA6z1vQnw== X-Received: by 2002:a0d:e612:0:b0:62c:c696:5bf9 with SMTP id 00721157ae682-63a8f619e05mr90921897b3.35.1718978804955; Fri, 21 Jun 2024 07:06:44 -0700 (PDT) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com. [209.85.219.171]) by smtp.gmail.com with ESMTPSA id 00721157ae682-63f11c03cc3sm3786117b3.56.2024.06.21.07.06.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Jun 2024 07:06:44 -0700 (PDT) Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-e02da9b2db7so1670302276.3 for ; Fri, 21 Jun 2024 07:06:44 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCW0sZNekfBTMjTuPLAo1dz89OGtlsFccAqXlSKwjvy9B5oBF0CStbwDei632BD6SQKm8HRlvzrfQiFEhn4vEijhvPmobz8Blw== X-Received: by 2002:a25:aa85:0:b0:dfa:ce78:e5c6 with SMTP id 3f1490d57ef6-e02be16fa6cmr9029584276.35.1718978804470; Fri, 21 Jun 2024 07:06:44 -0700 (PDT) MIME-Version: 1.0 References: <20240620024324.18568-1-syq@gcc.gnu.org> In-Reply-To: From: YunQiang Su Date: Fri, 21 Jun 2024 22:06:33 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Build: Set gcc_cv_as_mips_explicit_relocs if gcc_cv_as_mips_explicit_relocs_pcrel To: "Maciej W. Rozycki" Cc: Richard Sandiford , gcc-patches@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,BODY_8BITS,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP 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: Maciej W. Rozycki =E4=BA=8E2024=E5=B9=B46=E6=9C=8821=E6= =97=A5=E5=91=A8=E4=BA=94 22:00=E5=86=99=E9=81=93=EF=BC=9A > > On Fri, 21 Jun 2024, Maciej W. Rozycki wrote: > > > > Yeah, agreed FWIW. This was necessary while the feature was relative= ly > > > new, and while we still supported IRIX as, but I can't see any reason= able > > > justification for using such an ancient binutils with modern GCC. > > > > > > Getting rid of -mno-explicit-relocs altogether might simplify things. > > > > FWIW I tend to agree too, although I think the current mess has to be > > fixed first (and backported to the release branches) before going forwa= rd > > with the removal. > > And FAOD I think a stub check has to remain even after the removal and > just cause `configure' to bail out if an unsupported obsolete version of > GAS has been identified. > Sure. And it is also useful to emit error if we cannot find mips binutils. In fact, sometimes, I meet a problem if I forget to install mips binutils f= irst. > Maciej