Re: There is *NO* abi stability in -head

2017-10-26 Thread Mateusz Guzik
On Tue, Oct 24, 2017 at 10:47 AM, Hans Petter Selasky wrote: > On 10/23/17 22:35, Mateusz Guzik wrote: > >> This is your friendly reminder that in head struct layouts can change >> and each update requires you to rebuild *all* modules (including ones >> which come from ports).

Re: There is *NO* abi stability in -head

2017-10-24 Thread Hans Petter Selasky
On 10/23/17 22:35, Mateusz Guzik wrote: This is your friendly reminder that in head struct layouts can change and each update requires you to rebuild *all* modules (including ones which come from ports). In practice you can get away without it most of the time, but if in doubt or seeing funny

Re: There is *NO* abi stability in -head

2017-10-24 Thread David Chisnall
On 23 Oct 2017, at 21:35, Mateusz Guzik wrote: > > Instead, the same can be reshuffled: > struct crap2 { >int i1; >int i2; >void *p1; >void *p2; > }; > > With offsets: > > 0x1000 i1 > 0x1004 i2 > 0x1008 p1 > 0x1010 p2 > > This is only 24

Re: There is *NO* abi stability in -head

2017-10-23 Thread blubee blubeeme
Thanks for these, I came across them when writing some game engine code a few years back. I really enjoy this stuff because I find it down right obnoxious that code gets slower as CPU power increases! On Tue, Oct 24, 2017 at 4:35 AM, Mateusz Guzik wrote: > This is your