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) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id BF3D11F4CC for ; Wed, 18 Dec 2024 00:41:22 +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=vGu6kTvA; 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=fmNuKb9e; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1734482449; bh=hgLRPbgjIykXPk6l2r21VcCWIi7+VTKh63dA58otuXw=; 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=vGu6kTvAwDJ6j0FGwKiopimUPW57OuZ2hYa+ICX4s1u8dOzSP+WTGFEuvpsQ3GIUZ EVCFFw6wsqG95jM5O4Zg79QW6uRPM5DL1RXjVo8vzDnLADkL7kiWOfLkXI/JiQ/AA3 W1VsaBt/vJd78yV94/Exwnsfy3qzCzy4TNivp88Y= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id A349044E69 for ; Wed, 18 Dec 2024 00:40:49 +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=fmNuKb9e; dkim-atps=neutral Received: from s.wrqvtvvn.outbound-mail.sendgrid.net (s.wrqvtvvn.outbound-mail.sendgrid.net [149.72.120.130]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 77CED44DDE for ; Wed, 18 Dec 2024 00:40:45 +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=jqK1sSlGJB/QXKJrbSnYiomN4Dm+RYdkbdsQx2hdOyo=; b=fmNuKb9eo4f53h/92TjB1LdqZ7EKzUSMjW/8qZyrnegvXSmVJ8DsnAagGJ+txxcdRUPN 0ZHqqeyj/8L0pwPBJjOjbEX4aY+Sx8QqXAaA5nn6Hsp13n0nGp3VAguUX+8urUGagiCNqD u+NSkGnWvQqjm19wR5jirguP2j7OB2dB3fbN8JF5MZ938REhAVdACvt2luNzSCxr+z9yhs Zw5r3vEEd0eGQcgWx5dAlrGSbP4cCMjkGUDkxmj0f6p9p4F28tIcdKzPgcDoeIiwS5Ikrn ECAU9uvsvdIRL9l0U28PUxzSxBqVJQ85gVGW2MVLxjC8uH54ud2K5CMZqFc02BKw== Received: by recvd-5f54b5d587-6xg6k with SMTP id recvd-5f54b5d587-6xg6k-1-67621A0B-11 2024-12-18 00:40:43.871892536 +0000 UTC m=+2863100.310596996 Received: from herokuapp.com (unknown) by geopod-ismtpd-8 (SG) with ESMTP id epoUDp6iRxKXht8YJRF6gA for ; Wed, 18 Dec 2024 00:40:43.821 +0000 (UTC) Date: Wed, 18 Dec 2024 00:40:43 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20961 X-Redmine-Issue-Author: shan X-Redmine-Issue-Priority: Normal X-Redmine-Sender: nobu 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: 96962 X-SG-EID: =?us-ascii?Q?u001=2E5PtzXJ23KrYzgM1nrOIr+EQ222PyrDaWSg0Er8CZ8tP86xyXmBM81zBKD?= =?us-ascii?Q?HreavdFYMbHjxXOR6UPMkt=2Fu9CyBIp6y52n8D2y?= =?us-ascii?Q?qA9zqurrgUddVFZV6OkID7JsJDRKBynXzxMZZfW?= =?us-ascii?Q?6vx+QVWSqFYM95zaPZlwtygSfH4IL22VbMA5ip1?= =?us-ascii?Q?AOS1yRAz7JA0gPc7AE9pyiIT7qWK09yppyE+gdI?= =?us-ascii?Q?eUKk2a726gT=2F1h4P8kqfdFr9WdRCzt3O9+HJ9cL?= =?us-ascii?Q?VchgKhozqMGGeBFCUS=2FnhjZR8Q=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: 3DVFHL3TCU3A4ES7Q7VQR6WJSS2FLZAP X-Message-ID-Hash: 3DVFHL3TCU3A4ES7Q7VQR6WJSS2FLZAP 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:120285] [Ruby master Bug#20961] MMTk build on macOS missing librubygc.mmtk.bundle List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "nobu (Nobuyoshi Nakada) via ruby-core" Cc: "nobu (Nobuyoshi Nakada)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20961 has been updated by nobu (Nobuyoshi Nakada). shan (Shannon Skipper) wrote: > ``` shell > --with-modular-gc="gc/mmtk/target/release" IIRC, this option requires an absolute path. ---------------------------------------- Bug #20961: MMTk build on macOS missing librubygc.mmtk.bundle https://bugs.ruby-lang.org/issues/20961#change-111050 * Author: shan (Shannon Skipper) * Status: Open * ruby -v: ruby 3.4.0dev (2024-12-18 master 9715131c32) +YJIT +MN +PRISM [arm64-darwin24.2.0] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- Hi! I'm excited about the new modular GC feature. I just wanted to report that when I build Ruby 3.4.0-rc1 with MMTk on latest macOS 15.2 I seem to be encountering a linking issue. Whether I `cargo build --release` or `ruby extconf.rb && make` a `target/release/libmmtk_ruby.dylib` is created. A `make modular-gc MODULAR_GC=mmtk` then seems to expect a `target/release/librubygc.mmtk.bundle`, which doesn't exist. I briefly had it working but now can't reproduce the working order. Reproduction steps: ``` shell brew install gmp jemalloc libffi libyaml openssl@3 readline rust zlib curl https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-rc1.tar.xz | tar -x cd ruby-3.4.0-rc1 ./configure \ --prefix="$HOME/.rubies/ruby-3.4.0-rc1" \ --with-libyaml-dir="$(brew --prefix libyaml)" \ --with-openssl-dir="$(brew --prefix openssl@3)" \ --with-readline-dir="$(brew --prefix readline)" \ --with-zlib-dir="$(brew --prefix zlib)" \ --with-opt-dir="$(brew --prefix gmp):$(brew --prefix jemalloc)" \ --with-jemalloc \ --with-modular-gc="gc/mmtk/target/release" cargo build --release --manifest-path=gc/mmtk/Cargo.toml make -j miniruby modular-gc MODULAR_GC=mmtk ``` I keep getting errors similar to: ``` ruby_modular_gc_init: Shared library /Users/havenwood/src/ruby-3.4.0-rc1/gc/mmtk/target/release/librubygc.mmtk.bundle cannot be opened: dlopen(/Users/havenwood/src/ruby-3.4.0-rc1/gc/mmtk/target/release/librubygc.mmtk.bundle, 0x0009): tried: '/Users/havenwood/src/ruby-3.4.0-rc1/gc/mmtk/target/release/librubygc.mmtk.bundle' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/havenwood/src/ruby-3.4.0-rc1/gc/mmtk/target/release/librubygc.mmtk.bundle' (no such file), '/Users/havenwood/src/ruby-3.4.0-rc1/gc/mmtk/target/release/librubygc.mmtk.bundle' (no such file) ``` The latest nightly Ruby I tried produced the same missing `.bundle` error. I'm very much looking forward to 3.4.0 and the introduction of the new pluggable GC feature! Thank you! -- 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/