Re: Fix D compilation on Solaris

2018-11-04 Thread Iain Buclaw
On Sun, 4 Nov 2018 at 17:50, Rainer Orth wrote: > > Hi Iain, > > > On Sat, 3 Nov 2018 at 23:23, Iain Buclaw wrote: > >> > >> On Wed, 31 Oct 2018 at 10:40, Rainer Orth > >> wrote: > >> > > >> > Hi Iain, > >> > > >> > > My first suspect here would be 'struct UnionExp', see > >> > > d/dmd/express

Re: Fix D compilation on Solaris

2018-11-04 Thread Rainer Orth
Hi Iain, > On Sat, 3 Nov 2018 at 23:23, Iain Buclaw wrote: >> >> On Wed, 31 Oct 2018 at 10:40, Rainer Orth >> wrote: >> > >> > Hi Iain, >> > >> > > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h >> > > >> > > Upstream dmd use a poor man's alignment, from what I recall

Re: Fix D compilation on Solaris

2018-11-04 Thread Rainer Orth
Hi Iain, > On Wed, 31 Oct 2018 at 10:40, Rainer Orth > wrote: >> >> Hi Iain, >> >> > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h >> > >> > Upstream dmd use a poor man's alignment, from what I recall to be >> > compatible with the dmc compiler. >> > >> > // En

Re: Fix D compilation on Solaris

2018-11-04 Thread Rainer Orth
Hi Iain, > On Wed, 31 Oct 2018 at 10:40, Rainer Orth > wrote: >> >> Hi Iain, >> >> > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h >> > >> > Upstream dmd use a poor man's alignment, from what I recall to be >> > compatible with the dmc compiler. >> > >> > // En

Re: Fix D compilation on Solaris

2018-11-04 Thread Rainer Orth
Hi Iain, > On Wed, 31 Oct 2018 at 10:43, Rainer Orth > wrote: >> >> Hi Iain, >> >> >> My first suspect here would be 'struct UnionExp', see d/dmd/expression.h >> >> >> >> Upstream dmd use a poor man's alignment, from what I recall to be >> >> compatible with the dmc compiler. >> >> >> >>

Re: Fix D compilation on Solaris

2018-11-03 Thread Iain Buclaw
On Sat, 3 Nov 2018 at 23:23, Iain Buclaw wrote: > > On Wed, 31 Oct 2018 at 10:40, Rainer Orth > wrote: > > > > Hi Iain, > > > > > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h > > > > > > Upstream dmd use a poor man's alignment, from what I recall to be > > > compatibl

Re: Fix D compilation on Solaris

2018-11-03 Thread Iain Buclaw
On Wed, 31 Oct 2018 at 10:40, Rainer Orth wrote: > > Hi Iain, > > > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h > > > > Upstream dmd use a poor man's alignment, from what I recall to be > > compatible with the dmc compiler. > > > > // Ensure that the union is s

Re: Fix D compilation on Solaris

2018-10-31 Thread Iain Buclaw
On Wed, 31 Oct 2018 at 10:43, Rainer Orth wrote: > > Hi Iain, > > >> My first suspect here would be 'struct UnionExp', see d/dmd/expression.h > >> > >> Upstream dmd use a poor man's alignment, from what I recall to be > >> compatible with the dmc compiler. > >> > >> // Ensure that the unio

Re: Fix D compilation on Solaris

2018-10-31 Thread Iain Buclaw
On Wed, 31 Oct 2018 at 10:40, Rainer Orth wrote: > > Hi Iain, > > > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h > > > > Upstream dmd use a poor man's alignment, from what I recall to be > > compatible with the dmc compiler. > > > > // Ensure that the union is s

Re: Fix D compilation on Solaris

2018-10-31 Thread Rainer Orth
Hi Iain, >> My first suspect here would be 'struct UnionExp', see d/dmd/expression.h >> >> Upstream dmd use a poor man's alignment, from what I recall to be >> compatible with the dmc compiler. >> >> // Ensure that the union is suitably aligned. >> real_t for_alignment_only; >> >>

Re: Fix D compilation on Solaris

2018-10-31 Thread Rainer Orth
Hi Iain, > My first suspect here would be 'struct UnionExp', see d/dmd/expression.h > > Upstream dmd use a poor man's alignment, from what I recall to be > compatible with the dmc compiler. > > // Ensure that the union is suitably aligned. > real_t for_alignment_only; > > What happ

Re: Fix D compilation on Solaris

2018-10-30 Thread Iain Buclaw
On Tue, 30 Oct 2018 at 14:13, Rainer Orth wrote: > > Rainer Orth writes: > > > * On sparc, I didn't get that far, unfortunately: as I mentioned, many > > compilations die with SIGBUS: > > > > libtool: compile: /var/gcc/regression/trunk/11.5-gcc/build/./gcc/gdc > > -B/var/gcc/regression/trunk/

Re: Fix D compilation on Solaris

2018-10-30 Thread Rainer Orth
Rainer Orth writes: > * On sparc, I didn't get that far, unfortunately: as I mentioned, many > compilations die with SIGBUS: > > libtool: compile: /var/gcc/regression/trunk/11.5-gcc/build/./gcc/gdc > -B/var/gcc/regression/trunk/11.5-gcc/build/./gcc/ > -B/vol/gcc/sparc-sun-solaris2.11/bin/ -B