tech-pkg archive

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

Re: Problem to build audio/rplay (SSP check)

On Thu, Jan 25, 2018 at 08:31:03AM +0000, wrote:
> Hi,
> The reason deleting optimization works is GCC disables some optimization
> passes that SSP needs. so it disables SSP *and* optimization. It is
> easier to just disable SSP.

Hmm, I had to add
in the Makefile to work around the build problem.

> I'm told this is screwed up because of the order in which macros are
> expanded.
> It has definitions like
> #define SIZE(a,b) a,b
> #define SNPRINTF snprintf
> and SSP adds
> #defined snprintf(a,b,..) __snprintf_chk(a,b,...)
> SIZE being expanded after SNPRINTF and snprintf (?) means it looks like an
> extra argument to __snprintf_chk.

Yeah, I found other patches for similar build problems but wasn't sure how to
solve this.


Home | Main Index | Thread Index | Old Index