From nobody Sun Oct 06 21:40:03 2024 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 4XMG0N296Rz5YZ42 for ; Sun, 06 Oct 2024 21:40:04 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XMG0M5LN9z40cK for ; Sun, 6 Oct 2024 21:40:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728250803; 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=b5es/rYfb4ciZoKFB+fRaBaTgoPW7Mjyqjs8ObxuHnM=; b=OQ9OixayRS7o467M6glejvBlWkG6nxMfre6XEhf89hXlawKyl2CBZz8xKQUkHM8INrgAw5 x1watMBTiD1FdmGKzLAUc8RZeiDybxjUUMA5SnaTLW7sTIypE9pEpxWwZzkunhibP/2N2J qMMa23ftlWgNBPp/QvkQmMxM0apptxp4aaetZbtXwVoxMkyLKEJiPQ/RzeZyEDrHNumoW1 k4B/AlUYljcyC0zGKfEIXeZcg7ECe3EM/ydA8BdY8AwIMzMTh78JvwXMFCjGYu92ecM6SJ B9vJc7Z9Dq5PGI/+aRIEPejbBVMhkALukpJPexIb4S+UHw5HQdN4cEpsT/PrvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728250803; a=rsa-sha256; cv=none; b=kNyZoWmoi59+2mC0mhFs7Bi9lofoqvD1xwE3UAXBKHbFzpDx5AZIpCg6x0LGiO+Pt220t1 eRyi2KdWduiL6TC7zx+W33leWnW38HPqDFqc6RTnvGGpiYbDSvRMsg1sULEMDHKFbqkmNQ PssRbMxReaK1qGbrO97waE6TqNlxjpKtVH9KcBw/VX6T/8qNTX7nhT7HbCUDe0MSHSwk25 bsogpsn881u9bBjzPSAglVL3XiQ9zbVBO+IuVM/6WtBd2JL5aCDK1USNFUHCvZMB4K7qIQ LEFNeX0D2pP2JdHXtZrJpllODwTklZxGsR/H8Y9bAUC3YuKR686tk4oVRA7SJg== 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 4XMG0M49lyzJVN for ; Sun, 6 Oct 2024 21:40:03 +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 496Le3Ub056301 for ; Sun, 6 Oct 2024 21:40:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 496Le3fh056299 for ports-bugs@FreeBSD.org; Sun, 6 Oct 2024 21:40:03 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 281906] emulators/mupen64plus-core: fix build with clang and lld 19 Date: Sun, 06 Oct 2024 21:40:03 +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: acm@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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281906 Bug ID: 281906 Summary: emulators/mupen64plus-core: fix build with clang and lld 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(acm@FreeBSD.org) Assignee: acm@FreeBSD.org lld 19 has become more strict about 32-bit relocations that require PIC, resulting in link errors when building emulators/mupen64plus-core: LD libmupen64plus.so.2.0.0 ld: error: relocation R_386_32 cannot be used against symbol '__gxx_personality_v0'; recompile with -fPIC >>> defined in /usr/lib/libcxxrt.so >>> referenced by oglft_c.cpp >>> _obj/osd/oglft_c.o:(.eh_frame+0xFA63) ld: error: relocation R_386_32 cannot be used against local symbol; recom= pile with -fPIC >>> defined in _obj/osd/oglft_c.o >>> referenced by oglft_c.cpp >>> _obj/osd/oglft_c.o:(.eh_frame+0xFA81) ld: error: relocation R_386_32 cannot be used against local symbol; recom= pile with -fPIC >>> defined in _obj/osd/oglft_c.o >>> referenced by oglft_c.cpp >>> _obj/osd/oglft_c.o:(.eh_frame+0xFAB1) ld: error: relocation R_386_32 cannot be used against local symbol; recom= pile with -fPIC >>> defined in _obj/osd/oglft_c.o >>> referenced by oglft_c.cpp >>> _obj/osd/oglft_c.o:(.eh_frame+0xFAE1) [...more of these...] Make it compile with -fPIC even on i386, by adjusting the PIC make variable. This also removes the need to use -Wl,-znotext as a workaround. --=20 You are receiving this mail because: You are the assignee for the bug.=