Open
Description
I am building toolchains for use in Docker containers and I find that the --disable-debug-info
configure option does nothing - debug info is always present in the toolchain binaries, causing my container images to be very large. For example:
/configure --disable-gdb --disable-debug-info --with-arch=rv32imc \
--with-abi=ilp32 --with-cmodel=medlow --prefix=`pwd`/installed
make
...
file installed/bin/*
shows all the binaries as with debug_info, not stripped
.
I can see that --enable-debug-info
does add -g
to the compile flags, but it seems like it must be there by default in gcc (at least) and what we need is some way of turning that off.
Metadata
Metadata
Assignees
Labels
No labels