Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2018 02:44:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 225521] Crossbuilding for RPI3 (Arm64) fails (and has for quote some time) off 11-STABLE
Message-ID:  <bug-225521-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225521

            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@FreeBSD.org
          Reporter: karl@denninger.net

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

The crossbuild attempt is using the following:

make TARGET_ARCH=3Daarch64 SRCCONF=3D/dev/null __MAKE_CONF=3D/dev/null -DNO=
_CLEAN
-DWITHOUT_DEBUG_FILES -DWITHOUT_KERNEL_SYMBOLS -DWITHOUT_TESTS -j 12 buildw=
orld

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/includ=
e -I
/pics/CrossBuild-Head/src/contrib/llvm/lib/Target/ARM  -d ARMGenDAGISel.inc=
.d
-o
 ARMGenDAGISel.inc=20
/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:n=
xv32i
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/AArch64InstrForma=
ts.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=20=20=20=20
root@NewFS.denninger.net:/usr/obj/usr/src/sys/KSD-SMP

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

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-STAB=
LE
machine a couple of times without success.  Builds of 11.x for the RPI2, al=
so
as a cross-build, complete normally but I cannot build 11.x for the RPI3 as=
 it
is not supported prior to 12.x

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225521-7>