NetBSD Problem Report #54136

From martin@duskware.de  Tue Apr 23 14:06:54 2019
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5695D7A184
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Apr 2019 14:06:54 +0000 (UTC)
Message-Id: <20190423140645.EB16A5CC86C@emmas.aprisoft.de>
Date: Tue, 23 Apr 2019 16:06:45 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: building -current with MKDEBUG=yes needs > 4 GB ram on x86
X-Send-Pr-Version: 3.95

>Number:         54136
>Category:       toolchain
>Synopsis:       building -current with MKDEBUG=yes needs > 4 GB ram on x86
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 23 14:10:00 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.37
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.37 NetBSD 8.99.37 (NIGHT-OWL) #663: Tue Apr 23 07:12:43 CEST 2019 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

Since we build llvm for mesa now, using MKDEBUG=yes with build.sh requires
a lot more RAM than before. This machine used to build -current fine, but
now trashes to death.

I guess the generated LLVM debug info is also totaly useless for all
practical purposes, so maybe MKDEBUG should be disabled for that part
of the build?

>How-To-Repeat:
./build.sh -V MKDEBUG=yes

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.