[Bug 236120] Failure to buildworld for TARGET_ARCH=armv7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 1 03:56:40 UTC 2019


            Bug ID: 236120
           Summary: Failure to buildworld for TARGET_ARCH=armv7
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: kevans at freebsd.org

Created attachment 202468
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202468&action=edit
Reproducer for cross-build core dump

It's unclear when this started, but it's worked at some point in the last month
or two on -current. With this cc (build from middle of 2019/02/28):

root at shiva:/tmp# cc --version
FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

root at shiva:/usr/src# make TARGET_ARCH=armv7 buildworld
Error: Super register $eax of reserved register $hax is not reserved.
Assertion failed: (checkAllSuperRegsMarked(Reserved, {X86::SIL, X86::DIL,
X86::BPL, X86::SPL, X86::SIH, X86::DIH, X86::BPH, X86::SPH})), function
getReservedRegs, file /usr/src/contrib/llvm/lib/Target/X86/X86RegisterInfo.cpp,
line 582.
Abort trap (core dumped)

Reproducible on two different machines so far, one virtual and one physical.
The cause is unclear, but attaching the reproducers that it spit out.
Reproduces regardless of what it compiles first -- in this case, nvlist with a
clean objdir.

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

More information about the freebsd-bugs mailing list