NetBSD Problem Report #57799

From  Thu Dec 28 09:52:18 2023
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 1CF0C1A9238
	for <>; Thu, 28 Dec 2023 09:52:18 +0000 (UTC)
Message-Id: <>
Date: Thu, 28 Dec 2023 10:52:08 +0100 (CET)
Subject: llvm amd64 builds are unbearbly slow and hit the build cluster time limit
X-Send-Pr-Version: 3.95

>Number:         57799
>Category:       toolchain
>Synopsis:       llvm amd64 builds are unbearbly slow and hit the build cluster time limit
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 28 09:55:00 +0000 2023
>Last-Modified:  Sat Dec 30 13:05:01 +0000 2023
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.10
The NetBSD Foundation, Inc.
System: NetBSD 10.99.10 NetBSD 10.99.10 (POWERMAC_G5.MP) #5: Fri Dec 15 21:02:28 CET 2023 macppc
Architecture: powerpc
Machine: macppc

Build for amd64 with llvm fail both on HEAD and netbsd-10 on the build cluster,
because they hit the 4h-per-single-arch-build time limit.

They are rund like this: -m amd64 -B 202312241230Z -V NETBSD_OFFICIAL_RELEASE=no -D /home/builds/ab/HEAD-llvm/amd64/202312241230Z-dest -M /home/builds/ab/HEAD-llvm/amd64/202312241230Z-obj -R /home/builds/ab/HEAD-llvm/amd64/202312241230Z-rlse -T /home/builds/ab/HEAD-llvm/amd64/202312241230Z-tools -U -X /home/source/ab/HEAD-llvm/xsrc -x -N0 -V TMPDIR=/tmp -V BUILD=yes -V MKLLVM=yes -V HAVE_LLVM=yes -V MKGCC=no -V MAKECONF=/home/builds/etc/make.conf -V MKDEBUG=yes -j16 release iso-image install-image live-image



From: Martin Husemann <>
Subject: Re: toolchain/57799: amd64 builds are unbearbly slow
Date: Sat, 30 Dec 2023 14:03:35 +0100

 Two observations:

  - nothing has "seriously" changed recently to get into this situation,
    but the builds have always been very close to the limit. Last working
    HEAD build was:

 	HEAD-llvm:202312111450Z amd64 b41 13711 passed

    (that is 13711 seconds, with 4h = 14400s being the current limit)

  - the gcc builds are a bit faster, after mrg reworked the amount/detail
    of debug info that is generated for the C++ parts of the compiler
    some time ago - but they are not very much faster, example:

 	HEAD:202312291920Z amd64 b44 12255 passed

 So the real problem is: amd64 builds in general are extremely slow.
 Other builds are way faster, e.g. alpha (which has no 32bit compat):

 	HEAD:202312290600Z alpha b43 5408 passed

 but also sparc64, which has 32bit compat (but no llvm compiled GPU stuff):

 	HEAD:202312291920Z sparc64 localhost 5845 passed

 but here the difference to an llvm build is even more significant:

 	HEAD-llvm:202312291450Z sparc64 b48 8697 passed

 For now I have raised the time limit to 4.5h


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.