NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-sparc64/59442: sparc64 disk usage more than doubled



>Number:         59442
>Category:       port-sparc64
>Synopsis:       sparc64 disk usage more than doubled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 13:35:00 +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:



Home | Main Index | Thread Index | Old Index