Commit f104d11
committed
Add
Introduces a `no_sframe` config in `.bazelrc` to disable SFrame (Simple Frame) generation using `-Wa,--gsframe=no`. This helps resolve linker errors like "relocation refers to a discarded section" that can occur with GCC 15+ and LLD 19+ in non-release builds. The build documentation is updated to include this troubleshooting step.
SFrame (Simple Frame):
https://sourceware.org/binutils/wiki/sframe
#codehealth
PiperOrigin-RevId: 919460188--config no_sframe to work around linker errors.1 parent 0e3d3d0 commit f104d11
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
133 | 143 | | |
134 | 144 | | |
135 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
0 commit comments