Re: GCC master: Weird build problem on Fedora 29

2018-11-21 Thread Iain Buclaw via D.gnu
On Wed, 21 Nov 2018 at 12:27, Iain Buclaw wrote: > > On Tue, 20 Nov 2018 at 09:30, Dejan Lekic via D.gnu > wrote: > > > > I am trying to build GCC master with D enabled, configured with: > > > > ../configure --enable-languages=d --prefix=/opt/gcc > > --mandir=/opt/gcc/share/man --infodir=/opt/gc

Re: GCC master: Weird build problem on Fedora 29

2018-11-21 Thread Iain Buclaw via D.gnu
On Tue, 20 Nov 2018 at 09:30, Dejan Lekic via D.gnu wrote: > > I am trying to build GCC master with D enabled, configured with: > > ../configure --enable-languages=d --prefix=/opt/gcc > --mandir=/opt/gcc/share/man --infodir=/opt/gcc/share/info > --enable-shared --enable-threads=posix --enable-chec

Re: GCC master: Weird build problem on Fedora 29

2018-11-20 Thread dangbinghoo via D.gnu
On Tuesday, 20 November 2018 at 08:29:14 UTC, Dejan Lekic wrote: When I do what it tells me to do (make distclean in the phobos directory) I am getting: I don't familiar with gdc compiles, but the error info gives you command `make distclean` should be executed in the top dir(where your c

GCC master: Weird build problem on Fedora 29

2018-11-20 Thread Dejan Lekic via D.gnu
I am trying to build GCC master with D enabled, configured with: ../configure --enable-languages=d --prefix=/opt/gcc --mandir=/opt/gcc/share/man --infodir=/opt/gcc/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-multilib --with-tune=nativ

Re: Build problem

2014-06-29 Thread Timo Sintonen via D.gnu
On Sunday, 29 June 2014 at 08:21:34 UTC, Iain Buclaw via D.gnu wrote: On 29 June 2014 08:16, Timo Sintonen via D.gnu wrote: I tried to build my cross compiler from current head. I got "lvalue required as left operand of assignment" in d-objfile.cc lines 1717 and 2107. Hi Timo, This would b

Re: Build problem

2014-06-29 Thread Iain Buclaw via D.gnu
On 29 June 2014 08:16, Timo Sintonen via D.gnu wrote: > I tried to build my cross compiler from current head. > I got "lvalue required as left operand of assignment" in d-objfile.cc lines > 1717 and 2107. Hi Timo, This would be more changes in upstream GCC that haven't been caught up with yet.

Build problem

2014-06-29 Thread Timo Sintonen via D.gnu
I tried to build my cross compiler from current head. I got "lvalue required as left operand of assignment" in d-objfile.cc lines 1717 and 2107.

Re: Build problem with latest git head

2013-11-10 Thread Timo Sintonen
On Sunday, 10 November 2013 at 09:20:11 UTC, Johannes Pfau wrote: In case you need a workaround right now: shared struct Register //Also working without shared here { size_t a; } shared(Register*) reg = cast(shared(Register*))0xFFDDCCAA; void main()

Re: Build problem with latest git head

2013-11-09 Thread Iain Buclaw
On 9 November 2013 18:17, Johannes Pfau wrote: > Am Fri, 08 Nov 2013 21:00:18 +0100 > schrieb "Timo Sintonen" : > > > Now returning to my original problem. > > > > I tested various loops and it seems that write to a variable is > > not volatile even if the variable is marked shared. If I write to

Re: Build problem with latest git head

2013-11-09 Thread Johannes Pfau
Am Fri, 08 Nov 2013 21:00:18 +0100 schrieb "Timo Sintonen" : > Now returning to my original problem. > > I tested various loops and it seems that write to a variable is > not volatile even if the variable is marked shared. If I write to > a variable several times in a loop, all but the last wri

Re: Build problem with latest git head

2013-11-08 Thread Timo Sintonen
Now returning to my original problem. I tested various loops and it seems that write to a variable is not volatile even if the variable is marked shared. If I write to a variable several times in a loop, all but the last write are optimized out. The only write is put after the loop. Read work

Re: Build problem with latest git head

2013-11-07 Thread Iain Buclaw
On 7 November 2013 08:59, Joseph Rushton Wakeling < joseph.wakel...@webdrake.net> wrote: > On 04/11/13 12:26, Iain Buclaw wrote: > >> On 4 November 2013 11:22, Joseph Rushton Wakeling < >> joseph.wakel...@webdrake.net >> > wrote: >> Should we expect that gi

Re: Build problem with latest git head

2013-11-07 Thread Joseph Rushton Wakeling
On 04/11/13 12:26, Iain Buclaw wrote: On 4 November 2013 11:22, Joseph Rushton Wakeling mailto:joseph.wakel...@webdrake.net>> wrote: Should we expect that git-head GDC will start to require GCC 4.9 in the near future? After I push the fix that you see in that patch, yes. Am I right tha

Re: Build problem with latest git head

2013-11-04 Thread Timo Sintonen
On Monday, 4 November 2013 at 11:21:03 UTC, Iain Buclaw wrote: For the time being, use gcc-4.9-20131013.tar.bz2 snapshot - that is the last build I've done here (currently all my time is being used up on D 2.064). Feel free to send patches though (see this two line change here: http://gcc.g

Re: Build problem with latest git head

2013-11-04 Thread Iain Buclaw
On 4 November 2013 11:22, Joseph Rushton Wakeling < joseph.wakel...@webdrake.net> wrote: > On 04/11/13 12:20, Iain Buclaw wrote: > >> For the time being, use gcc-4.9-20131013.tar.bz2 snapshot - that is the >> last >> build I've done here (currently all my time is being used up on D 2.064). >> > >

Re: Build problem with latest git head

2013-11-04 Thread Joseph Rushton Wakeling
On 04/11/13 12:20, Iain Buclaw wrote: For the time being, use gcc-4.9-20131013.tar.bz2 snapshot - that is the last build I've done here (currently all my time is being used up on D 2.064). Should we expect that git-head GDC will start to require GCC 4.9 in the near future?

Re: Build problem with latest git head

2013-11-04 Thread Iain Buclaw
On 4 November 2013 10:15, Timo Sintonen wrote: > I tried to build gdc with the latest heads of gcc and gdc > Lots of warnings along the build and the it stops here: > > ../../gcc/gcc/d/d-objfile.cc:2031:52: error: no matching function for > call to 'symtab_node::symtab_node(cgraph_node*&)' >

Build problem with latest git head

2013-11-04 Thread Timo Sintonen
I tried to build gdc with the latest heads of gcc and gdc Lots of warnings along the build and the it stops here: ../../gcc/gcc/d/d-objfile.cc:2031:52: error: no matching function for call to 'symtab_node::symtab_node(cgraph_node*&)' symtab_add_to_same_comdat_group ((symtab_node) thunk_nod