From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id DA38B1F4CC for ; Thu, 19 Dec 2024 05:09:11 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=uyvtG0o9; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=a+lCF1r4; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1734584949; bh=Msbt5YedfrE0CCl2PrqoQVt2W7+/mKcQjgCdhYyL9+0=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=uyvtG0o9KZH9SrggUH0TRIsGytvkfF+npUfZ43Y8x1I+8AeYOw8TPvXSnTEzst+YB VEGfKw/x7LMlwE7/j9FcWFh3nJ55O6MD5RKiDcDOr7av4Lb+/E6Vo+x7soD79rrllx bl/D+mh+x5sE7aoiebfLXnHr9eCoCabLjJiqgLzA= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 65D48452FA for ; Thu, 19 Dec 2024 05:09:09 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=a+lCF1r4; dkim-atps=neutral Received: from s.wrqvtzvf.outbound-mail.sendgrid.net (s.wrqvtzvf.outbound-mail.sendgrid.net [149.72.126.143]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 7F22B452F5 for ; Thu, 19 Dec 2024 05:09:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=3MGVpIxRc7QP8IXZBIv5YP7wp05d+GY8uAXamuEA7Do=; b=a+lCF1r4tyvwtZ83HDxa+mcOCPgE4eOaTj22/Hizn2sq3gXPXoRVVHHJXEwUcpJ9KAQ7 9hwZAR4Dx0M+de4sbj2IWdyCNab97CGqKttkwBNvxtyhn+8yzg8iAioDqaNL6q9Xh4dYop enuWf6IVmeqGHg3PhrGDZfZZ83n8viuHmjJ9D/3NcyGTyLqoxUHZLCPtSV/lHszhwYiskC 6q8v7GBjp2ERCATHPvd8NPKV+b6xwEWhjxCKCjGDLwACM1ijJAxfpgMqlU8fm9hFT5PhFL nH5njAnRJX0VDg9/xjsdWlUqDKtWthLafJIHmF6QQPSj07FEYwxBWpMYRABoXBtA== Received: by recvd-5f54b5d587-6btv9 with SMTP id recvd-5f54b5d587-6btv9-1-6763AA70-D 2024-12-19 05:09:04.959243257 +0000 UTC m=+2965507.038668470 Received: from herokuapp.com (unknown) by geopod-ismtpd-22 (SG) with ESMTP id EH23R3g2Tea2Khs-oOABgA for ; Thu, 19 Dec 2024 05:09:04.882 +0000 (UTC) Date: Thu, 19 Dec 2024 05:09:05 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20967 X-Redmine-Issue-Author: ngoto X-Redmine-Issue-Assignee: ngoto X-Redmine-Issue-Priority: Normal X-Redmine-Sender: ngoto X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 96991 X-SG-EID: =?us-ascii?Q?u001=2EdosfhxGljwKbKmUCwn0OYwCXi1kt2pssBOW72NRjToEhvi0MLjDWLbDHh?= =?us-ascii?Q?KwFP+2zvK0Y3hbxNP6fN8jaXrj2=2FGlpJmtfmO=2FS?= =?us-ascii?Q?=2FMNrrNLPoLKrtCzHvF3xuCIR2EtC0e7+Uci642S?= =?us-ascii?Q?dlproq6=2Fvd51O0dQh3rJPIFYk7XNN2ewh2kfuHW?= =?us-ascii?Q?Yl1uxWzx8CnxJ4M7JCamnidAv+dn0ZgknH+TWYL?= =?us-ascii?Q?Nhz04hmh0qBc1c1hZrm71hE13VQJpMvKGzCvvhW?= =?us-ascii?Q?5S1k?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: PWBLLPLDUQGKVKCGCL4TLZZDNVXCWGXU X-Message-ID-Hash: PWBLLPLDUQGKVKCGCL4TLZZDNVXCWGXU X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:120314] [Ruby master Bug#20967] Oracle Developer Studio 12.5 on Solaris 10 miniruby symbol referencing error: Undefined symbol: atomic_signal_fence List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "ngoto (Naohisa Goto) via ruby-core" Cc: "ngoto (Naohisa Goto)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20967 has been updated by ngoto (Naohisa Goto). Status changed from Open to Closed I think that it is difficult to add `-xatomic=studio` or `-xatomic=gcc` automatically to `cflags` or `CFLAGS` by `./configure` because it is difficult to determine which is appropriate or better option. I think installing users should determine this. Generally, I think `-xatomic=gcc` is preferred on system with GCC installed. So, closing this issue. ---------------------------------------- Bug #20967: Oracle Developer Studio 12.5 on Solaris 10 miniruby symbol referencing error: Undefined symbol: atomic_signal_fence https://bugs.ruby-lang.org/issues/20967#change-111079 * Author: ngoto (Naohisa Goto) * Status: Closed * Assignee: ngoto (Naohisa Goto) * ruby -v: ruby 3.3.5 (2024-11-05 revision 664bbbd0fd) [sparc64-solaris2.10] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- When compiling Ruby 3.3 or head by using Oracle Developer Studio 12.5 on Solaris 10, failed to make miniruby with the following error messages: ``` Undefined first referenced symbol in file atomic_signal_fence vm.o ld: fatal: symbol referencing errors. No output written to miniruby make: *** [miniruby] Error 2 ``` Ruby 3.3.4 or later may be affected. This error occurred because of improper selection of atomic library in Oracle Developer Studio. https://docs.oracle.com/cd/E77782_01/html/E77789/gqhbq.html Adding `cflags` to `-xatomic=studio` or `-xatomic=gcc` when running `./configure` solved the problem. For example, ``` ./configure --prefix=/opt/ruby340 cflags="-xatomic=gcc" ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/