RFA: Add GCC Runtime Library Exception to include/plugin-api.h

2016-01-22 Thread H.J. Lu
include/plugin-api.h defines an ABI between linker and compiler,
which can be used to implement linker plug-in by any compilers.
I'd like to add GCC Runtime Library Exception to include/plugin-api.h
so that the linker plug-in can have non-GPL licenses.

Thanks.

-- 
H.J.


Re: Status of GCC 6 on x86_64 (Debian)

2016-01-22 Thread Martin Michlmayr
* Martin Michlmayr  [2016-01-21 21:09]:
> * 13: test suite failures (segfaults and similar); not clear if the
>   package or if GCC is at fault.

Rene Engelhard pointed me to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69327
which might explain some of these segfaults.

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise


Re: Status of GCC 6 on x86_64 (Debian)

2016-01-22 Thread Markus Trippelsdorf
On 2016.01.22 at 11:27 -0800, Martin Michlmayr wrote:
> * Martin Michlmayr  [2016-01-21 21:09]:
> > * 13: test suite failures (segfaults and similar); not clear if the
> >   package or if GCC is at fault.
> 
> Rene Engelhard pointed me to 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69327
> which might explain some of these segfaults.

My guess would be that most segfaults are caused by the much more
aggressive optimization based on the assumption that "this" must never
be NULL in C++. 

QT5, Chromium and Kdevelop all call methods from a NULL pointer and
crash for this reason. -fno-delete-null-pointer-checks is a workaround.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68853 for an analysis
of the Chromium crash.

-- 
Markus