From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id E4BDF3847814 for ; Tue, 29 Jun 2021 15:43:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E4BDF3847814 Received: by mail-ej1-x636.google.com with SMTP id bu12so37239327ejb.0 for ; Tue, 29 Jun 2021 08:43:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Soia9Voiv7P5Fui+xrW9v7y8r24dVufhjdI5fjLl758=; b=kqTJ8a2K13mbafF5dpZyw3o7wydp3fLmwLBGYABbzQ7n6I8s7wmam8FUACcRxc5cMu oKriJeiH4L32QUa/d8+wSifX5E6VHzHqwJRBsgQ+w4yV2CyUh+Jy8gd8kk8J9UiG7wEM pZOtnepPTQWfhZp7HJCsCQJ5wyQ2un2f8AVyNNSSF4yBJjlff5mGZE/YWtwVBJ8/n2Na q4id5eOz76ZXN/re4OKYSW6XEgnxuHZwXiB7R4AkBOxkPdt4ziNtueHsbduRqpBUYPVN ymmsyyuh+afnFC+FG9km6z2T9Bw3KC5WWlZs8/4EooO/RgW+HEuaePbIBVSs0AsgLcPs KGhQ== X-Gm-Message-State: AOAM532gqv4Yk0sv8Cw+RSMLRnKzQrdetTVPqxK7J+4zod6k80eHXwIx VeOq5YT2E2T9B98XEMNCpIsSrh4/fyvnJbghdPIlDg== X-Google-Smtp-Source: ABdhPJyIJE0yg6jMwRa11JcoBqc3CuMKy6A+QvqW/p7gngOYXPhYri+Vq68HP+qqFFKYHY1JvQ3MzFMmwbG7Sdo/SYs= X-Received: by 2002:a17:906:c1d0:: with SMTP id bw16mr30906111ejb.146.1624981380014; Tue, 29 Jun 2021 08:43:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Oleg Smolsky Date: Tue, 29 Jun 2021 08:42:49 -0700 Message-ID: Subject: Re: [EXTERNAL] Re: Linking issue when mixing GCC10/GCC11 artifacts To: Jonathan Wakely Cc: gcc-help X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2021 15:43:02 -0000 On Tue, Jun 29, 2021 at 8:39 AM Oleg Smolsky wrote: > I am using `g++` to link in both working and failing cases. > The peculiar thing is that the linking issue goes away when I change the reproducer slightly: avoid linking the gcc10-built lib or avoid using std::unordered_map. Either thing is OK by itself...