NetBSD Problem Report #55636

From  Tue Sep  1 18:01:44 2020
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 724AE1A923A
	for <>; Tue,  1 Sep 2020 18:01:44 +0000 (UTC)
Message-Id: <>
Date: Tue,  1 Sep 2020 21:01:39 +0300 (EEST)
From: (Andreas Gustafsson)
Reply-To: (Andreas Gustafsson)
Subject: error: PHDR segment not covered by LOAD segment
X-Send-Pr-Version: 3.95

>Number:         55636
>Category:       port-amd64
>Synopsis: error: PHDR segment not covered by LOAD segment
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 01 18:05:00 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current
System: NetBSD
Architecture: x86_64
Machine: amd64

Build logs from amd64 release builds contain error messages like

  /tmp/build/2020. error: PHDR segment not covered by LOAD segment

There is also a similar message regarding

The ld process is exiting with an exit status of zerodespite the
error, so the build continues and ultimately succeeds.

I don't know if this is actually breaking something, or is expected
and harmless but wrongly labeled as an error rather than a warning,
but I figure it's a bug either way.  And either way, it's making it
more difficult to locate actual build errors in the log by looking for
the string "error:".


Build NetBSD-current/amd64.  Inspect the messages printed.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.