Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2021 01:34:55 -0700
From:      Mark Millard via freebsd-ports <freebsd-ports@freebsd.org>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        FreeBSD ports <freebsd-ports@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: llvm10 build failure on Rpi3
Message-ID:  <DD8D8FE1-F02E-4A25-8F2B-5672F10E7268@yahoo.com>
In-Reply-To: <20210623050958.GA79888@www.zefox.net>
References:  <20210623050958.GA79888@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Jun-22, at 22:09, bob prohaska <fbsd at www.zefox.net> wrote:

> Attempts to compile devel/llvm10 on a RPi3 under poudriere using
> poudriere bulk -J 2 -j main devel/llvm10 > bulk.log &
> are failing with:
>=20
> In file included from =
/wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AMDGPU/AMD=
GPUInstructionSelector.cpp:45:
> lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc:11138:50: error: expected =
expression
>        /*GIM_CheckRegBankForClass: @2779096485*/, /*MI*/0, /*Op*/1, =
/*RC*//*AMDGPU::SReg_64RegClassID: @2779096485*/,
>                                                 ^
> lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc:11138:118: error: expected =
expression
>        /*GIM_CheckRegBankForClass: @2779096485*/, /*MI*/0, /*Op*/1, =
/*RC*//*AMDGPU::SReg_64RegClassID: @2779096485*/,
>                                                                        =
                                             ^
> lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc:11237:48: error: expected =
expression
>      /*GIM_CheckRegBankForClass: @2779096485*/, /*MI*/0, /*Op*/0, =
/*RC*//*AMDGPU::VGPR_32RegClassID: @2779096485*/,
>                                               ^
> lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc:11237:116: error: expected =
expression
>      /*GIM_CheckRegBankForClass: @2779096485*/, /*MI*/0, /*Op*/0, =
/*RC*//*AMDGPU::VGPR_32RegClassID: @2779096485*/,
>                                                                        =
                                           ^
> 4 errors generated.
>=20
> Not sure if this is an ARM problem, a poudriere problem or an llvm10 =
problem.
> It looks like an llvm10 problem to my eye.
>=20
> The logfile is visible at
> =
http://www.zefox.org/~bob/poudriere/data/logs/bulk/latest-per-pkg/llvm10/1=
0.0.1_5/main-default.log
> and the rest of the /usr/local/poudriere tree can be browsed as well. =
The
> config files have links at the top directory.
>=20
> The ports tree has been updated between attempts, if I'm reading the
> poudriere-ports man page correctly those updates should be in effect.
> If I'm not a hint how to update would be much appreciated. Ports live
> in /usr/ports, owned by root.=20
>=20
> The goal of the enterprise is to compile www/chromium, which has =
worked
> in the (distant) past using make.=20
>=20

Not that it helps much, but: 2779096485 =3D=3D 0xA5A5A5A5

It appears that such somehow was involved-in/generated by:

[ 24% 1326/5364] cd /wrkdirs/usr/ports/devel/llvm10/work/.build && =
/wrkdirs/usr/ports/devel/llvm10/work/.build/bin/llvm-tblgen =
-gen-global-isel -I =
/wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AMDGPU =
-I /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/include -I =
/wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target =
/wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AMDGPU/AMD=
GPUGISel.td --write-if-changed -o =
lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc -d =
lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc.d

and that lead to the commented out notation in the output, with the =
"@2779096485" listed in the comment as well.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD8D8FE1-F02E-4A25-8F2B-5672F10E7268>