From nobody Fri May 16 19:51:40 2025 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 4Zzd4r0gZjz5wDyN for ; Fri, 16 May 2025 19:51:40 +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 4Zzd4q6T58z43Nj for ; Fri, 16 May 2025 19:51:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747425099; 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=Hz2WmLHxeDgdJzlJ2C+Unu800ptj9npxJNdZsi1YeFQ=; b=ahg/jd3hKTNAKFdOOFpJ6RHQNVYAqlPyDqNxHopCfITqPv3sy4Z4v0iPfG39NN0zrWYaW8 dMhrioLK1uy7/GZLaMJrKC0cFp4OpYJNwItjJTB7wb4LWWtDvUVa+At2v0MZMnA3fLVa2D 1/AXIC5fC8gtac5rav76FslQEOWeOC3MA2sAoII0EWWBduNmlJie1nL9T4VFopg1VeViv0 cWFtyX7tFEhNYd/lmTLHprh9ZjfwqODagsmkV0tGvu8O3ExtCBTG8xgIVg2lnV7pYpIcg5 jE3vEYQEC0faTNptaiNrhSask10/KMAqK7Ivb+9Lhu2+P5eO8g5zSemnJJZTjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747425099; 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=Hz2WmLHxeDgdJzlJ2C+Unu800ptj9npxJNdZsi1YeFQ=; b=ZXuwjj46C14rHeWxbRQ4Qbp3KhAbY0wUiHjOz7kMDmzLIaa0naIkF3GFRDYhhHwh8W5Yf+ TAL5d1IKMR7lFLr+3jV93UE1pSmKedyJLAyQeoDnH9AOUCwxMgIkWr6jG4AwXAbATTpnh8 1a/svD+EOuHWsl/v7YNLD4x7VkVq1xbfRtpcFQ3Hnghu+RELEY1UX/AjlxnaAuK1HSlWgj rg0/ysJ3GC1HnprLDdwvqtMwvAOvpRXoTRKSnrtV8z+mHyqJ/5hzlEJ55fhPbaeBd6heUe fzr0m9ZvIOa89P8nsrYUvoRs2OebTMp99FH93kG6Hj6B8jyT1EmOEbEjQGFqRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747425099; a=rsa-sha256; cv=none; b=m1DNLw2kX9CYZd6J5Xq9AjBt6PTHJvFygXhpZm0D/T4wFtl9cq2kWv4VsJp9wPJC7JWRMI rZRk80iHxveE0Xmx09jZZFuTDyHAPFfyuRHNAmDSKywjmf1CLGj5DiMvAL+015EOurGNrr z88KznYZfHm7QOHkvk1hThbF3MqfdYueTe6hVTut2+4jUxs75ylfG59pBHlm6vaXx4U9Ba Pyo3hqoUIWAeIGa74hbCQwU7TcB1DpZF5pG9EJmsKcFSbf33B6QqhWoMLF2x36z4YdRrjx fK/lIcXBtwP6z2t3Y0HNSlNfunU8gO6N2kEx40sD01ncK0vSlZAeMmDVwzPZRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Zzd4q64JYz2dq for ; Fri, 16 May 2025 19:51:39 +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 54GJpdYt084515 for ; Fri, 16 May 2025 19:51:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 54GJpdfc084514 for ports-bugs@FreeBSD.org; Fri, 16 May 2025 19:51:39 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 285708] sysutils/vtm: Fix build on i386 Date: Fri, 16 May 2025 19:51:40 +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: marklmi26-fbsd@yahoo.com 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D285708 --- Comment #20 from Mark Millard --- Thanks for making it more explicit about avoiding libc++ . In my environment, based on: # git -C /usr/ports/ diff sysutils/vtm | cat diff --git a/sysutils/vtm/Makefile b/sysutils/vtm/Makefile index 8424cd1243bf..ba6c2e2c416d 100644 --- a/sysutils/vtm/Makefile +++ b/sysutils/vtm/Makefile @@ -20,6 +20,15 @@ LDFLAGS+=3D -L${LUA_LIBDIR} PLIST_FILES=3D bin/vtm +.include +.if ${ARCH} =3D=3D armv6 || ${ARCH} =3D=3D armv7 || ${ARCH} =3D=3D i386 +# explicit: GCC uses libstdc++ by default, otherwise +# using libc++ cause the build to fail due to=20 +# memory issues on these architectures above. +USE_GCC=3D yes +CXXFLAGS+=3D -stdlib=3Dlibstdc++ +.endif + post-patch: ${REINPLACE_CMD} 's/lua-5.4/lua-${LUA_VER}/g' \ ${WRKSRC}/CMakeLists.txt Its armv7 build worked: [00:00:25] [01] [00:00:00] Building sysutils/vtm | vtm-0.9.99.70 [00:05:48] [01] [00:05:23] Finished sysutils/vtm | vtm-0.9.99.70: Success Note: it turns out that the line: +# using libc++ cause the build to fail due to=20 has a trailing space at the end, as git showed when I did the diff. Side note . . . The: # time -l poudriere bulk -jrelease-armv7 -w -C sysutils/vtm reported: 2204548 maximum resident set size While using libstdc++ and lang/gcc13 it fit in the address space for an armv7 poudriere jail on the aarch64 system, it still is a rather large compile: on a small arm board with 2 GiBytes of RAM, paging to a swap space would seem to be required in order for the build to complete. The build was done on a Windows Dev Kit 2023. --=20 You are receiving this mail because: You are the assignee for the bug.=