Bug#1096811: hipblas: ftbfs with GCC-15
Hi Santiago and Cordell,
On Wed, Nov 19, 2025 at 01:40:11PM +0100, Santiago Vila wrote:
> In fact, I can build the package on machines with 16 GB of RAM having
> 1 CPU but not on machines with 16 GB having 2 CPUs, where I get this:
>
> c++: fatal error: Killed signal terminated program cc1plus
> compilation terminated.
>
> Could you please adjust the number of CPUs to be used according
> to available memory?
This is one of those cases that I created guess-concurrency (Debian
package available since trixie) for. Where you would normally consume
the value N of DEB_BUILD_OPTIONS=parallel=N, you might instead use the
output of:
guess_concurrency --require-mem 14G
It will honour DEB_BUILD_OPTIONS and output a suitable concurrency
number such that the system memory is not exceeded (taking control
groups into account). The tuning of the parameter requires some
guesswork. At least you avoid the /proc file parsing present in
Santiago's variant.
QA folks thank you for supporting builing on lower memory systems.
Helmut
Reply to: