Skip to content

[Bug][Clang] FAILED: [code=1] lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o #153444

@jopadan

Description

@jopadan

Running on:

  • Gentoo Linux- 6.16.0 x86_64 Intel Sandybridge
  • gcc-16 20250803
  • clang-20.1.8
  • glibc-2.42
  • binutils-2.45

To reproduce:

  • set variables according to info.log
  • run emerge -v =llvm-core/clang-22_pre20250809 creating build.log
[312/1429] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DCLANG_EXPORTS -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/x/y/clang-abi_x86_32.x86/lib/AST -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/lib/AST -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/include -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/x/y/clang-abi_x86_32.x86/include -I/usr/lib/llvm/22/include  -march=sandybridge -mfpmath=sse -O3 -pipe -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -pedantic -Wno-long-long -std=c++17 -UNDEBUG -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o -c /var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/lib/AST/ByteCode/Context.cpp
[313/1429] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DCLANG_EXPORTS -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/x/y/clang-abi_x86_32.x86/lib/AST -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/lib/AST -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/include -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/x/y/clang-abi_x86_32.x86/include -I/usr/lib/llvm/22/include  -march=sandybridge -mfpmath=sse -O3 -pipe -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -pedantic -Wno-long-long -std=c++17 -UNDEBUG -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o -c /var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/lib/AST/ByteCode/Descriptor.cpp
[314/1429] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DCLANG_EXPORTS -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/x/y/clang-abi_x86_32.x86/lib/AST -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/lib/AST -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/include -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/x/y/clang-abi_x86_32.x86/include -I/usr/lib/llvm/22/include  -march=sandybridge -mfpmath=sse -O3 -pipe -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -pedantic -Wno-long-long -std=c++17 -UNDEBUG -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o -c /var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/lib/AST/ByteCode/Disasm.cpp
FAILED: [code=1] lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DCLANG_EXPORTS -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/x/y/clang-abi_x86_32.x86/lib/AST -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/lib/AST -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/include -I/var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/x/y/clang-abi_x86_32.x86/include -I/usr/lib/llvm/22/include  -march=sandybridge -mfpmath=sse -O3 -pipe -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -pedantic -Wno-long-long -std=c++17 -UNDEBUG -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o -c /var/tmp/portage/llvm-core/clang-22.0.0_pre20250809/work/clang/lib/AST/ByteCode/Disasm.cpp
{standard input}: Assembler messages:
{standard input}:12608: Warning: end of file not at end of a line; newline inserted
{standard input}:12804: Error: unknown pseudo-op: `.l'
x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clangClang issues not falling into any other categoryquestionA 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