From nobody Tue May 16 23:38:14 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 4QLXjf6b4Bz4BbcM for ; Tue, 16 May 2023 23:38:14 +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 4QLXjf4X65z4XX8 for ; Tue, 16 May 2023 23:38:14 +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=1684280294; 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: in-reply-to:in-reply-to:references:references; bh=0T/18XFwum3BkMJQBUkLGkhULcthRlunsWOiJHQZf0s=; b=Ef0ZEF0Fpj8HIYbpECjSpRvZBnkcap17/OzbM+DtMBpTBggUrAoW1HCkQ40mUQFKeVO1ui 3DvPQCTayuwERH9H4OpeE+o2H7cUOLgbpaLzD8DB5chnKQV8owyvK6dGkdeeotK8o10Kdu CYbazCyia5fjBR156kfq9A3XjBOOikNzA4FKZtMvi9XO6JrFdNWXZjb4fkf1r2vJqNSGRZ +Qw42L/wreLK/qWdZSYFllYFe0cwA6NkY++6QtYPzMPl09x5SYKYOfGSJlAKTVv9UsukIl ZCIs76wX1Iky0IP5vJuNOq5fp2et6QFf27PDBOMmS8DS0WZQX/vBF7pGRwF6lQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684280294; a=rsa-sha256; cv=none; b=lOtxJS3YjibzAquyeVU+pDKU1pNPmGvZv0Bf2W2DCzGhdnOiJLGPiUKdZ+WA+zn+WD6nNQ 8/Ph3NbvMjcRc2i4jBMNGJlHf2MOiThBKohO2YTjCHzKMxzf/fMWrALSg3TSKmFUPEogkA IaYORZr8nMayFL173/g28GU86wdV+pm97Bz9oieMCvcWQhNoJwZ7Gq6YrTU5Nz22s96cyb TZfWdPmvdkKXitDKv7gdsA0hUg7lgB6L7BAMqrlMVMdd9wrM2SrtwDbs7/ZMd2rEWgNKc7 Zdoi3P76SfsYHqlAh/e+A68UgzuHTsfuaFcz1cAGW0Jr3SzBBdjrySesy/5Chg== 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 4QLXjf3dQxzhlF for ; Tue, 16 May 2023 23:38:14 +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 34GNcEpA002648 for ; Tue, 16 May 2023 23:38:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34GNcEph002647 for ports-bugs@FreeBSD.org; Tue, 16 May 2023 23:38:14 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 271374] emulators/mame-0.254 fails to build on {amd64,i386}-14-CURRENT Date: Tue, 16 May 2023 23:38:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: fuz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271374 --- Comment #8 from Robert Clausecker --- Took a crack at fixing the linking problem on armv7 today. I tried to use = the bfd and gold linkers, but neither reduced memory usage, even with all memory saving options enabled. Even compiling with -Os didn't help. Weirdly enough, lld crashes at 2 GB of memory usage. I thought armv7 progr= ams can use 4 GB of virtual address space on arm64 hosts, but it seems like I'm wrong. What finally did the trick was passing LDFLAGS=3D-s to the makefile, stripp= ing the binary as it was linked. Another solution I had so far not checked might be to unbundle bundled dependencies, reducing the total amount of text and data involved in the li= nk. Note also that as of now, mame ignores CC and CXX passed in from the host a= nd instead hard codes to cc and c++. This is wrong. I've a patch ready that should address this. --=20 You are receiving this mail because: You are the assignee for the bug.=