Skip to content

19.1.2 linux build failure on armv7l from 19.1.0: Building ARMTargetParserDef.inc... (Due to using broken mold 1.34.0) #112557

@satmandu

Description

@satmandu

This is what we are seeing building 19.1.2 on armv7l. Builds succeed for x86_64 and i686:

-- Performing Test HAVE_UINT8T - Failed
-- Performing Test HAVE_INTTYPES_H
-- Performing Test HAVE_INTTYPES_H - Success
-- Performing Test HAVE_SYS_INTTYPES_H
-- Performing Test HAVE_SYS_INTTYPES_H - Failed
-- Registering Polly as a pass plugin (static build: ON)
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
-- Registering Bye as a pass plugin (static build: OFF)                
-- Configuring done (91.0s)                                                                                       
-- Generating done (8.7s)
-- Build files have been written to: /usr/local/tmp/crew/llvm19_build.20241015211726.dir/builddir                       
ninja: Entering directory `builddir'
[193*4/7501] Building ARMTargetParserDef.inc...
FAILED: include/llvm/TargetParser/ARMTargetParserDef.inc /usr/local/tmp/crew/llvm19_build.20241015211726.dir/builddir/include/llvm/TargetParser/ARMTargetParserDef.inc
cd /usr/local/tmp/crew/llvm19_build.20241015211726.dir/builddir && /usr/local/tmp/crew/llvm19_build.20241015211726.dir/builddir/bin/llvm-min-tblgen -gen-arm-target-def -I /usr/local/tmp/crew/llvm19_build.20241015211726.dir/llvm/lib/Target/ARM/ -I /usr/local/tmp/crew/llvm19_build.20241015211726.dir/llvm/include/llvm/TargetParser -I/usr/local/tmp/crew/llvm19_build.20241015211726.dir/builddir/include -I/usr/local/tmp/crew/llvm19_build.20241015211726.dir/llvm/include /usr/local/tmp/crew/llvm19_build.20241015211726.dir/llvm/lib/Target/ARM/ARM.td --write-if-changed -o include/llvm/TargetParser/ARMTargetParserDef.inc -d include/llvm/TargetParser/ARMTargetParserDef.inc.d
[195*1/7501] Building CXX object lib/Deb...ew.dir/DebugInlineeLinesSubsection.cpp.o
ninja: build stopped: subcommand failed.
clang --version
clang version 19.1.0 (https://github.com/llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)
Target: armv7l-cros-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/local/bin
clang++ --version
clang version 19.1.0 (https://github.com/llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)
Target: armv7l-cros-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/local/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:ARMbuild-problemquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions