Doing a make bootstrap on the lastest version (49d20a0a1466595e3144e1dda4f9fe0ae70ddd8) from git gives me a : build/gengtype \ -S ../../gcc -I gtyp-input.list -w tmp-gtype.state /bin/sh ../../gcc/../move-if-change tmp-gtype.state gtype.state build/gengtype \ -r gtype.state gengtype: Internal error: abort in get_output_file_with_visibility, at gengtype.c:2249 This is a build again stock GCC 4.8.2.
Can you try: https://github.com/D-Programming-GDC/GDC/commits/gdc-4.8
Just making sure that you are on the correct branch when building. Regards Iain.
The gdc-4.8 branch works find. The're some issues with .sh files ending up non-executable, but that's an easy fix. Currently baking a c/c++/d CentOS package. You might want to merge the gdc-4.8 branch into master, or remove the 4.8 support from master to prevent confusion.
There's no 4.8 support in master. Patches can be removed.
(In reply to comment #4) > There's no 4.8 support in master. Patches can be removed. Hi Iain, I met the same question, can you tell me how to solve the bug in detail? I'm a freshman in Linux. Thanks
CenOS 6.5 and gcc-4.8.2 are installed in my computer. It occured after I run GDC-master and built gdc.
Just build it using the gdc-4.8 branch.
(In reply to comment #7) > Just build it using the gdc-4.8 branch. where is the gdc-4.8 branch? Excuse me for my ignorance.
(In reply to comment #8) > (In reply to comment #7) > > Just build it using the gdc-4.8 branch. > > where is the gdc-4.8 branch? Excuse me for my ignorance. In the gdc source directory: git checkout gdc-4.8
(In reply to comment #9) > (In reply to comment #8) > (In reply to comment #7) > > Just build it using > the gdc-4.8 branch. > > where is the gdc-4.8 branch? Excuse me for my > ignorance. In the gdc source directory: git checkout gdc-4.8 Hi Iain, I built it with the gdc-4.8 branch and make it. However it comes like this, [root@mouse objdir]# make install make[1]: Entering directory `/home/zyy/gdc/gdc/objdir' /bin/sh ../gcc-4.8.2/mkinstalldirs /usr/local/gdc /usr/local/gdc make[2]: Entering directory `/home/zyy/gdc/gdc/objdir/fixincludes' make[2]: *** No rule to make target `install'. Stop. make[2]: Leaving directory `/home/zyy/gdc/gdc/objdir/fixincludes' make[1]: *** [install-fixincludes] Error 2 make[1]: Leaving directory `/home/zyy/gdc/gdc/objdir' make: *** [install] Error 2 Could you tell me what's wrong with it, Please?
(In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > (In reply to comment #7) > > > Just build it using > > the gdc-4.8 branch. > > > > where is the gdc-4.8 branch? Excuse me for my > > ignorance. > > In the gdc source directory: > > > git checkout gdc-4.8 > > Hi Iain, > > I built it with the gdc-4.8 branch and make it. However it comes like this, > > [root@mouse objdir]# make install > make[1]: Entering directory `/home/zyy/gdc/gdc/objdir' > /bin/sh ../gcc-4.8.2/mkinstalldirs /usr/local/gdc /usr/local/gdc > make[2]: Entering directory `/home/zyy/gdc/gdc/objdir/fixincludes' > make[2]: *** No rule to make target `install'. Stop. > make[2]: Leaving directory `/home/zyy/gdc/gdc/objdir/fixincludes' > make[1]: *** [install-fixincludes] Error 2 > make[1]: Leaving directory `/home/zyy/gdc/gdc/objdir' > make: *** [install] Error 2 > > Could you tell me what's wrong with it, Please? What version of make? What is the output of: grep install /home/zyy/gdc/gdc/objdir/fixincludes/Makefile And are you sure the configure and make steps completed successfully? Did you clean the build directory and re-run configure after you switched to the 4.8 branch?