[Bug 260972] get an error when building base system: `boot1.sym: error: PHDR segment not covered by LOAD segment`

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Jan 2022 08:46:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260972

            Bug ID: 260972
           Summary: get an error when building base system: `boot1.sym:
                    error: PHDR segment not covered by LOAD segment`
           Product: Base System
           Version: 13.0-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: shenleidi1993+freebsd@gmail.com

Created attachment 230753
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230753&action=edit
build log

I am trying to build the base system for the ARM64 target and get an error:

`/usr/local/aarch64-unknown-freebsd13.0/bin/ld: gptboot.sym: error: PHDR
segment not covered by LOAD segment`

I am using `stable/13` branch on source tree, and building it on FreeBSD13
AMD64 and ARM64.

Please see also https://github.com/opnsense/tools/issues/258

-- 
You are receiving this mail because:
You are the assignee for the bug.