From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 778BC3858D28 for ; Wed, 21 Jun 2023 10:54:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 778BC3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6686a1051beso3282625b3a.1 for ; Wed, 21 Jun 2023 03:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687344846; x=1689936846; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HIpDZjTAWct44nwT8U59AwsYEWgRtcnmaqUz8xFcao8=; b=DVrDm/guFHqrlQ6DwJVf9EB1QH/6w6hlHKIUvtmsnzNrmGcoxVeuLXSjAcugQSfDnV Q/zDB5MDxBpWn3baGo0oCiuSnVRGNuZlBcsAIdvGoHExqjbFPm4UA/D73oivIPFxdJER Xs2GqIa6c67HBqFp9B1cztpt/etyvqy1rcJITl2Gf8beIxWtcDC8d7UeRmj/FvlV261h rlSwE5gBEmL+47X/r/1XGOS/NMt+gOzEmGFE/15stSRC9gmLnLFnJ5PVJzM8B9RzyDy3 8bmTtkFV1NIupgzrIMy3q9TfzVbeIN99P8hrmPAq+Nah9vBFU8lfc4ZbiVBBngsR1VXB CRAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687344846; x=1689936846; 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=HIpDZjTAWct44nwT8U59AwsYEWgRtcnmaqUz8xFcao8=; b=FSn1tut5kGMwpjgYjnrHpnKdmMYzIZu8oF0t3p4ismE7nYiKHukVvyGTYzmZY76z1o ARj0lWvlS2YJMY8kD4LLky47aBYebp/6YBISJFOvQV29QV7salYvW1ekXjs7x5D3dmJz HCpa/ddZqe9Ae/yGl5jENhQ2Ovg69A0l9Wy5wFmB+Lldf6YoOYlZUpvi2a78kvvFy9f8 TvOMfwpSZukDZ5Rg02oEAwN/0IfKOekDi9R9zbQBrU+h5/P2gMQjLIpcYdEYJgJobrbf cF4oCOpamLLVM3E0AOZDaQ1fKhrPmLhMqYeTmAFhTOA+Eyo61wZ47CYzd3tkVRrm40Ke tQSw== X-Gm-Message-State: AC+VfDzyeFmi9Bm571PiPv0pU/HYn6KUkqr6q3HgijlM8He5KYZwTCWH clUOV94gpziK8Im0f9HzEZiPn21zrQKdpR90GFA= X-Google-Smtp-Source: ACHHUZ4SKfUH32NzlEBCS4h+qqNugReR0ugf8df2rbH4pMcseB2jyhVQvquW0LNzxEJiXWRnqKU1msjlSlQCwWA2acE= X-Received: by 2002:a05:6a20:12c8:b0:11e:e9c4:a37b with SMTP id v8-20020a056a2012c800b0011ee9c4a37bmr18913905pzg.18.1687344846307; Wed, 21 Jun 2023 03:54:06 -0700 (PDT) MIME-Version: 1.0 References: <20230616063412.1715024-1-yunqiang.su@cipunited.com> <20230616063412.1715024-6-yunqiang.su@cipunited.com> In-Reply-To: From: YunQiang Su Date: Wed, 21 Jun 2023 18:53:54 +0800 Message-ID: Subject: Re: [PATCH v4 5/7] MIPS: Fix some ld testcases with compiler To: Alan Modra Cc: YunQiang Su , binutils@sourceware.org, macro@orcam.me.uk, paul.hua.gm@gmail.com, jbeulich@suse.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: YunQiang Su =E4=BA=8E2023=E5=B9=B46=E6=9C=8821=E6=97=A5= =E5=91=A8=E4=B8=89 13:05=E5=86=99=E9=81=93=EF=BC=9A > > Alan Modra =E4=BA=8E2023=E5=B9=B46=E6=9C=8820=E6=97=A5= =E5=91=A8=E4=BA=8C 11:57=E5=86=99=E9=81=93=EF=BC=9A > > > > On Tue, Jun 20, 2023 at 11:17:00AM +0800, YunQiang Su wrote: > > > Alan Modra =E4=BA=8E2023=E5=B9=B46=E6=9C=8820=E6= =97=A5=E5=91=A8=E4=BA=8C 10:34=E5=86=99=E9=81=93=EF=BC=9A > > > > > > > > On Tue, Jun 20, 2023 at 09:40:19AM +0800, YunQiang Su wrote: > > > > > How do you build your cross toolchain? > > > > > > > > mips64-linux-gnuabi64-gcc (GCC) 13.0.0 20220910 (experimental) was > > > > built using this configuration: > > > > ~/src/gcc/configure \ > > > > --with-sysroot=3D/home/gnu/mips64-linux-gnuabi64 \ > > > > --prefix=3D/usr/local \ > > > > --target=3Dmips64-linux-gnuabi64 \ > > > > --enable-targets=3Dmips-linux-gnu \ > > > > --with-mips-plt \ > > > > --disable-nls \ > > > > --enable-__cxa_atexit \ > > > > --enable-initfini-array \ > > > > --disable-libsanitizer \ > > > > --disable-bootstrap \ > > > > --enable-languages=3Dc,c++ > > > > > > > > > > You have no `--enable-plugin` option here, so > > > > That shouldn't be necessary. > > > > > > > 9. ld-plugin/plugin.exp: xfail > > > > > plugin claimfile lost symbol, > > > > > plugin claimfile replace symbol, > > > > > plugin claimfile replace symbol, > > > > > plugin claimfile lost symbol with source, > > > > > plugin claimfile replace symbol with source, > > > > > plugin claimfile resolve symbol with source, > > > > > plugin 2 with source lib, > > > > > load plugin 2 with source, > > > > > plugin 3 with source lib, > > > > > load plugin 3 with source. > > > > > > won't run. > > > > It's true they don't run for mips64-linux-gnuabi64 for reasons I have > > not investigated, but they do for --target=3Dmips64-linux using the sam= e > > mips64-linux-gnuabi16 compiler. > > > > You are right. In fact the real problem is that my compiler is too > old (GCC 12). > ohhh, no. It's due to there is no --with-mips-plt build option for my gcc. > > -- > > Alan Modra > > Australia Development Lab, IBM > > > > -- > YunQiang Su --=20 YunQiang Su