[Bug 225521] Crossbuilding for RPI3 (Arm64) fails (and has for quote some time) off 11-STABLE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 29 02:44:28 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225521

            Bug ID: 225521
           Summary: Crossbuilding for RPI3 (Arm64) fails (and has for
                    quote some time) off 11-STABLE
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm at FreeBSD.org
          Reporter: karl at denninger.net

Created attachment 190146
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190146&action=edit
Full buildworld log that is failing

The crossbuild attempt is using the following:

make TARGET_ARCH=aarch64 SRCCONF=/dev/null __MAKE_CONF=/dev/null -DNO_CLEAN
-DWITHOUT_DEBUG_FILES -DWITHOUT_KERNEL_SYMBOLS -DWITHOUT_TESTS -j 12 buildworld

And it fails with problems in attempting to build libllvm during the build tool
("stage 3: cross tools") here:

llvm-tblgen -gen-dag-isel  -I /pics/CrossBuild-Head/src/contrib/llvm/include -I
/pics/CrossBuild-Head/src/contrib/llvm/lib/Target/ARM  -d ARMGenDAGISel.inc.d
-o
 ARMGenDAGISel.inc 
/pics/CrossBuild-Head/src/contrib/llvm/lib/Target/ARM/ARM.td
--- AArch64GenInstrInfo.inc ---
FCVTZSv8f16:    (set V128:v16i16:$Rd, (fp_to_sint:<empty> V128:v1f32:$Rn))
Included from
/pics/CrossBuild-Head/src/contrib/llvm/lib/Target/AArch64/AArch64.
td:178:
/pics/CrossBuild-Head/src/contrib/llvm/lib/Target/AArch64/AArch64InstrInfo.td:29
51:1: error: In FCVTZSv8f16: Type inference contradiction found, forcing
'{v16i8
:v32i8:v8i16:v16i16:v4i32:v8i32:v2i64:v4i64:nxv4i1:nxv8i1:nxv16i1:nxv32i1:nxv32i
8:nxv16i16:nxv8i32:nxv4i64}' to have same number elements as 'v1f32'
defm FCVTZS : SIMDTwoVectorFPToInt<0, 1, 0b11011, "fcvtzs", fp_to_sint>;
^
Included from
/pics/CrossBuild-Head/src/contrib/llvm/lib/Target/AArch64/AArch64.
td:178:
Included from
/pics/CrossBuild-Head/src/contrib/llvm/lib/Target/AArch64/AArch64I
nstrInfo.td:337:
/pics/CrossBuild-Head/src/contrib/llvm/lib/Target/AArch64/AArch64InstrFormats.td
:5092:3: note: instantiated from multiclass
  def v8f16 : BaseSIMDTwoSameVector<1, U, {S,1}, opc, 0b11, V128,
  ^
FCVTZUv8f16:    (set V128:v16i16:$Rd, (fp_to_uint:<empty> V128:v1f32:$Rn))


The full dump of the failure is attached; there are a lot of errors showing
problems with type contradictions.

The building system is
FreeBSD 11.1-STABLE #0 r328086: Wed Jan 17 11:49:06 CST 2018    
root at NewFS.denninger.net:/usr/obj/usr/src/sys/KSD-SMP

The -HEAD rev I am attempting to build is current as of this evening (328527)

Failure to build in this general part of the process has been the case from
11.1-STABLE now for the last couple of months; I have updated the 11.1-STABLE
machine a couple of times without success.  Builds of 11.x for the RPI2, also
as a cross-build, complete normally but I cannot build 11.x for the RPI3 as it
is not supported prior to 12.x

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


More information about the freebsd-arm mailing list