-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Replacing set id with method #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: André Martins <aanm90@gmail.com>
Signed-off-by: André Martins <aanm90@gmail.com>
Closed
2 tasks
Hawkzilla
added a commit
to Hawkzilla/cilium
that referenced
this pull request
Sep 22, 2023
* Add openstack multiPool support Signed-off-by: bumblebeek <gleemanx@126.com> * Add openstack fix ip support Signed-off-by: bumblebeek <gleemanx@126.com> * contrib: add check for new files in check-(api|k8s)-code-gen Currently, the `check-(api|k8s)-code-gen` scripts verify that generated files are up to date, running a full regeneration and checking the resulting output of `git diff`. Yet, `git diff` does not include unstaged files, meaning that brand new files would be missed. Let's fix this running `git add --intent-to-add .` first to make them appear in the diff. Signed-off-by: Marco Iorio <marco.iorio@isovalent.com> (cherry picked from commit 08ba5e4) Signed-off-by: bumblebeek <gleemanx@126.com> * maps: add generated deepcopy for tunnel map This commit adds the generated deepcopy for the tunnel map, which was missing as not detected by the check-k8s-code-gen script. Signed-off-by: Marco Iorio <marco.iorio@isovalent.com> (cherry picked from commit 4e2fe14) * Optimize the logic of default pool's creation Signed-off-by: bumblebeek <gleemanx@126.com> * Fix bug when attach network interface failed Signed-off-by: bumblebeek <gleemanx@126.com> * Add callback logic for filling cpip crd Signed-off-by: bumblebeek <gleemanx@126.com> * Improve add/remove allowedAddressPairs Signed-off-by: bumblebeek <gleemanx@126.com> * Add network interface gc function Signed-off-by: bumblebeek <gleemanx@126.com> * Change csip crd default retention time up to 68(32-bit system)/2924712086(64-bit system) years --------- Signed-off-by: bumblebeek <gleemanx@126.com> Signed-off-by: Marco Iorio <marco.iorio@isovalent.com> Co-authored-by: Marco Iorio <marco.iorio@isovalent.com>
ruicao93
referenced
this pull request
in volcengine/cilium
Mar 27, 2024
3 tasks
3 tasks
1 task
3 tasks
msune
added a commit
to msune/cilium
that referenced
this pull request
Aug 11, 2025
Running all memmove tests in a single function made clang backend crash (`Branch target out of insn range`). It doesn't seem to correlate with a single test. Commenting from test everything after: ``` test___builtin_memmove5_single(48); ``` Makes the test compile and pass. Inverting the selection, and only running `test___builtin_memmove5_single(50);` to `test___builtin_memmove5_single(128);` also makes the test compile & pass. Split `test_builtin_memmove` into two to work-around. Note: Unsure how we can report this to CLANG in a simple repro, given that it seems to be "additive". --- Details: ``` fatal error: error in backend: Branch target out of insn range PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -I/home/user/dev/cilium2/bpf -I/home/user/dev/cilium2/bpf/include -g -O2 --target=bpf -std=gnu99 -nostdinc -ftrap-function=__undefined_trap -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wimplicit-int-conversion -Wenum-conversion -Wimplicit-fallthrough -MD -mcpu=v3 -c builtins.c -o builtins.o 1. <eof> parser at end of file 2. Code generation #0 0x00007211191a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Unix/Signals.inc:723:13 cilium#1 0x00007211191a44f9 llvm::sys::RunSignalHandlers() build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Signals.cpp:106:18 cilium#2 0x00007211190efff3 build-llvm/tools/clang/stage2-bins/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 cilium#3 0x00007211190effa2 (/usr/lib/llvm-18/bin/../lib/libLLVM.so.18.1+0xceffa2) cilium#4 0x00007211191a0c70 llvm::sys::Process::Exit(int, bool) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Process.cpp:102:5 cilium#5 0x000055d222d2891b (/usr/lib/llvm-18/bin/clang+0x1491b) cilium#6 0x00007211190fe01c _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 cilium#7 0x00007211190fe01c _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 cilium#8 0x00007211190fe01c _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 cilium#9 0x00007211190fe01c ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Ubuntu clang version 18.1.3 (1ubuntu1) Target: bpf Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/builtins-eae2ef.c clang: note: diagnostic msg: /tmp/builtins-eae2ef.sh clang: note: diagnostic msg: ******************** ``` Signed-off-by: Marc Suñé <marc.sune@isovalent.com>
msune
added a commit
to msune/cilium
that referenced
this pull request
Aug 11, 2025
Running all memmove tests in a single function made clang backend crash (`Branch target out of insn range`). It doesn't seem to correlate with a single test. Commenting from test everything after: ``` test___builtin_memmove5_single(48); ``` Makes the test compile and pass. Inverting the selection, and only running `test___builtin_memmove5_single(50);` to `test___builtin_memmove5_single(128);` also makes the test compile & pass. Split `test_builtin_memmove` into two to work-around. Note: Unsure how we can report this to CLANG in a simple repro, given that it seems to be "additive". --- Details: ``` fatal error: error in backend: Branch target out of insn range PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -I/home/user/dev/cilium2/bpf -I/home/user/dev/cilium2/bpf/include -g -O2 --target=bpf -std=gnu99 -nostdinc -ftrap-function=__undefined_trap -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wimplicit-int-conversion -Wenum-conversion -Wimplicit-fallthrough -MD -mcpu=v3 -c builtins.c -o builtins.o 1. <eof> parser at end of file 2. Code generation #0 0x00007211191a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Unix/Signals.inc:723:13 cilium#1 0x00007211191a44f9 llvm::sys::RunSignalHandlers() build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Signals.cpp:106:18 cilium#2 0x00007211190efff3 build-llvm/tools/clang/stage2-bins/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 cilium#3 0x00007211190effa2 (/usr/lib/llvm-18/bin/../lib/libLLVM.so.18.1+0xceffa2) cilium#4 0x00007211191a0c70 llvm::sys::Process::Exit(int, bool) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Process.cpp:102:5 cilium#5 0x000055d222d2891b (/usr/lib/llvm-18/bin/clang+0x1491b) cilium#6 0x00007211190fe01c _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 cilium#7 0x00007211190fe01c _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 cilium#8 0x00007211190fe01c _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 cilium#9 0x00007211190fe01c ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Ubuntu clang version 18.1.3 (1ubuntu1) Target: bpf Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/builtins-eae2ef.c clang: note: diagnostic msg: /tmp/builtins-eae2ef.sh clang: note: diagnostic msg: ******************** ``` Signed-off-by: Marc Suñé <marc.sune@isovalent.com>
msune
added a commit
to msune/cilium
that referenced
this pull request
Aug 11, 2025
Running all memmove tests in a single function made clang backend crash (`Branch target out of insn range`). It doesn't seem to correlate with a single test. Commenting from test everything after: ``` test___builtin_memmove5_single(48); ``` Makes the test compile and pass. Inverting the selection, and only running `test___builtin_memmove5_single(50);` to `test___builtin_memmove5_single(128);` also makes the test compile & pass. Split `test_builtin_memmove` into two to work-around. Note: Unsure how we can report this to CLANG in a simple repro, given that it seems to be "additive". --- Details: ``` fatal error: error in backend: Branch target out of insn range PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -I/home/user/dev/cilium2/bpf -I/home/user/dev/cilium2/bpf/include -g -O2 --target=bpf -std=gnu99 -nostdinc -ftrap-function=__undefined_trap -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wimplicit-int-conversion -Wenum-conversion -Wimplicit-fallthrough -MD -mcpu=v3 -c builtins.c -o builtins.o 1. <eof> parser at end of file 2. Code generation #0 0x00007211191a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Unix/Signals.inc:723:13 cilium#1 0x00007211191a44f9 llvm::sys::RunSignalHandlers() build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Signals.cpp:106:18 cilium#2 0x00007211190efff3 build-llvm/tools/clang/stage2-bins/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 cilium#3 0x00007211190effa2 (/usr/lib/llvm-18/bin/../lib/libLLVM.so.18.1+0xceffa2) cilium#4 0x00007211191a0c70 llvm::sys::Process::Exit(int, bool) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Process.cpp:102:5 cilium#5 0x000055d222d2891b (/usr/lib/llvm-18/bin/clang+0x1491b) cilium#6 0x00007211190fe01c _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 cilium#7 0x00007211190fe01c _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 cilium#8 0x00007211190fe01c _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 cilium#9 0x00007211190fe01c ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Ubuntu clang version 18.1.3 (1ubuntu1) Target: bpf Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/builtins-eae2ef.c clang: note: diagnostic msg: /tmp/builtins-eae2ef.sh clang: note: diagnostic msg: ******************** ``` Signed-off-by: Marc Suñé <marc.sune@isovalent.com>
msune
added a commit
to msune/cilium
that referenced
this pull request
Aug 13, 2025
Running all memmove tests in a single function made clang backend crash (`Branch target out of insn range`). It doesn't seem to correlate with a single test. Commenting from test everything after: ``` test___builtin_memmove5_single(48); ``` Makes the test compile and pass. Inverting the selection, and only running `test___builtin_memmove5_single(50);` to `test___builtin_memmove5_single(128);` also makes the test compile & pass. Split `test_builtin_memmove` into two to work-around. Note: Unsure how we can report this to CLANG in a simple repro, given that it seems to be "additive". --- Details: ``` fatal error: error in backend: Branch target out of insn range PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -I/home/user/dev/cilium2/bpf -I/home/user/dev/cilium2/bpf/include -g -O2 --target=bpf -std=gnu99 -nostdinc -ftrap-function=__undefined_trap -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wimplicit-int-conversion -Wenum-conversion -Wimplicit-fallthrough -MD -mcpu=v3 -c builtins.c -o builtins.o 1. <eof> parser at end of file 2. Code generation #0 0x00007211191a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Unix/Signals.inc:723:13 cilium#1 0x00007211191a44f9 llvm::sys::RunSignalHandlers() build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Signals.cpp:106:18 cilium#2 0x00007211190efff3 build-llvm/tools/clang/stage2-bins/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 cilium#3 0x00007211190effa2 (/usr/lib/llvm-18/bin/../lib/libLLVM.so.18.1+0xceffa2) cilium#4 0x00007211191a0c70 llvm::sys::Process::Exit(int, bool) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Process.cpp:102:5 cilium#5 0x000055d222d2891b (/usr/lib/llvm-18/bin/clang+0x1491b) cilium#6 0x00007211190fe01c _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 cilium#7 0x00007211190fe01c _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 cilium#8 0x00007211190fe01c _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 cilium#9 0x00007211190fe01c ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Ubuntu clang version 18.1.3 (1ubuntu1) Target: bpf Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/builtins-eae2ef.c clang: note: diagnostic msg: /tmp/builtins-eae2ef.sh clang: note: diagnostic msg: ******************** ``` Signed-off-by: Marc Suñé <marc.sune@isovalent.com>
msune
added a commit
to msune/cilium
that referenced
this pull request
Aug 14, 2025
Running all memmove tests in a single function made clang backend crash (`Branch target out of insn range`). It doesn't seem to correlate with a single test. Commenting from test everything after: ``` test___builtin_memmove5_single(48); ``` Makes the test compile and pass. Inverting the selection, and only running `test___builtin_memmove5_single(50);` to `test___builtin_memmove5_single(128);` also makes the test compile & pass. Split `test_builtin_memmove` into two to work-around. Note: Unsure how we can report this to CLANG in a simple repro, given that it seems to be "additive". --- Details: ``` fatal error: error in backend: Branch target out of insn range PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -I/home/user/dev/cilium2/bpf -I/home/user/dev/cilium2/bpf/include -g -O2 --target=bpf -std=gnu99 -nostdinc -ftrap-function=__undefined_trap -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wimplicit-int-conversion -Wenum-conversion -Wimplicit-fallthrough -MD -mcpu=v3 -c builtins.c -o builtins.o 1. <eof> parser at end of file 2. Code generation #0 0x00007211191a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Unix/Signals.inc:723:13 cilium#1 0x00007211191a44f9 llvm::sys::RunSignalHandlers() build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Signals.cpp:106:18 cilium#2 0x00007211190efff3 build-llvm/tools/clang/stage2-bins/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 cilium#3 0x00007211190effa2 (/usr/lib/llvm-18/bin/../lib/libLLVM.so.18.1+0xceffa2) cilium#4 0x00007211191a0c70 llvm::sys::Process::Exit(int, bool) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Process.cpp:102:5 cilium#5 0x000055d222d2891b (/usr/lib/llvm-18/bin/clang+0x1491b) cilium#6 0x00007211190fe01c _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 cilium#7 0x00007211190fe01c _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 cilium#8 0x00007211190fe01c _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 cilium#9 0x00007211190fe01c ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Ubuntu clang version 18.1.3 (1ubuntu1) Target: bpf Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/builtins-eae2ef.c clang: note: diagnostic msg: /tmp/builtins-eae2ef.sh clang: note: diagnostic msg: ******************** ``` Signed-off-by: Marc Suñé <marc.sune@isovalent.com>
msune
added a commit
to msune/cilium
that referenced
this pull request
Aug 14, 2025
Running all memmove tests in a single function made clang backend crash (`Branch target out of insn range`). It doesn't seem to correlate with a single test. Commenting from test everything after: ``` test___builtin_memmove5_single(48); ``` Makes the test compile and pass. Inverting the selection, and only running `test___builtin_memmove5_single(50);` to `test___builtin_memmove5_single(128);` also makes the test compile & pass. Split `test_builtin_memmove` into two to work-around. Note: Unsure how we can report this to CLANG in a simple repro, given that it seems to be "additive". --- Details: ``` fatal error: error in backend: Branch target out of insn range PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -I/home/user/dev/cilium2/bpf -I/home/user/dev/cilium2/bpf/include -g -O2 --target=bpf -std=gnu99 -nostdinc -ftrap-function=__undefined_trap -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wimplicit-int-conversion -Wenum-conversion -Wimplicit-fallthrough -MD -mcpu=v3 -c builtins.c -o builtins.o 1. <eof> parser at end of file 2. Code generation #0 0x00007211191a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Unix/Signals.inc:723:13 cilium#1 0x00007211191a44f9 llvm::sys::RunSignalHandlers() build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Signals.cpp:106:18 cilium#2 0x00007211190efff3 build-llvm/tools/clang/stage2-bins/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 cilium#3 0x00007211190effa2 (/usr/lib/llvm-18/bin/../lib/libLLVM.so.18.1+0xceffa2) cilium#4 0x00007211191a0c70 llvm::sys::Process::Exit(int, bool) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Process.cpp:102:5 cilium#5 0x000055d222d2891b (/usr/lib/llvm-18/bin/clang+0x1491b) cilium#6 0x00007211190fe01c _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 cilium#7 0x00007211190fe01c _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 cilium#8 0x00007211190fe01c _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 cilium#9 0x00007211190fe01c ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Ubuntu clang version 18.1.3 (1ubuntu1) Target: bpf Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/builtins-eae2ef.c clang: note: diagnostic msg: /tmp/builtins-eae2ef.sh clang: note: diagnostic msg: ******************** ``` Signed-off-by: Marc Suñé <marc.sune@isovalent.com>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Aug 14, 2025
Running all memmove tests in a single function made clang backend crash (`Branch target out of insn range`). It doesn't seem to correlate with a single test. Commenting from test everything after: ``` test___builtin_memmove5_single(48); ``` Makes the test compile and pass. Inverting the selection, and only running `test___builtin_memmove5_single(50);` to `test___builtin_memmove5_single(128);` also makes the test compile & pass. Split `test_builtin_memmove` into two to work-around. Note: Unsure how we can report this to CLANG in a simple repro, given that it seems to be "additive". --- Details: ``` fatal error: error in backend: Branch target out of insn range PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -I/home/user/dev/cilium2/bpf -I/home/user/dev/cilium2/bpf/include -g -O2 --target=bpf -std=gnu99 -nostdinc -ftrap-function=__undefined_trap -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wimplicit-int-conversion -Wenum-conversion -Wimplicit-fallthrough -MD -mcpu=v3 -c builtins.c -o builtins.o 1. <eof> parser at end of file 2. Code generation #0 0x00007211191a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Unix/Signals.inc:723:13 #1 0x00007211191a44f9 llvm::sys::RunSignalHandlers() build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Signals.cpp:106:18 #2 0x00007211190efff3 build-llvm/tools/clang/stage2-bins/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 #3 0x00007211190effa2 (/usr/lib/llvm-18/bin/../lib/libLLVM.so.18.1+0xceffa2) #4 0x00007211191a0c70 llvm::sys::Process::Exit(int, bool) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Process.cpp:102:5 #5 0x000055d222d2891b (/usr/lib/llvm-18/bin/clang+0x1491b) #6 0x00007211190fe01c _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 #7 0x00007211190fe01c _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 #8 0x00007211190fe01c _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 #9 0x00007211190fe01c ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Ubuntu clang version 18.1.3 (1ubuntu1) Target: bpf Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/builtins-eae2ef.c clang: note: diagnostic msg: /tmp/builtins-eae2ef.sh clang: note: diagnostic msg: ******************** ``` Signed-off-by: Marc Suñé <marc.sune@isovalent.com>
rabelmervin
pushed a commit
to rabelmervin/cilium
that referenced
this pull request
Aug 18, 2025
Running all memmove tests in a single function made clang backend crash (`Branch target out of insn range`). It doesn't seem to correlate with a single test. Commenting from test everything after: ``` test___builtin_memmove5_single(48); ``` Makes the test compile and pass. Inverting the selection, and only running `test___builtin_memmove5_single(50);` to `test___builtin_memmove5_single(128);` also makes the test compile & pass. Split `test_builtin_memmove` into two to work-around. Note: Unsure how we can report this to CLANG in a simple repro, given that it seems to be "additive". --- Details: ``` fatal error: error in backend: Branch target out of insn range PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -I/home/user/dev/cilium2/bpf -I/home/user/dev/cilium2/bpf/include -g -O2 --target=bpf -std=gnu99 -nostdinc -ftrap-function=__undefined_trap -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wimplicit-int-conversion -Wenum-conversion -Wimplicit-fallthrough -MD -mcpu=v3 -c builtins.c -o builtins.o 1. <eof> parser at end of file 2. Code generation #0 0x00007211191a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Unix/Signals.inc:723:13 cilium#1 0x00007211191a44f9 llvm::sys::RunSignalHandlers() build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Signals.cpp:106:18 cilium#2 0x00007211190efff3 build-llvm/tools/clang/stage2-bins/llvm/lib/Support/CrashRecoveryContext.cpp:73:5 cilium#3 0x00007211190effa2 (/usr/lib/llvm-18/bin/../lib/libLLVM.so.18.1+0xceffa2) cilium#4 0x00007211191a0c70 llvm::sys::Process::Exit(int, bool) build-llvm/tools/clang/stage2-bins/llvm/lib/Support/Process.cpp:102:5 cilium#5 0x000055d222d2891b (/usr/lib/llvm-18/bin/clang+0x1491b) cilium#6 0x00007211190fe01c _M_data /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:223:28 cilium#7 0x00007211190fe01c _M_is_local /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:264:6 cilium#8 0x00007211190fe01c _M_dispose /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:282:7 cilium#9 0x00007211190fe01c ~basic_string /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:804:9 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Ubuntu clang version 18.1.3 (1ubuntu1) Target: bpf Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/builtins-eae2ef.c clang: note: diagnostic msg: /tmp/builtins-eae2ef.sh clang: note: diagnostic msg: ******************** ``` Signed-off-by: Marc Suñé <marc.sune@isovalent.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.