On Fri, Nov 02, 2018 at 02:45:51PM -0400, George Koehler wrote:
> On Wed, 31 Oct 2018 09:15:38 -0300
> "Elias M. Mariani" <[email protected]> wrote:
> 
> > All give the same error:
> > eg++: error: -fuse-linker-plugin is not supported in this configuration
> > Maybe someone with more knowledge sees the error as spots the problem
> > right away...
> 
> The build system tries to use link-time optimization (-flto
> -fuse-linker-plugin).  This fails because -fuse-linker-plugin "is
> available in gold or in GNU ld 2.21 or newer" (says man egcc), but
> OpenBSD has GNU ld 2.17.
> 
> x11/lxqt/build-tools enables LTO for gcc, so the failure would happen
> on ports-gcc arches like powerpc.  Most packages outside LXQt don't
> enable LTO, so I disabled LTO by modifying x11/lxqt/build-tools.  This
> allows my powerpc machine to build qtermwidget and then build and run
> qterminal; I don't have time to try the rest of LXQt.  I used some old
> snapshot packages like qtbase-5.9.6p1 instead of 5.9.7.
> 
> Here's my diff for x11/lxqt/build-tools (but missing the REVISION
> bump); the same diff is in the attachment.

Thanks - applied locally on macppc. Will see how it goes.

Reply via email to