Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2017 09:09:05 -0600
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: Crochet for RPI3 fails in tblgen
Message-ID:  <a47d9610-34b4-697c-7118-e01653481c56@denninger.net>
In-Reply-To: <20171226155354.8ab6be553e06125a0e6dd95e@bidouilliste.com>
References:  <08afa334-485b-d6ed-39d4-b3ad61fe6492@denninger.net> <177d13c0-ba4a-b9ab-dfe0-0e712d894f87@denninger.net> <20171226155228.a1497bd6d23908a45cf36e99@bidouilliste.com> <20171226155354.8ab6be553e06125a0e6dd95e@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms070407040907020903060704
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 12/26/2017 08:53, Emmanuel Vadot wrote:
> On Tue, 26 Dec 2017 15:52:28 +0100
> Emmanuel Vadot <manu@bidouilliste.com> wrote:
>
>> On Tue, 26 Dec 2017 08:41:08 -0600
>> Karl Denninger <karl@denninger.net> wrote:
>>
>>> On 12/25/2017 09:48, Karl Denninger wrote:
>>>> Blows up here:
>>>>
>>>> ....
>>>>
>>>> .....
>>>> --- AArch64GenInstrInfo.inc ---
>>>> llvm-tblgen -gen-instr-info=C2=A0 -I
>>>> /pics/CrossBuild-Head/src/contrib/llvm/include -
>>>> I /pics/CrossBuild-Head/src/contrib/llvm/lib/Target/AArch64=C2=A0 -d=

>>>> AArch64GenInstrI
>>>> nfo.inc.d -o AArch64GenInstrInfo.inc=C2=A0
>>>> /pics/CrossBuild-Head/src/contrib/llvm/lib
>>>> /Target/AArch64/AArch64.td
>>>> --- AArch64GenMCCodeEmitter.inc ---
>>>> llvm-tblgen -gen-emitter=C2=A0 -I
>>>> /pics/CrossBuild-Head/src/contrib/llvm/include -I /
>>>>
>>>> make[4]: stopped in /pics/CrossBuild-Head/src/lib/clang/libllvm
>>>> --- AArch64GenDisassemblerTables.inc ---
>>>> *** [AArch64GenDisassemblerTables.inc] Error code 1
>>>>
>>>>
>>>>
>>>> -HEAD as of this morning (12/25)
>>>>
>>> Ok now it's blowing up in a different place and way (with a new svn
>>> update as of a few minutes ago):
>>>
>>> --- AArch64GenRegisterInfo.inc ---
>>> llvm-tblgen -gen-register-info=C2=A0 -I
>>> /pics/CrossBuild-Head/src/contrib/llvm/include -I
>>> /pics/CrossBuild-Head/src/contrib/llvm/lib/Target/AArch64=C2=A0 -d
>>> AArch64GenRegisterInfo.inc.d -o AArch64GenRegisterInfo.inc=C2=A0
>>> /pics/CrossBuild-Head/src/contrib/llvm/lib/Target/AArch64/AArch64.td
>>> --- AArch64GenRegisterBank.inc ---
>>> llvm-tblgen: Unknown command line argument '-gen-register-bank'.=C2=A0=
 Try:
>>> 'llvm-tblgen -help'
>>> llvm-tblgen: Did you mean '-gen-register-info'?
>>> *** [AArch64GenRegisterBank.inc] Error code 1
>>>
>>> make[4]: stopped in /pics/CrossBuild-Head/src/lib/clang/libllvm
>>> --- AArch64GenDisassemblerTables.inc ---
>>> error:Could not find 'FAULTING_LOAD_OP' instruction!
>>> --- AArch64GenMCCodeEmitter.inc ---
>>> error:Could not find 'FAULTING_LOAD_OP' instruction!
>>> --- AArch64GenAsmWriter1.inc ---
>>> error:Could not find 'FAULTING_LOAD_OP' instruction!
>>> --- AArch64GenAsmWriter.inc ---
>>> error:Could not find 'FAULTING_LOAD_OP' instruction!
>>> --- AArch64GenDisassemblerTables.inc ---
>>> *** [AArch64GenDisassemblerTables.inc] Error code 1
>>>
>>>
>>> I don't think this is crochet that's responsible... looks like llvm h=
as
>>> "issues" with cross-building....
>>  Did you run make kernel-toolchain (or buildworld) before ?
>>  If yes this might be the recent update of clang.
>>
>  Ah sorry, it seems that this is during either kernel-toolchain or
> buildworld.
Yes, it's blowing up pretty early in buildworld in this section:

--- _cross-tools ---
--------------------------------------------------------------
>>> stage 3: cross tools
--------------------------------------------------------------
cd /pics/CrossBuild-Head/src; INSTALL=3D"sh
/pics/CrossBuild-Head/src/tools/instal
l.sh"=C2=A0
TOOLS_PREFIX=3D/pics/Crochet-work-HEAD/obj/pics/CrossBuild-Head/src/arm64=
=2Ea
arch64/tmp=C2=A0
PATH=3D/pics/Crochet-work-HEAD/obj/pics/CrossBuild-Head/src/arm64.aarc
h64/tmp/legacy/usr/sbin:/pics/Crochet-work-HEAD/obj/pics/CrossBuild-Head/=
src/arm
64.aarch64/tmp/legacy/usr/bin:/pics/Crochet-work-HEAD/obj/pics/CrossBuild=
-Head/s
rc/arm64.aarch64/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin=C2=A0
WORLDTMP=3D/pics/Cr
ochet-work-HEAD/obj/pics/CrossBuild-Head/src/arm64.aarch64/tmp=C2=A0
MAKEFLAGS=3D"-m /p
ics/CrossBuild-Head/src/tools/build/mk=C2=A0 -D NO_CLEAN -D
WITHOUT_DEBUG_FILES -D WI
THOUT_KERNEL_SYMBOLS -D WITHOUT_TESTS -j 12 -J 15,16 -m
/pics/CrossBuild-Head/sr
c/share/mk" make=C2=A0 -f Makefile.inc1=C2=A0 DESTDIR=3D=C2=A0
OBJTOP=3D'/pics/Crochet-work-HEAD/ob
j/pics/CrossBuild-Head/src/arm64.aarch64/tmp/obj-tools'=C2=A0
OBJROOT=3D'${OBJTOP}/'=C2=A0 M
AKEOBJDIRPREFIX=3D=C2=A0 BOOTSTRAPPING=3D1101503=C2=A0 BWPHASE=3Dcross-to=
ols=C2=A0
SSP_CFLAGS=3D=C2=A0 MK_HT
ML=3Dno NO_LINT=3Dyes MK_MAN=3Dno=C2=A0 -DNO_PIC MK_PROFILE=3Dno -DNO_SHA=
RED=C2=A0
-DNO_CPU_CFLAGS
=C2=A0MK_WARNS=3Dno MK_CTF=3Dno=C2=A0 MK_CLANG_EXTRAS=3Dno MK_CLANG_FULL=3D=
no=C2=A0 MK_LLDB=3Dno
MK_TESTS
=3Dno=C2=A0 MK_INCLUDES=3Dyes=C2=A0 TARGET=3Darm64 TARGET_ARCH=3Daarch64=C2=
=A0 MK_GDB=3Dno
MK_LLD_IS_LD=3Dy
es MK_TESTS=3Dno cross-tools


This is the buildworld string being used by Crochet:

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 buildworld


--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

--------------ms070407040907020903060704
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC
DdgwggagMIIEiKADAgECAhMA5EiKghDOXrvfxYxjITXYDdhIMA0GCSqGSIb3DQEBCwUAMIGL
MQswCQYDVQQGEwJVUzEQMA4GA1UECAwHRmxvcmlkYTESMBAGA1UEBwwJTmljZXZpbGxlMRkw
FwYDVQQKDBBDdWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExITAf
BgNVBAMMGEN1ZGEgU3lzdGVtcyBMTEMgMjAxNyBDQTAeFw0xNzA4MTcxNjQyMTdaFw0yNzA4
MTUxNjQyMTdaMHsxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdGbG9yaWRhMRkwFwYDVQQKDBBD
dWRhIFN5c3RlbXMgTExDMRgwFgYDVQQLDA9DdWRhIFN5c3RlbXMgQ0ExJTAjBgNVBAMMHEN1
ZGEgU3lzdGVtcyBMTEMgMjAxNyBJbnQgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK
AoICAQC1aJotNUI+W4jP7xQDO8L/b4XiF4Rss9O0B+3vMH7Njk85fZ052QhZpMVlpaaO+sCI
KqG3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9b
63ur+bahVqwSIfvmQn/pgCfueyjinUViKhC6bpg88E+UMFYIEJojiO0NKcqa64bk7sHR56Ow
G/3TnsCjsetkIw33zLSM96U9za/SdyjZv2dlqaZu053NisWMrrTVvZnGp7+eh1zSUDO8iHKU
OqT4fHVlV+JF16u4tCUzOnxrcq9MOAo1/JOx/St8ee2EKfy1dOE3zr5KPvshzZI12Yj+SFuW
24wm4K230GRyrg2kuUIT2ELokQsLmq6g6aj/6xoj+sczMIDi5etgIkAgXBZ09euJVo0sWv6g
qSPpPIvTP5AsHmErmZaGPxsEeH9IgXUFQFwRtQy43YJhokHUmneHv1n7C9mf/oK6oQ2NvUgN
0ROCG3XTtQGczfiBR+PvCd/J+OQyQQCVaf+Mmk44pnFsazTZ72tlk2SMeCM1S+8Ycg9q7S1B
/JlqIR8eI/9ei64+HC81UsgxaHioHzA1LcD1rzTQohnZnLlWgIKb7gFIvRntQxT0yc1HHJkn
LWGMBLgklCBsI+MuuE0/8Pub2R+F5On9wnp5yNZ2J9I15ylQrubHDY+cf83e8bCzo6FKfkkg
clv5pV1PNn9gLLKzjx/cJB/bEwRi80DVAcXwn+ia2AAAAAAAAA==
--------------ms070407040907020903060704--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a47d9610-34b4-697c-7118-e01653481c56>