NetBSD Problem Report #59442
From gson@gson.org Sun May 25 13:30:27 2025
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0CE071A923D
for <gnats-bugs@gnats.NetBSD.org>; Sun, 25 May 2025 13:30:27 +0000 (UTC)
Message-Id: <20250525133023.C34B8253F03@guava.gson.org>
Date: Sun, 25 May 2025 16:30:23 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: sparc64 disk usage more than doubled
X-Send-Pr-Version: 3.95
>Number: 59442
>Category: port-sparc64
>Synopsis: sparc64 disk usage more than doubled
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc64-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 25 13:35:00 +0000 2025
>Closed-Date: Wed Jun 04 09:35:16 +0000 2025
>Last-Modified: Wed Jun 04 09:35:16 +0000 2025
>Originator: Andreas Gustafsson
>Release: NetBSD-current, source date >= 2025.05.06.17.12.33
>Organization:
>Environment:
System: NetBSD
Architecture: sparc64
Machine: sparc64
>Description:
The amount of disk space needed to install NetBSD-current/sparc64
recently more than doubled. For example, running "df -h" on sparc64
VM built by the TNF testbed, the "Used" column previously showed
1.0G used for the root file system, and now it shows 2.8G.
Looks like all binaries are now at least one megabyte in size.
Here's an example of a 16 kB binary that grew 64 times larger:
old# ls -l /usr/tests/lib/libc/gen/t_alarm
-r-xr-xr-x 1 root wheel 16504 May 6 16:10 /usr/tests/lib/libc/gen/t_alarm
new# ls -l /usr/tests/lib/libc/gen/t_alarm
-r-xr-xr-x 1 root wheel 1056376 May 6 17:12 /usr/tests/lib/libc/gen/t_alarm
This has been causing install failures on the testbed because the disk
filled up, but I have now bumped the disk size and removed the output
from the failed runs so that the affected versions can get retested to
find other bugs.
The problem appears to have started with this commit
2025.05.06.17.12.33 nia src/share/mk/bsd.own.mk 1.1418
mk: Enable partial relro by default on sparc64.
>How-To-Repeat:
Build and install NetBSD-current/sparc64. Run df(1).
>Fix:
>Release-Note:
>Audit-Trail:
From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/59442 CVS commit: src/share/mk
Date: Sun, 25 May 2025 21:53:53 +0000
Module Name: src
Committed By: nia
Date: Sun May 25 21:53:53 UTC 2025
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
mk: Revert RELRO on sparc64 for now.
PR port-sparc64/59442 sparc64 disk usage more than doubled
To generate a diff of this commit:
cvs rdiff -u -r1.1419 -r1.1420 src/share/mk/bsd.own.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Wed, 04 Jun 2025 09:35:16 +0000
State-Changed-Why:
The change was reverted.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.