From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by sourceware.org (Postfix) with ESMTPS id 43A153858423 for ; Tue, 5 Dec 2023 23:19:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 43A153858423 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 43A153858423 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1032 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701818374; cv=none; b=Cr6dN+jYKkF1ySYU6Udawr8r1fO2XpREzCUCGD9yg3lgFzH9AiA1TBCILs8sxsOYMt6CwbSV0UaCHaKGMqR9Ryr76P/JqifFIWR3CoH2zRDP570/Q7abL95h0MH3J0Yv0SDhxqiB7Yk3wQy136bkCTEBvfkg5EArb+iCEp1VVUM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701818374; c=relaxed/simple; bh=07XYzbrmAY3LI98Epm1yEnUVF89Tw7x6N0Q4QIxkQBU=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=VbArPnJhRApUvpJRYnTMzRILcP6iAY+W5W9J8Q1q86zhcXNyAOCQvLibsFh8/C6P8HuBrNX6ZY0H5P9OYU1G21JLLiOk8RjfeKfpGt/RVaiGiLxP0++ZZUZNAtPQNyff0dBJT2+TkfBJk0zpyfvqkRc4CyPirwus/BCsQOhU5BI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2866af9d73bso2965784a91.3 for ; Tue, 05 Dec 2023 15:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701818369; x=1702423169; darn=gcc.gnu.org; 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=oCabW6Tz6PhzeQLz6FXqEW1wv9dWjxe6wEF0eKTjleE=; b=gFUO1zMeFt1F5FmYp2RO9WoUUADMRdHb/5Ya3YYPcS1zL/8Lu7gRUgBwnEmqJ5svSY OgQZ1/+Wm+3ol0PcBiECcjpKdKMe/c8+3y6xhg36g6HtuveJ757n4TFvKeufaZENU7l2 bp9Otsd+Yih8xQoigl0u8NUm0Ewv0IMMKL4xljV+f474/TSfBCwTPTSdeVhqr0GOd4KY bzm1k60lOAyVwPUu0jPbpndLcxHY7CF7YPl4ZqsgpaYerZyOQlNqYOgmlBemB6zM8uHW yCxI2LUvx4NhfVg1lRy7OO2LLIq2mHcfmQFvJiQZwUrPtDnr2K+ytuC+rOjwJ92cLAw3 TDwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701818369; x=1702423169; 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=oCabW6Tz6PhzeQLz6FXqEW1wv9dWjxe6wEF0eKTjleE=; b=a0d0EnXs6VGNqZkeblrEL3SJ2VjxdtqQof+YJJiuCEP2UYYxki6sqxqY33vLoUV3zO 5gAjoxk1jetYTqyHT3A9086Qtce2Y/x7wWZGZZG1sHmFMOeYihEvc3pWZufgEkqMr8lz mN9ivZpArRMJLyQEKpH0nTrC81GOLBD8FxXSza2QovnEIQEgM+DRrJngGyS09PH2ibd0 MQ/fpqigVarMjqUn5ZVrb079fQklk/TKXiM8J4Zmr7ZN+lXNZQMzniMkIsROUZQGcWQz A4fGK0vMgtpUshbh9sXE9TmQrluWW2xykVz89zYUVphZabQ9jsLHL+nyUCirdS6G7w9z 3d+A== X-Gm-Message-State: AOJu0YwbtFI+RFLnUgZs3a+TAcwSEUKO6SyhXEdp/ng3nPUMT2oEoLF3 NaysfP49pZ2lK4CcWCeB7RzHiOA+zllnS+/9EKcEH4GRFfbt1w== X-Google-Smtp-Source: AGHT+IHeqc7IWRGXykXhE1vRFqcW1yjYRvSn5nKmrTlp/ZxSIBNvoFWfbSOMBo7pJJFdBqkvlIIRDhYAsbNjCkRe+Lw= X-Received: by 2002:a17:90b:3812:b0:27d:375a:e322 with SMTP id mq18-20020a17090b381200b0027d375ae322mr58870pjb.31.1701818369195; Tue, 05 Dec 2023 15:19:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Pinski Date: Tue, 5 Dec 2023 15:19:16 -0800 Message-ID: Subject: Re: [PATCH] libsupc++: try cxa_thread_atexit_impl at runtime To: David Edelsohn Cc: Alexandre Oliva , GCC Patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,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: On Tue, Dec 5, 2023 at 3:15=E2=80=AFPM David Edelsohn w= rote: > > The error is: > > ld: 0711-317 ERROR: Undefined symbol: __cxa_thread_atexit_impl > > > from the new, weak reference. By the way this seems like the same issue on nvptx too. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112858 which has a similar analysis as below too. Thanks, Andrew > > > Also, earlier in atexit_thread.cc, there is another definition protected = by > > > _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL > > > not utilized by the new reference. > > > Thanks, David > > > On Tue, Dec 5, 2023 at 11:10=E2=80=AFAM David Edelsohn wrote: >> >> Alex, >> >> This patch broke bootstrap on AIX. The stage1 compiler is not able to b= uild a program and stage2 configure fails. >> >> Thanks, David >>