Error during compilation of the JSShell

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error during compilation of the JSShell

Clauber Stipkovic Halic
Hey Everybody,

First, sorry to bother you.

I'm trying to build the JSShell cloning from
https://github.com/mozilla/gecko-dev, but when "make", show this error!

















*ld: warning: object file
(/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(state.o))
was built for newer OSX version (10.13) than being linked (10.9)ld:
warning: object file
(/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(fileline.o))
was built for newer OSX version (10.13) than being linked (10.9)ld:
warning: object file
(/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(alloc.o))
was built for newer OSX version (10.13) than being linked (10.9)ld:
warning: object file
(/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(macho.o))
was built for newer OSX version (10.13) than being linked (10.9)ld:
warning: object file
(/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(posix.o))
was built for newer OSX version (10.13) than being linked (10.9)ld:
warning: object file
(/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(dwarf.o))
was built for newer OSX version (10.13) than being linked (10.9)ld:
warning: object file
(/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(read.o))
was built for newer OSX version (10.13) than being linked (10.9)ld:
warning: object file
(/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(sort.o))
was built for newer OSX version (10.13) than being linked (10.9)Undefined
symbols for architecture x86_64:  "_icudt63_dat", referenced from:
openCommonData(char const*, int, UErrorCode*) in udata.old: symbol(s) not
found for architecture x86_64clang-7: error: linker command failed with
exit code 1 (use -v to see invocation)make[3]: *** [libmozjs-67a1.dylib]
Error 1make[2]: *** [js/src/build/target] Error 2make[1]: *** [compile]
Error 2make: *** [default] Error 2*

I'm using Mac OS 10.13.6, clang/llvm 7.0.1.
Can someone help me to understand this problem, please?

Thank you very much.

- Clauber Stipkovic
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine
Reply | Threaded
Open this post in threaded view
|

Re: Error during compilation of the JSShell

Benjamin Bouvier-2
Hi!

1. Did you make sure to first run the top-level `mach bootstrap` script so
it can download dependencies and set up the build environment for you?
2. On the most recent MacOS versions, there are some manual extra steps
that need to be performed, as explained in this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1487552
3. Then I'd try the most common culprits: remove the build directory
entirely, re-run the configure line, purge ccache cache directory if you
use it, etc.

(Since the issue seems to involve "ICU", one workaround could be to disable
it at configure time with --without-intl-api, but the built shell won't
have access to the `Intl` global property)

If you run into other build issues, the best place to get quick feedback is
the IRC channel #jsapi on irc.mozilla.org. Alternatively, you can open a
new issue on Bugzilla in the "Build system" component, but it might take
more time to get handled:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox%20Build%20System&component=General

Cheers,
Benjamin

On Sat, Mar 16, 2019 at 4:03 AM Clauber Stipkovic Halic <
[hidden email]> wrote:

> Hey Everybody,
>
> First, sorry to bother you.
>
> I'm trying to build the JSShell cloning from
> https://github.com/mozilla/gecko-dev, but when "make", show this error!
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *ld: warning: object file
>
> (/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(state.o))
> was built for newer OSX version (10.13) than being linked (10.9)ld:
> warning: object file
>
> (/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(fileline.o))
> was built for newer OSX version (10.13) than being linked (10.9)ld:
> warning: object file
>
> (/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(alloc.o))
> was built for newer OSX version (10.13) than being linked (10.9)ld:
> warning: object file
>
> (/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(macho.o))
> was built for newer OSX version (10.13) than being linked (10.9)ld:
> warning: object file
>
> (/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(posix.o))
> was built for newer OSX version (10.13) than being linked (10.9)ld:
> warning: object file
>
> (/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(dwarf.o))
> was built for newer OSX version (10.13) than being linked (10.9)ld:
> warning: object file
>
> (/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(read.o))
> was built for newer OSX version (10.13) than being linked (10.9)ld:
> warning: object file
>
> (/Users/cstipkovic/Documents/Project/bitbucket/gecko-dev/js/src/build_DBG.OBJ/x86_64-apple-darwin/debug/libjsrust.a(sort.o))
> was built for newer OSX version (10.13) than being linked (10.9)Undefined
> symbols for architecture x86_64:  "_icudt63_dat", referenced from:
> openCommonData(char const*, int, UErrorCode*) in udata.old: symbol(s) not
> found for architecture x86_64clang-7: error: linker command failed with
> exit code 1 (use -v to see invocation)make[3]: *** [libmozjs-67a1.dylib]
> Error 1make[2]: *** [js/src/build/target] Error 2make[1]: *** [compile]
> Error 2make: *** [default] Error 2*
>
> I'm using Mac OS 10.13.6, clang/llvm 7.0.1.
> Can someone help me to understand this problem, please?
>
> Thank you very much.
>
> - Clauber Stipkovic
> _______________________________________________
> dev-tech-js-engine mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine
>
_______________________________________________
dev-tech-js-engine mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-js-engine