On Wed, Dec 18, 2013 at 11:02 AM, Benjamin Smedberg
<benja...@smedbergs.us>wrote:

> I've been trying to do a B2G emulator build on mac to debug a tinderbox
> error and been having a dickens of a time. The last error that doesn't seem
> to be documented anywhere is:
>
> host Executable: triangleV2 (out/host/darwin-x86/obj/
> EXECUTABLES/triangleV2_intermediates/triangleV2)
> duplicate symbol __dyld_func_lookup in:
>     /usr/lib/crt1.10.5.o
>     /usr/lib/dylib1.o
> duplicate symbol dyld_stub_binding_helper in:
>     /usr/lib/crt1.10.5.o
>     /usr/lib/dylib1.o
> ld: 2 duplicate symbols for architecture i386
> collect2: ld returned 1 exit status
> make: *** 
> [out/host/darwin-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleCM]
> Error 1
> make: *** Waiting for unfinished jobs....
> duplicate symbol __dyld_func_lookup in:
>     /usr/lib/crt1.10.5.o
>     /usr/lib/dylib1.o
> duplicate symbol dyld_stub_binding_helper in:
>     /usr/lib/crt1.10.5.o
>     /usr/lib/dylib1.o
> ld: 2 duplicate symbols for architecture i386
> collect2: ld returned 1 exit status
> make: *** 
> [out/host/darwin-x86/obj/EXECUTABLES/triangleV2_intermediates/triangleV2]
> Error 1
>
> Does anyone recognize this error or how I would go about debugging the
> build? I'm not sure from the output here which makefile was being executed,
> and they all seem to hide the compile and link commands so there's not a
> clear record in the first place.
>
> --BDS
>

Here's a recent thread that suggested a fix for this, but I have not yet
tried it myself:

https://groups.google.com/forum/#!topic/mozilla.dev.b2g/qaupSswnuYg

There's more discussion of the same issue in bug 949091.

- Ryan
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to