Re: -ffunction sections without optimization
In reference to a message from Will Newton, dated Sep 03:
> I have a package that builds OK, with gcc flags "-g -O2 -ffunction-sections",
> but fails with a failed reloc (i.e. missing -ffunction-sections) when I
> remove the -O2. Why would I want to do this, you may ask? To help me debug an
> elusive crash. Anyway, it seems quite wierd. Is there any time frame for the
> -ffunction-sections "bug" being fixed in GCC?
what version of gcc are you using? Dave has fixed most of these in