From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from latitanza.investici.org (latitanza.investici.org [IPv6:2001:888:2000:56::19]) by sourceware.org (Postfix) with ESMTPS id 147203858C31 for ; Fri, 17 Feb 2023 11:31:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 147203858C31 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=autistici.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=autistici.org Received: from 1.mail-backend.investici.org (unknown [10.0.0.11]) by latitanza.investici.org (Postfix) with ESMTP id 4PJ8lG1hC0zGp4h; Fri, 17 Feb 2023 11:31:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1676633466; bh=xmPXqPx/BOQNIsTyuaaLzOKxMgdh18Z5tl40qcdiaf4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=O4wm7TH0Y//5no/pZyyCZzawtEzP3zMGh/ZfpyhkRboNZNssDuc/5/uBcA0/ug0nd +M5M7ZcQ17G7DdMwFU6kmZWct+q8or5ve9WU/1bHm8tGUg0ofMz4Jdbp3/QvyusTTe r3r2XQjCcCKjFl+dxvmqSFVw76YRyAfQyG600P4M= Received: from 1.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: i.nixman@autistici.org) by 1.mail-backend.investici.org (Postfix) with ESMTPA id 4PJ8lG0VD6z5w3C; Fri, 17 Feb 2023 11:31:06 +0000 (UTC) MIME-Version: 1.0 Date: Fri, 17 Feb 2023 11:31:06 +0000 From: i.nixman@autistici.org To: Xi Ruoyao Cc: Gcc Help Subject: Re: Extra import symbol in debug build In-Reply-To: References: <4f36cb6cb8e444073e1a9e253e861920@autistici.org> <82d48ece08fbe9d59cca0cebd8d04f58@autistici.org> <1fa9b2598357629dfaac5debd53708b3@autistici.org> User-Agent: Roundcube Webmail Message-ID: X-Sender: i.nixman@autistici.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,TXREP 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: On 2023-02-17 10:23, Xi Ruoyao wrote: > On Fri, 2023-02-17 at 08:51 +0000, i.nixman--- via Gcc-help wrote: > >> 1. will the problem be solved by "pushing" a debug version of >> libstdc++ >> on the remote machine? > > Yes if you set LD_LIBRARY_PATH or something correctly. But > -static-libstdc++ is easier. will try this way. > You can't. Defining anything in std namespace is undefined behavior. ah, right... thanks!