Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Userland build fails with GCC48



On Mon, Jan 26, 2015 at 12:10:18PM +0100, Frank Wille wrote:
> I fear there are still some problems with PIC code to resolve, before we
> can switch m68k to GCC48. A normal build works, but as soon as you add
> MKDEBUG=YES or DBG=-g

You can not do the latter, use "DBG=-O1 -g" or similar.

DBG=-g will turn optimization down to -O0, and then you have to deal
with the PIC fallout you have seen. Do you need explicit -g anyway?
I only do:

	-V MKDEBUG=yes -V MKDEBUGLIB=yes

and that seems to work fine everywhere.

Martin


Home | Main Index | Thread Index | Old Index