Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920796 - sys-apps/memtest86+-7.00 - [clang] <instantiation>: error: macros cannot be nested more than 20 levels deep. Use -asm-macro-max-nesting-depth to increase t
Summary: sys-apps/memtest86+-7.00 - [clang] <instantiation>: error: macros cannot be n...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 09:01 UTC by Toralf Förster
Modified: 2024-03-09 07:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.51 KB, text/plain)
2023-12-27 09:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,58.09 KB, text/plain)
2023-12-27 09:01 UTC, Toralf Förster
Details
environment (environment,72.98 KB, text/plain)
2023-12-27 09:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-27 09:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.02 KB, application/x-xz)
2023-12-27 09:01 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,118.90 KB, text/plain)
2023-12-27 09:01 UTC, Toralf Förster
Details
sys-apps:memtest86+-6.20-r1:20231227-085511.log (sys-apps:memtest86+-6.20-r1:20231227-085511.log,23.67 KB, text/plain)
2023-12-27 09:01 UTC, Toralf Förster
Details
memtest86+-6.20-r1 build.log (build.log,24.27 KB, text/x-log)
2024-01-11 11:55 UTC, Denis Strizhkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-27 09:01:02 UTC
too long lines were shrinked:

make -j4 memtest.bin 
clang -m64 -x assembler-with-cpp -c -I../boot -o boot/startup.o ../boot/startup64.S
clang -c -std=c11 -Wall -Wextra -Wshadow -m64 -march=x86-64 -mno-mmx -mno-sse -mno-sse2 -fpic -fno-builtin -ffreestanding -fomit-frame-pointer -fno-stack-protector -Os -I../boot -I../system -I../lib -I../tests -I../app -Iapp -o boot/efisetup.o ../boot/efisetup.c -MMD -MP -MT boot/efisetup.o -MF boot
clang -c -std=c11 -Wall -Wextra -Wshadow -m64 -march=x86-64 -mno-mmx -mno-sse -mno-sse2 -fpic -fno-builtin -ffreestanding -fomit-frame-pointer -fno-stack-protector -Os -I../boot -I../system -I../lib -I../tests -I../app -Iapp -o system/acpi.o ../system/acpi.c -MMD -MP -MT system/acpi.o -MF system/acp
clang -c -std=c11 -Wall -Wextra -Wshadow -m64 -march=x86-64 -mno-mmx -mno-sse -mno-sse2 -fpic -fno-builtin -ffreestanding -fomit-frame-pointer -fno-stack-protector -Os -I../boot -I../system -I../lib -I../tests -I../app -Iapp -o system/cpuid.o ../system/cpuid.c -MMD -MP -MT system/cpuid.o -MF system/
clang -c -std=c11 -Wall -Wextra -Wshadow -m64 -march=x86-64 -mno-mmx -mno-sse -mno-sse2 -fpic -fno-builtin -ffreestanding -fomit-frame-pointer -fno-stack-protector -Os -I../boot -I../system -I../lib -I../tests -I../app -Iapp -o system/cpuinfo.o ../system/cpuinfo.c -MMD -MP -MT system/cpuinfo.o -MF s
<instantiation>:10:9: error: macros cannot be nested more than 20 levels deep. Use -asm-macro-max-nesting-depth to increase this limit.
 ptes64 "((((((((((((((((((((0x0000000000000000+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)+0x01000000)",64-1-1-1-1-
        ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20231226-113005

  -------------------------------------------------------------------

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 8ad7c54d10e761ffa277e801b86c7a43df42be90
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 27 07:31:55 2023 +0000

    2023-12-27 07:31:55 UTC

emerge -qpvO sys-apps/memtest86+
[ebuild  N    ] sys-apps/memtest86+-6.20-r1  USE="bios64 boot efi64 iso64 -bios32 -efi32 -iso32 -secureboot"
Comment 1 Toralf Förster gentoo-dev 2023-12-27 09:01:03 UTC
Created attachment 880617 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-27 09:01:04 UTC
Created attachment 880618 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-27 09:01:05 UTC
Created attachment 880619 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-27 09:01:06 UTC
Created attachment 880620 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-27 09:01:06 UTC
Created attachment 880621 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-27 09:01:08 UTC
Created attachment 880622 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2023-12-27 09:01:09 UTC
Created attachment 880623 [details]
sys-apps:memtest86+-6.20-r1:20231227-085511.log
Comment 8 Denis Strizhkin 2024-01-11 11:55:05 UTC
Created attachment 881928 [details]
memtest86+-6.20-r1 build.log

Can confirm
Comment 9 Agostino Sarubbo gentoo-dev 2024-03-09 07:03:51 UTC
clang-lld_tinderbox has reproduced this issue with version 7.00 - Updating summary.