https://issues.dlang.org/show_bug.cgi?id=16596

          Issue ID: 16596
           Summary: `digger build` fails:Undefined symbols for
                    architecture x86_64 symboldata
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: timothee.co...@gmail.com

```
digger: Updating repo...
Fetching origin
digger: Starting at meta repository commit
546a7b9406a70b987e58ca3b0ee08e2d2d682f32
digger: Building components dmd, druntime, phobos-includes, phobos, rdmd
digger: needInstalled:
dmd-6269887e27c9f3c097e76f7d49e0cafce91265b7-4cc462583eb41c5436f6a8f5a3ffe12e
digger: Clearing temporary cache
digger: Cache miss.
digger: needBuild:
dmd-6269887e27c9f3c097e76f7d49e0cafce91265b7-4cc462583eb41c5436f6a8f5a3ffe12e
digger: Initializing and updating submodule dmd...
Submodule 'dmd' (git://github.com/D-Programming-Language/dmd) registered for
path 'dmd'
Cloning into '/Users/timothee/.config/digger/repo/dmd'...
Submodule path 'dmd': checked out '6269887e27c9f3c097e76f7d49e0cafce91265b7'
digger: Cleaning repository dmd...
HEAD is now at 6269887 Merge pull request #6153 from WalterBright/genhelpers
digger: Building
dmd-6269887e27c9f3c097e76f7d49e0cafce91265b7-4cc462583eb41c5436f6a8f5a3ffe12e
digger: Preparing DMD v2.067.1

CC=c++ /Users/timothee/.config/digger/dl/dmd-2.067.1/dmd2/osx/bin/dmd -ofdmd
-m64 -vtls -J. -L-lstdc++ -version=MARS -wi access.d aggregate.d aliasthis.d
apply.d argtypes.d arrayop.d arraytypes.d attrib.d builtin.d canthrow.d clone.d
complex.d cond.d constfold.d cppmangle.d ctfeexpr.d dcast.d dclass.d
declaration.d delegatize.d denum.d dimport.d dinifile.d dinterpret.d dmacro.d
dmangle.d dmodule.d doc.d dscope.d dstruct.d dsymbol.d dtemplate.d dversion.d
entity.d errors.d escape.d expression.d func.d globals.d hdrgen.d id.d
identifier.d impcnvtab.d imphint.d init.d inline.d intrange.d json.d lexer.d
lib.d link.d mars.d mtype.d nogc.d nspace.d opover.d optimize.d parse.d
sapply.d sideeffect.d statement.d staticassert.d target.d tokens.d traits.d
utf.d visitor.d typinf.d utils.d statementsem.d safe.d objc.d libmach.d
scanmach.d irstate.d toelfdebug.d toctype.d glue.d gluelayer.d todt.d tocsym.d
toir.d dmsc.d backend/bcomplex.d backend/cc.d backend/cdef.d backend/cgcv.d
backend/code.d backend/dt.d backend/el.d backend/global.d backend/obj.d
backend/oper.d backend/outbuf.d backend/rtlsym.d backend/ty.d backend/type.d
tk/dlist.d root/aav.d root/array.d root/ctfloat.d root/file.d root/filename.d
root/man.d root/outbuffer.d root/port.d root/response.d root/rmem.d
root/rootobject.d root/speller.d root/stringtable.d newdelete.o glue.a
backend.a
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum
deployment target of OS X 10.9
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum
deployment target of OS X 10.9
Undefined symbols for architecture x86_64:
  "symboldata(unsigned long long, unsigned int)", referenced from:
      el_ptr(Symbol*) in backend.a(el.o)
      el_convstring(elem*) in backend.a(el.o)
      out_readonly_sym(unsigned int, void*, int) in backend.a(out.o)
      Obj::sym_cdata(unsigned int, char*, int) in backend.a(machobj.o)
  "_align(unsigned long long, unsigned long long)", referenced from:
      codgen() in backend.a(cgcod.o)
      stackoffsets(int) in backend.a(cgcod.o)
      outjmptab(block*) in backend.a(cod3.o)
      outswitab(block*) in backend.a(cod3.o)
      type_paramsize(TYPE*) in backend.a(type.o)
      alignOffset(int, unsigned long long) in backend.a(out.o)
      cdfunc(elem*, unsigned int*) in backend.a(cod1.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--- errorlevel 1
make: *** [dmd] Error 1
digger: Not caching dmd build failure due to temporary/environment error.
object.Exception@ae/sys/d/manager.d(756): Command ["make", "-f", "posix.mak",
"MODEL=64",
"HOST_DC=/Users/timothee/.config/digger/dl/dmd-2.067.1/dmd2/osx/bin/dmd"]
failed with status 2
----------------
```

--

Reply via email to