Commit faa5a49
.blazerc: Work around gcc/binutils version mismatch
GCC 15+ assembler generates `.sframe` stack trace sections by default. With
binutils 2.45, the linker fails to handle `.sframe` references correctly during
COMDAT section discarding ("relocation refers to local symbol... which is
defined in a discarded section"). We disable `.sframe` generation in the
assembler to fix the build. This can be removed when it no longer gives an
error on gLinux Rodete. gcc 15.2.0 and binutils 2.45 gives an error.
Add --config=host_gcc with this work-around and use it in test_bazel.sh.
Both --config=llvm and --config=gcc are broken now, for different reasons.
PiperOrigin-RevId: 8814998031 parent 9deb58f commit faa5a49
2 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
0 commit comments