Re: Can LTO minor version be updated in backward compatible way ?

2019-07-17 Thread Jeff Law
On 7/17/19 11:29 AM, Andi Kleen wrote: > Romain Geissler writes: >> >> I have no idea of the LTO format and if indeed it can easily be updated >> in a backward compatible way. But I would say it would be nice if it >> could, and would allow adoption for projects spread on many teams >> depending o

Re: Can LTO minor version be updated in backward compatible way ?

2019-07-17 Thread Andi Kleen
Romain Geissler writes: > > I have no idea of the LTO format and if indeed it can easily be updated > in a backward compatible way. But I would say it would be nice if it > could, and would allow adoption for projects spread on many teams > depending on each others and unable to re-build everythin

Re: Can LTO minor version be updated in backward compatible way ?

2019-07-17 Thread Michael Matz
Hi, On Wed, 17 Jul 2019, Romain Geissler wrote: > However at scale, I think this can become a problem. What will happen > when in gcc 9.3 we change the version to 8.2 ? Will Tumbleweed recompile > 100% of the static libraris it ships ? Every compiler change causes the whole distro to be rebuilt.

Binary Compatibility and Upgrades - GCC C++

2019-07-17 Thread anand.tod...@siemens.com
Hello GCC Team, I am Anand Todkar working in Siemens Corporate Technology as Software Architect, I am involved in designing and developing various Platforms for Siemens PLCs and other industrial solutions. I am currently doing "Binary Compatibility feasibility study" for one of C++ library whi

Can LTO minor version be updated in backward compatible way ?

2019-07-17 Thread Romain Geissler
Hi, SuSE (Martin) annonunced today that fromw now on SuSE Tumbleweed will ship with LTO-built packages by default [1]. That's a good news, however I have a question wrt how you expect to support LTO in the future. I have been enabling it in my company for just few selected components and I run in

Re: Doubts regarding the _Dependent_ptr keyword

2019-07-17 Thread Akshat Garg
On Tue, Jul 2, 2019 at 9:06 PM Jason Merrill wrote: > On Mon, Jul 1, 2019 at 8:59 PM Paul E. McKenney > wrote: > > > > On Tue, Jul 02, 2019 at 05:58:48AM +0530, Akshat Garg wrote: > > > On Tue, Jun 25, 2019 at 9:49 PM Akshat Garg wrote: > > > > > > > On Tue, Jun 25, 2019 at 4:04 PM Ramana Radha

_Dependent_ptr problems in RTL passes

2019-07-17 Thread Akshat Garg
Hi all, We are working on making memory_order_consume not get promoted to memory_order_acquire. Here is a little background on the work we are doing https://gcc.gnu.org/ml/gcc/2019-07/msg00038.html We are able to parse _Dependent_ptr from C front-end. The patch files are given here. https://githu