Reducing debug info for stack traces, while preserving for gdb

2022-12-14 Thread Witold Baryluk via D.gnu
Hi, I am trying to split debug symbols out of final binary, to reduce its size. But I would like to preserve at least line numbers in the stacktraces from `Exception`s. Linux, amd64. gdc 12.2.0 on Debian testing. Binary is compiled using `-O3 -g -g3` (and possibly -gz). I then use `objcopy`

Re: Reducing debug info for stack traces, while preserving for gdb

2022-12-14 Thread Witold Baryluk via D.gnu
For example to give you some context. This is an example small app, the actual app is significantly larger (binary with debug symbols is about 20MB, without debug symbols only 2-3MB). ``` $ ~/bloaty/build/bloaty binary-O3-g-g3-gz # (original binary) FILE SIZEVM SIZE

Re: Xtensa support

2024-04-14 Thread Witold Baryluk via D.gnu
On Friday, 12 April 2024 at 23:16:30 UTC, Matheus Catarino wrote: I've recently seen support for different target architectures on https://explore.dgnu.org . What is the status of Xtensa and xtensa-gnu support? Does it support both xtensa ABIs (call0 and windowed)? Currently there is a need to

Re: Xtensa support

2024-04-14 Thread Witold Baryluk via D.gnu
On Sunday, 14 April 2024 at 16:04:54 UTC, Matheus Catarino wrote: Espressif/LLVM have xtensa-ABI (windowed) partial support, but GCC [upstream and fork] have both xtensa-ABI (call0 & windowed) OK. BTW. If you are on Debian / Ubuntu, xtensa cross compilers for C,C++,D are prepackaged in offici