Bug 16596 – REGRESSION:`digger build` fails:Undefined symbols for architecture x86_64 symboldata

Status
RESOLVED
Resolution
DUPLICATE
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2016-10-05T01:57:00Z
Last change time
2016-10-05T18:13:55Z
Assigned to
nobody
Creator
timothee.cour2

Comments

Comment #0 by timothee.cour2 — 2016-10-05T01:57:07Z
``` 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 ---------------- ```
Comment #1 by dlang-bugzilla — 2016-10-05T02:00:47Z
Perhaps try a digger build bisection (bisectBuild=true).
Comment #2 by timothee.cour2 — 2016-10-05T16:45:24Z
digger: bff7b4fe36e34b8db6aed33b91536ac0efed75f6 is the first bad commit commit bff7b4fe36e34b8db6aed33b91536ac0efed75f6 Author: Andrei Alexandrescu <[email protected]> Date: Wed Sep 21 14:01:59 2016 -0400 dmd: Merge pull request #6145 from WalterBright/add-dmsc.d https://github.com/D-Programming-Language/dmd/pull/6145 convert msc.c to dmsc.d diff --git a/dmd b/dmd index cce7909..93596df 160000 --- a/dmd +++ b/dmd @@ -1 +1 @@ -Subproject commit cce79099fd365ee0a2aaf0e3ec4141303ea28e46 +Subproject commit 93596df0c5cf2fc272ea0841f2f263e53cb1e47e digger: Bisection completed successfully.
Comment #3 by code — 2016-10-05T18:13:55Z
*** This issue has been marked as a duplicate of issue 16536 ***