[dmd-internals] More build (link) errors [was: assert inside unittest still sucks]
Walter Bright
walter at digitalmars.com
Mon Jul 26 17:08:55 PDT 2010
Leandro Lucarella wrote:
>
> 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
>
>
Sorry about that. A fix was checked in.
More information about the dmd-internals
mailing list