Re: Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-31 Thread Andrey Rahmatullin
On Wed, Jan 31, 2018 at 02:41:15PM +0100, Guillem Jover wrote: > But if -jN breaks, that's because the package is not parallel build > safe, so using -J will not improve things, as the package has not > opted in (or has opted out depending on the debhelper used) from > parallel builds anyway. The g

Re: Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-31 Thread Philipp Kern
On 2018-01-31 14:41, Guillem Jover wrote: Hi! On Wed, 2018-01-31 at 07:35:32 +0100, Philipp Hahn wrote: Using parallel build (-jX) fails for us, so it takes ~13h to compile that gcc. I was told to use '-J' instead, but that is not supported by dpkg-buildpackage in Debian-Stretch :-( dpkg-buil

Re: Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-31 Thread Guillem Jover
Hi! On Wed, 2018-01-31 at 07:35:32 +0100, Philipp Hahn wrote: > Using parallel build (-jX) fails for us, so it takes ~13h to compile > that gcc. I was told to use '-J' instead, but that is not supported by > dpkg-buildpackage in Debian-Stretch :-( dpkg-buildpackage does support -J in stretch (sta

Re: Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-31 Thread Andrey Rahmatullin
On Wed, Jan 31, 2018 at 07:35:32AM +0100, Philipp Hahn wrote: > Using parallel build (-jX) fails for us, so it takes ~13h to compile > that gcc. I was told to use '-J' instead, but that is not supported by > dpkg-buildpackage in Debian-Stretch :-( You can always use DEB_BUILD_OPTIONS=parallel=n ins

Re: Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-31 Thread Moritz Mühlenhoff
Robin Geuze schrieb: > I was wondering, are the debian maintainers planning on backporting the > -mindirect-branch=thunk support introduced in GCC 7.3 and 8.1 to the > compilers available on Jessie and Stretch? While this is not necessarily > a security fix for the compiler it does provide that

Re: Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-31 Thread Moritz Mühlenhoff
Philipp Hahn wrote: > PS: Here are the 7 relevant GIT commpits for gcc-4.9 from H.J. Lu's GIT > repository for reference: >> 1fb3a1828fa x86: Disallow -mindirect-branch=/-mfunction-return= with >> -mcmodel=large >> 7ab5b649f72 x86: Add 'V' register operand modifier >> 5550079949a x86: Add -mindire

Re: Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-30 Thread Philipp Hahn
Hello, Am 30.01.2018 um 08:43 schrieb Robin Geuze: > I was wondering, are the debian maintainers planning on backporting the > -mindirect-branch=thunk support introduced in GCC 7.3 and 8.1 to the > compilers available on Jessie and Stretch? While this is not necessarily > a security fix for the co

Re: Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-30 Thread Paul Wise
On Tue, Jan 30, 2018 at 3:43 PM, Robin Geuze wrote: > I was wondering, are the debian maintainers planning on backporting the > -mindirect-branch=thunk support introduced in GCC 7.3 and 8.1 to the > compilers available on Jessie and Stretch? While this is not necessarily a > security fix for the c

Compiler with Spectre mitigation retpoline/-mindirect-branch=thunk

2018-01-30 Thread Robin Geuze
Hey, I was wondering, are the debian maintainers planning on backporting the -mindirect-branch=thunk support introduced in GCC 7.3 and 8.1 to the compilers available on Jessie and Stretch? While this is not necessarily a security fix for the compiler it does provide that fix to at least kerne