D.gnu - Cannot build GDC 0.18 alpha
- Andrew Madigan (14/14) Apr 14 2006 I'm using the source from http://www.puremagic.com/~braddr/d/gdc/
- Brad Roberts (26/33) Apr 14 2006 The same make logic is in 0.17, from d/Make-lang.in:
- Andrew Madigan (4/44) Apr 14 2006 Wow, don't I feel like an idiot, I just realized that the gcc I built th...
- Andrew Madigan (6/54) Apr 15 2006 Allright, tried building using the host compiler (exact same environment...
- Thomas Kuehne (11/16) Apr 16 2006 -----BEGIN PGP SIGNED MESSAGE-----
I'm using the source from http://www.puremagic.com/~braddr/d/gdc/ I get the following error from make: make[1]: Entering directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc' make[1]: *** No rule to make target `d/idgen.dmdgen.o', needed by `d/idgen'. Stop. make[1]: Leaving directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc' Evironment: Ubuntu Dapper Linux Kernel 2.6.15-20-686 First Line of output from gcc --version: gcc (GCC) 4.0.3 (gdc 0.17, using dmd 0.140) GNU Make As you can see this system was able to build gdc 0.17, is 0.18 not buildable?
Apr 14 2006
On Fri, 14 Apr 2006, Andrew Madigan wrote:I'm using the source from http://www.puremagic.com/~braddr/d/gdc/That wasn't meant for public consumption, but whatever.I get the following error from make: make[1]: Entering directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc' make[1]: *** No rule to make target `d/idgen.dmdgen.o', needed by `d/idgen'. Stop. make[1]: Leaving directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc'The same make logic is in 0.17, from d/Make-lang.in: d/impcvgen: d/impcnvgen.dmdgen.o $(CXX) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -o $ $^ #hmm $(CC) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -static -o $ $^ -lstdc++ d/idgen: d/idgen.dmdgen.o $(CXX) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -o $ $^ #argh "-static" wont' work on macosx...? what to do? #hmm $(CC) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -static -o $ $^ -lstdc++ d/impcnvtab.c: d/impcvgen cd d && ./impcvgen d/id.c: d/idgen cd d && ./idgen d/id.h: d/id.c ls d/id.h ========================= Not sure what you're doing to trigger it. It's not causing me any problems with 0.17 or 0.18. How are you configuring gcc and how are you building it? Later, Brad
Apr 14 2006
Brad Roberts wrote:On Fri, 14 Apr 2006, Andrew Madigan wrote:Wow, don't I feel like an idiot, I just realized that the gcc I built the last time for gdc doesn't have a C++ compiler, I'll try adding the g++ sources in and reply in a few minutes.I'm using the source from http://www.puremagic.com/~braddr/d/gdc/That wasn't meant for public consumption, but whatever.I get the following error from make: make[1]: Entering directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc' make[1]: *** No rule to make target `d/idgen.dmdgen.o', needed by `d/idgen'. Stop. make[1]: Leaving directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc'The same make logic is in 0.17, from d/Make-lang.in: d/impcvgen: d/impcnvgen.dmdgen.o $(CXX) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -o $ $^ #hmm $(CC) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -static -o $ $^ -lstdc++ d/idgen: d/idgen.dmdgen.o $(CXX) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -o $ $^ #argh "-static" wont' work on macosx...? what to do? #hmm $(CC) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -static -o $ $^ -lstdc++ d/impcnvtab.c: d/impcvgen cd d && ./impcvgen d/id.c: d/idgen cd d && ./idgen d/id.h: d/id.c ls d/id.h ========================= Not sure what you're doing to trigger it. It's not causing me any problems with 0.17 or 0.18. How are you configuring gcc and how are you building it? Later, Brad
Apr 14 2006
Andrew Madigan wrote:Brad Roberts wrote:Allright, tried building using the host compiler (exact same environment as used for the 0.17 compile). Now I get this error: ../../gcc/d/d-codegen.cc:2340: error: ‘STATIC_CHAIN_EXPR’ was not declared in this scope Plus lots of warnings. Any suggestions? (My host gcc is 4.0.3)On Fri, 14 Apr 2006, Andrew Madigan wrote:Wow, don't I feel like an idiot, I just realized that the gcc I built the last time for gdc doesn't have a C++ compiler, I'll try adding the g++ sources in and reply in a few minutes.I'm using the source from http://www.puremagic.com/~braddr/d/gdc/That wasn't meant for public consumption, but whatever.I get the following error from make: make[1]: Entering directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc' make[1]: *** No rule to make target `d/idgen.dmdgen.o', needed by `d/idgen'. Stop. make[1]: Leaving directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc'The same make logic is in 0.17, from d/Make-lang.in: d/impcvgen: d/impcnvgen.dmdgen.o $(CXX) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -o $ $^ #hmm $(CC) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -static -o $ $^ d/idgen: d/idgen.dmdgen.o $(CXX) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -o $ $^ #argh "-static" wont' work on macosx...? what to do? #hmm $(CC) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -static -o $ $^ d/impcnvtab.c: d/impcvgen cd d && ./impcvgen d/id.c: d/idgen cd d && ./idgen d/id.h: d/id.c ls d/id.h ========================= Not sure what you're doing to trigger it. It's not causing me any problems with 0.17 or 0.18. How are you configuring gcc and how are you building it? Later, Brad
Apr 15 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Madigan schrieb am 2006-04-15:Allright, tried building using the host compiler (exact same environment as used for the 0.17 compile). Now I get this error: ../../gcc/d/d-codegen.cc:2340: error: ?STATIC_CHAIN_EXPR? was not declared in this scope Plus lots of warnings. Any suggestions? (My host gcc is 4.0.3)GCC's 3.4 branch works without problems. 4.0 and 4.1 contain a lot of internal changes - even with their own branches. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFEQnfM3w+/yD4P9tIRAiA0AKCqYYJD1L9nl+PtnNRh8mZzjkHOAQCeNz7H yUE9613NavHpfI3z5Hr8Trc= =mEq7 -----END PGP SIGNATURE-----
Apr 16 2006