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=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 5DF8A1F4CC for ; Tue, 17 Dec 2024 23:22:13 +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=A3eKhNOy; 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=DsLauFPt; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1734477700; bh=5pWoO/wESvAga0a4/D+YiM9pPcmnIMnDoD2We84WKtA=; 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=A3eKhNOymWgKxixmZb1TDh7rEWPngd1OM7+HtGzQFzuf5B2gGg9rCw7p5iqN9G+lD 3yHt83GDJf9FY5w7I3Zn/jzZ5f3+dCkxDp/F2ncjWAlvM8N/cfJJZnNvfDambwsNfJ ndqjF8Ngh3fBQswCrSPihHeLMjNl5MW0fXrxaVao= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id AB05A44E08 for ; Tue, 17 Dec 2024 23:21:40 +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=DsLauFPt; 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 D79C044C99 for ; Tue, 17 Dec 2024 23:21:36 +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=r+opApD7tCVW3Z0eBlw0qvY7DA3g8llIkSXZHomJFpk=; b=DsLauFPtB5abL77pBx8q7VMzAfo3GbV9foPErwuHpPHtaA7kxd0/ed0nT8OwQn9hV9z/ g3u76IKcen/gmFUHHqW/ullW5xjHMtr7SZ58vF6++1f2J6oEN+P4mk17t1+718Zr+k/qbF WLQ+FRRvvj3pCPYTqxAApcLLfL01pF1jSzljNCuq4zFjxLtvCJiiyJ8d0x6zQXOMa4eaeR 07ASQgE4FM0BOSx//Mi3oBUlwdIrdseZP2MdIbULwckFwwqeN561IKTXkX2Lsa0VfHGBgZ 7skCSL0bolU5/mdQDrTX4wsxvK/4sQWUcFY+JI52MM8ThIkYGH6qxDqQqMDnSWYQ== Received: by recvd-786d47b7ff-w5n7w with SMTP id recvd-786d47b7ff-w5n7w-1-6762077F-8 2024-12-17 23:21:35.714150647 +0000 UTC m=+2858273.187345461 Received: from herokuapp.com (unknown) by geopod-ismtpd-5 (SG) with ESMTP id sefJ2jbdRxOzlk8QMKALBw for ; Tue, 17 Dec 2024 23:21:35.688 +0000 (UTC) Date: Tue, 17 Dec 2024 23:21:35 +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: shan 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: 96960 X-SG-EID: =?us-ascii?Q?u001=2E9fGRHcaur0AuvitC=2F1zdJ7W0yF4MIWkxScnW56JP3D1Ru6E8cp4fwU50h?= =?us-ascii?Q?hG=2FIY2Xn1m8ku39wNL1Ycq7qVKPg2at8MlH86pC?= =?us-ascii?Q?QD+axk8pzTXM8PRs1XtVzAq8DnSjdeuPE1J40G4?= =?us-ascii?Q?kdRvZbdKfy3tVLBOL4eb6qd50oiYpAzuo=2Fx9G0i?= =?us-ascii?Q?cAMNITfkKZD1y0m6gGuQDksUCrhMRM=2F1a9igYSO?= =?us-ascii?Q?Oe9XqP5mahZgntrLGULL=2Fs0UVryom7r8Nv6OjQn?= =?us-ascii?Q?1dzsqZwRVuR4I60ehxXpy6fz9A=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: L7LZWOW2FDSWVBDIDOWBEPDRUOCED4V5 X-Message-ID-Hash: L7LZWOW2FDSWVBDIDOWBEPDRUOCED4V5 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:120283] [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: "shan (Shannon Skipper) via ruby-core" Cc: "shan (Shannon Skipper)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20961 has been reported by shan (Shannon Skipper). ---------------------------------------- Bug #20961: MMTk build on macOS missing librubygc.mmtk.bundle https://bugs.ruby-lang.org/issues/20961 * 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/