From nobody Sat Sep 23 20:04:08 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RtKpd1xwQz4v9mK for ; Sat, 23 Sep 2023 20:04:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtKpd0wCPz3Lfm for ; Sat, 23 Sep 2023 20:04:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695499449; a=rsa-sha256; cv=none; b=FtEARfBmkZbusqbRY+zCP3S0EfaZaRBdAVvXiLxFQSW9zj7PXZxrtwv8ZXs3mAUF1c/IGA SzWLBDpLYv8x4fcX+lDJRKeGUvbxL1MS5pUwHOJWQPjoK8JwB/MRPevxWfVRmawg/P2LFl mj47vYSNP9Qt5n19mm+GEX4ARzXMWk++MO6Fqo4m1PvtubVW363FLkVjCA5JuStesfmk7H uQoYJCRFNzVLiMS2RqqTuu1C+C/tDMlByXYaPBJAl8ptYDQqTr3LSIvpRFNj8TjjRw88ws SEw0PD9N37+l3HJEZoHh2KpIjOiWNeU2h7wYOFw6JM8vAO7+BxkYQbkLHGq62A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695499449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iZv6n7ypXIeugW21m8hi5oJKUav17g5AMFBE5PwF1A0=; b=eOznytfY0bQ2GWUANHdRxx27v6FHnd1yaVuwZdbz1JOIIReELQ/ujEb/ORRS5CSyqptKzS T21sRkJjVw8EowM2DzxQixtBVTJ5OnoUzAYSJbLwk9jNc+D1gBUDDlhIINS0d7etY+wX1v f8fvYG710hsNuyWTCncjFkX1rhjceaHCEs4jzi/MPmJ7/OVq1HwDzwnTChPqxpxfNKNWDq uISvgtauc+rpcDHdIlBGpVOP+2Tyh1viN9N90vS5GVZEkJH/c03uaXPQub0DupVcLMltU0 ZBqa2EOzIMdca7Koqf1KKAa564r03QT/AmaI+1Fmh2AVUwllDImwkUrH6yb7HA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RtKpd02Hxz3JC for ; Sat, 23 Sep 2023 20:04:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38NK48Qo016282 for ; Sat, 23 Sep 2023 20:04:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NK48be016281 for ports-bugs@FreeBSD.org; Sat, 23 Sep 2023 20:04:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274056] devel/libffi: fix build with lld 17 on i386 Date: Sat, 23 Sep 2023 20:04:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kbowling@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274056 Bug ID: 274056 Summary: devel/libffi: fix build with lld 17 on i386 Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kbowling@freebsd.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(kbowling@freebsd.org) Assignee: kbowling@freebsd.org As reported in bug 273753#c12, devel/libffi fails to link with lld 17, at l= east on i386: libtool: link: cc -shared -fPIC -DPIC src/.libs/prep_cif.o src/.libs/type= s.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/.libs/tramp.o src/x86/.libs/ffi.o src/x86/.libs/sysv.o -O2 -fstack-protector-strong -Wl,--version-script -Wl,libffi.map -fstack-protector-strong -Wl,-soname -Wl,libffi.so.8 -o .libs/libffi.so.8= .1.2 ld: error: version script assignment of 'LIBFFI_BASE_8.0' to symbol 'ffi_java_raw_call' failed: symbol not defined ld: error: version script assignment of 'LIBFFI_CLOSURE_8.0' to symbol 'ffi_prep_java_raw_closure' failed: symbol not defined ld: error: version script assignment of 'LIBFFI_CLOSURE_8.0' to symbol 'ffi_prep_java_raw_closure_loc' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) This is because the symbols it complains about are not implemented on i386,= due to the FFI_NATIVE_RAW_API define being nonzero. Fix it by adding more #if statements to libffi.map.in. --=20 You are receiving this mail because: You are the assignee for the bug.=