[dmd-internals] More build (link) errors [was: assert inside unittest still sucks]
Leandro Lucarella
luca at llucax.com.ar
Sun Jul 25 15:03:11 PDT 2010
Leandro Lucarella, el 23 de julio a las 22:25 me escribiste:
>
>
> Walter Bright, el 23 de julio a las 13:21 me escribiste:
> >
> >
> > Andrei Alexandrescu wrote:
> > >
> > >I tried to check out and build the latest compiler, there are
> > >compile-time errors.
> > >
> >
> > Hmm, what are they?
>
> For D1 branch:
>
> g++ -m32 -c -Wno-deprecated -Wstrict-aliasing -D__near= -D__pascal= -fno-exceptions -O2 -Ibackend -Itk -D__I86__=1 -DMARS=1 -DTARGET_LINUX=1 -D_DH backend/el.c
> backend/el.c: In function ‘elem* el_picvar(symbol*)’:
> backend/el.c:1376: error: ‘elfobj_refGOTsym’ was not declared in this scope
> backend/el.c: In function ‘elem* el_var(symbol*)’:
> backend/el.c:1592: error: ‘elfobj_refGOTsym’ was not declared in this scope
I don't know if this is a know issue, but just in case...
With svn r587, D1 branch:
gcc -m32 -lstdc++ -lpthread access.o array.o attrib.o bcomplex.o bit.o blockopt.o cast.o code.o cg.o cg87.o cgcod.o cgcs.o cgelem.o cgen.o cgreg.o cgsched.o class.o cod1.o cod2.o cod3.o cod4.o cod5.o constfold.o irstate.o dchar.o cond.o debug.o declaration.o dsymbol.o dt.o dump.o e2ir.o ee.o eh.o el.o dwarf.o enum.o evalu8.o expression.o func.o gdag.o gflow.o glocal.o gloop.o glue.o gnuc.o go.o gother.o html.o iasm.o id.o identifier.o impcnvtab.o import.o inifile.o init.o inline.o lexer.o link.o lstring.o mangle.o mars.o rmem.o module.o msc.o mtype.o nteh.o cppmangle.o opover.o optimize.o os.o out.o outbuf.o parse.o ph.o ptrntab.o root.o rtlsym.o s2ir.o scope.o statement.o stringtable.o struct.o csymbol.o template.o tk.o tocsym.o todt.o type.o typinf.o util.o var.o version.o strtold.o utf.o staticassert.o unialpha.o toobj.o toctype.o toelfdebug.o entity.o doc.o macro.o hdrgen.o delegatize.o aa.o ti_achar.o toir.o interpret.o traits.o builtin.o clone.o aliasthis.o man.o arrayop.o port.o response.o async.o json.o speller.o aav.o unittests.o imphint.o libelf.o elfobj.o -o dmd
expression.o:(.bss+0x0): multiple definition of `precedence'
attrib.o:(.bss+0x0): first defined here
module.o:(.bss+0x0): multiple definition of `precedence'
attrib.o:(.bss+0x0): first defined here
parse.o:(.bss+0x0): multiple definition of `precedence'
attrib.o:(.bss+0x0): first defined here
statement.o:(.bss+0x0): multiple definition of `precedence'
attrib.o:(.bss+0x0): first defined here
traits.o:(.bss+0x0): multiple definition of `precedence'
attrib.o:(.bss+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [dmd] Error 1
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
HOMBRE DESNUDO AMENAZA A LOS VECINOS CON UNA "KATANA" DESDE SU BALCON
-- Crónica TV
More information about the dmd-internals
mailing list