From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by sourceware.org (Postfix) with ESMTPS id D27473858D1E for ; Tue, 14 Feb 2023 17:55:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D27473858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=apache.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=apache.org Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with ESMTPS id 31F8843207 for ; Tue, 14 Feb 2023 17:55:19 +0000 (UTC) Received: (qmail 1383557 invoked by uid 116); 14 Feb 2023 17:55:18 -0000 Received: from ec2-52-204-25-47.compute-1.amazonaws.com (HELO mailrelay1-ec2-va.apache.org) (52.204.25.47) by apache.org (qpsmtpd/0.94) with ESMTP; Tue, 14 Feb 2023 17:55:18 +0000 Authentication-Results: apache.org; auth=none Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by mailrelay1-ec2-va.apache.org (ASF Mail Server at mailrelay1-ec2-va.apache.org) with ESMTPSA id BD8443EB52 for ; Tue, 14 Feb 2023 17:55:17 +0000 (UTC) Received: by mail-ej1-f43.google.com with SMTP id k16so10537382ejv.10 for ; Tue, 14 Feb 2023 09:55:17 -0800 (PST) X-Gm-Message-State: AO0yUKXpJD2hBWwmBhvYa7IkzaDjrZqkcYoTjaScrRqNADlW5H+HK8OO Z5G4Ek2E3Sosw+LsoOJxuYdZq1851Oo9imVN5lM= X-Google-Smtp-Source: AK7set+YLa+6Lx72idUxozKDZ3GDfxuO1kTRtrA0ZJy9mh0yFKGpBQJN9PE1Wf6cyH5RmVW/Iui5oIvX2gai2onDqL8= X-Received: by 2002:a17:906:4a04:b0:8b1:28c1:6b9c with SMTP id w4-20020a1709064a0400b008b128c16b9cmr268332eju.4.1676397317069; Tue, 14 Feb 2023 09:55:17 -0800 (PST) MIME-Version: 1.0 From: jay Taylor Date: Wed, 15 Feb 2023 01:55:05 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: ld.lld: error: unable to find library -lgcc_eh To: gcc-help@gcc.gnu.org Content-Type: multipart/alternative; boundary="00000000000096251a05f4acaa18" X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00,ENV_AND_HDR_SPF_MATCH,HTML_MESSAGE,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TXREP,USER_IN_DEF_SPF_WL 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: --00000000000096251a05f4acaa18 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable errer message=EF=BC=9A ld.lld: error: unable to find library -lgcc_eh clang: error: linker command failed with exit code 1 (use -v to see invocation) gcc info=EF=BC=9A root@open:~$ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=3Dnvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=3D1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=3Dfile:///usr/share/doc/gcc-11/README.Bugs --enable-languages=3Dc,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=3D/usr --with-gcc-major-version-only --program-suffix=3D-11 --program-prefix=3Dx86_64-linux-gnu- --enable-shared --enable-linker-build-= id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --enable-bootstrap --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=3Drelease --with-target-system-zlib=3Dauto --enable-objc-gc=3Dauto --enable-multiarch --disable-werror --enable-cet --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with-tune=3Dgeneric --enable-offload-targets=3Dnvptx-none=3D/build/gcc-11-xKiWfi/gcc-11-11.3.0/= debian/tmp-nvptx/usr,amdgcn-amdhsa=3D/build/gcc-11-xKiWfi/gcc-11-11.3.0/deb= ian/tmp-gcn/usr --without-cuda-driver --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu --with-build-config=3Dbootstrap-lto-lean --enable-link-serialization=3D2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) --00000000000096251a05f4acaa18--