Giter Club home page Giter Club logo

android-jsc's People

Contributors

astreet avatar brentvatne avatar ide avatar kmagiera avatar lexs avatar mkonicek avatar sdwilsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-jsc's Issues

jsc:r174650 has "duplicate entry: javax/annotation/Nullable.class" when react android 0.15.0

org.webkit.android-jsc.version=r174650

a problem attach to me when i use react native android 0.15.0:

duplicate entry: javax/annotation/Nullable.class

in abjectively case , another maven GAV also has Nullable which the package is also javax.annotation.
even i can exclude an dependence a GAV ,bug i can't exclude all the files in an exist package,opps!

seem to johncarl81/parceler#13

can @kmagiera @mkonicek help me and tell me how to sovle it.

http:// link to Webkit doesn't work anymore

builds-nightly.webkit.org returns 'permanently moved' response. With response save with WebKit-r174650.tar.bz2 name, so it's failed to extract.

Replacing http to https fixes the issue.

Why not support armeabi?

why not support armeabi? React Native used this, but not support armeabi, i guess depend on this.

How to support armeabi?

when I build jsc, got a compile Error in icu/common/brkiter.cpp

[-] PROCESSING BUCK FILES...FINISHED 0.5s [100%]
[+] DOWNLOADING... (0.00 B/S, TOTAL: 0.00 B, 0 Artifacts)
[+] BUILDING...3.2s [27%](265/1921 JOBS, 53 UPDATED, 2.8% CACHE MISS)
|=> //icu:common#android-armv7,shared... 2.1s (running c++ link[2.1s])
|=> //jsc:llint_desired_offsets... 2.7s (running genrule[2.7s])
|=> //jsc:wtf#android-x86,compile-pic-WTF_wtf_StringPrintStream.cpp.o... 0.3s (running c++ piped_preprocess_and_compile[0.3s])
|=> //jsc:wtf#android-x86,compile-pic-WTF_wtf_FilePrintStream.cpp.o... 0.9s (running c++ piped_preprocess_and_compile[0.9s])
|=> //jsc:wtf#android-x86,compile-pic-WTF_wtf_FunctionDispatcher.cpp.o... 0.4s (running c++ piped_preprocess_and_compile[0.4s])
|=> //jsc:wtfassertions#android-x86,compile-pic-WTF_wtf_Assertions.cpp.o... 1.1s (running c++ piped_preprocess_and_compile[1.1s])
|=> //jsc:wtf#android-x86,compile-pic-WTF_wtf_GregorianDateTime.cpp.o... 0.3s (running c++ piped_preprocess_and_compile[0.3s])
|=> //jsc:wtf#android-x86,compile-pic-WTF_wtf_dtoa_bignum.cc.o... 0.3s (running c++ piped_preprocess_and_compile[0.3s])
|=> //jsc:wtf#android-x86,compile-pic-WTF_wtf_StackStats.cpp.o... 0.3s (running c++ piped_preprocess_and_compile[0.3s])
|=> //icu:common#android-x86,compile-pic-common_unistr.cpp.o... 1.3s (running c++ piped_preprocess_and_compile[1.3s])
icu/common/brkiter.cpp:426: error: undefined reference to 'icu_56::FilteredBreakIteratorBuilder::createInstance(icu_56::Locale const&, UErrorCode&)'
icu/common/uresbund.cpp:1906: error: undefined reference to 'ures_getAllArrayItems'
icu/common/uresbund.cpp:1908: error: undefined reference to 'ures_getAllTableItems'
icu/common/uresbund.cpp:1984: error: undefined reference to 'icu_56::ResourceDataValue::~ResourceDataValue()'
icu/common/uresbund.cpp:1985: error: undefined reference to 'vtable for icu_56::ResourceDataValue'
/Users/mxw/Programe/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
collect2: error: ld returned 1 exit status

jsc:r174650 has "duplicate entry: javax/annotation/Nullable.class" when react android 0.15.0

org.webkit.android-jsc.version=r174650

a problem attach to me when i use react native android 0.15.0:

duplicate entry: javax/annotation/Nullable.class

in abjectively case , another maven GAV also has Nullable which the package is also javax.annotation.
even i can exclude an dependence a GAV ,bug i can't exclude all the files in an exist package,opps!

seem to johncarl81/parceler#13

can @kmagiera @mkonicek help me and tell me how to sovle it.

https://github.com/yipengmu/react-native-android-lession/blob/master/pics/jsc-bug.png
jsc-annotation-bug

"Unrecognized archive format" error when running fetch_sources.sh

I cloned the repo and ran ./fetch_sources.sh and got the following error when extracting JSC:

➜  android-jsc git:(master) ./fetch_sources.sh
Downloading ICU
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 30.0M    0 30.0M    0     0  1545k      0 --:--:--  0:00:19 --:--:-- 1360k
Extracting ICU
Downloading JSC
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11480    0 11480    0     0  12594      0 --:--:-- --:--:-- --:--:-- 12587
Extracting JSC
tar: Unrecognized archive format
tar: WebKit-r174650/Source/WTF: Not found in archive
tar: WebKit-r174650/Source/JavaScriptCore: Not found in archive
tar: Error exit delayed from previous errors.

According to this page, WebKit nightlies are no longer supported, so seems this script needs to be updated. They have a build archive here but it doesn't seem to have source code, just compiled code.

Build Failed: Couldn't get dependency '//jsc:jscoffsetextractor#android-x86,static'

I'm probably doing something weird, but when I run buck build :android-jsc I get the following errors

BUILD FAILED: Couldn't get dependency '//jsc:jscoffsetextractor#android-x86,static' of target '//jsc:LLIntAssembly.android-x86.h':
Unrecognized flavor in target //jsc:jscoffsetextractor#android-x86,static while parsing //jsc/BUCK.

Any ideas? Thanks :)

license problem

React Native The current license is MIT, but it depends on android-jsc indeed BSD+PATENTS, no one cares about this?

I need a usage example.

Can someone link me an example project in use since I am using Adrnoid Studio and when link my .so by cmake this shows the following message "Application stopped work"

libjsc.so + 0x612a64

Recently encountered the jsc issue, which big guy can help solve it, thanks!

armARMv1 vendor(0x49) part(0x4900d450) features: half,thumb,fastmult,vfpv2,edsp,neon,vfpv3,tls,vfpv4,idiva,idivt8 CPUs

Thread 0 (crashed)
 0  libjsc.so + 0x612a64
     r0 = 0x974b49f4    r1 = 0xffbef340    r2 = 0xffbef3c0    r3 = 0x000000ef
     r4 = 0xffbef3c0    r5 = 0x00000008    r6 = 0x00000000    r7 = 0x0000015a
     r8 = 0xd8811b0c    r9 = 0xd8811ac0   r10 = 0x00000000   r12 = 0xffbef6c0
     fp = 0x000000ef    sp = 0xffbef328    lr = 0xefe19a90    pc = 0x96bb1a64
    Found by: given as instruction pointer in context
 1  libc.so + 0x4ea8e
     sp = 0xffbef340    pc = 0xefe19a90
    Found by: stack scanning
 2  boot-framework.oat + 0x8ef1e5
     sp = 0xffbef360    pc = 0x71f4c1e7
    Found by: stack scanning
 3  boot-framework.art + 0x61ccc2
     sp = 0xffbef364    pc = 0x70b7fcc4
    Found by: stack scanning
 4  libart.so + 0xe1bc5
     sp = 0xffbef390    pc = 0xec4e4bc7
    Found by: stack scanning
 5  NotoColorEmoji.ttf + 0x2e5798
     sp = 0xffbef39c    pc = 0xd697179a
    Found by: stack scanning
 6  libc.so + 0x5dc7b
     sp = 0xffbef41c    pc = 0xefe28c7d
    Found by: stack scanning
 7  libc.so + 0x8bd82
     sp = 0xffbef420    pc = 0xefe56d84
    Found by: stack scanning
 8  libart.so + 0x302b3f
     sp = 0xffbef440    pc = 0xec705b41
    Found by: stack scanning
 9  boot-framework.art + 0x61ccc2
     sp = 0xffbef444    pc = 0x70b7fcc4
    Found by: stack scanning
10  libart.so + 0x302b3f
     sp = 0xffbef470    pc = 0xec705b41
    Found by: stack scanning
11  base.art] + 0x35325a
     sp = 0xffbef478    pc = 0xbd08f25c
    Found by: stack scanning
12  boot-framework.art + 0x61ccc2
     sp = 0xffbef498    pc = 0x70b7fcc4
    Found by: stack scanning

libjsc.so:7F6AC0C3D3BBAD5DFC106499E4ACD5340

fetch_sources.sh fails on extract of WebKit tar

Tried this on my macOS machine, which failed.

Turns out it was this line:

Baggerss-MBP:android-jsc Baggers$ tar -jxf WebKit-r174650.tar.bz2 -C jsc --strip 2 WebKit-r174650/Source/JavaScriptCore WebKit-r174650/Source/WTF
tar: Unrecognized archive format
tar: WebKit-r174650/Source/WTF: Not found in archive
tar: WebKit-r174650/Source/JavaScriptCore: Not found in archive
tar: Error exit delayed from previous errors.

Also tried on a fresh ubuntu install in a vm. Fails on same line

baggers@bbuntu:~/Code/android-jsc$ tar -jxf WebKit-r174650.tar.bz2 -C jsc --strip 2 WebKit-r174650/Source/JavaScriptCore WebKit-r174650/Source/WTF
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Any advice would be very welcome

No CI. Does not build on latest NDK/BUCK

buck build :android-jsc
[+] PARSING BUCK FILES...1.1s [100%]
[-] PROCESSING BUCK FILES...FINISHED 1.2s [100%]
[-] DOWNLOADING... (0.00 B/S AVG, TOTAL: 0.00 B, 0 Artifacts)
[-] BUILDING...FINISHED 0.0s
BUILD FAILED: The following flavor(s) are not supported on target //jsc:jscoffsetextractor#android-armv7,static:
android-armv7, static.

- Please check the spelling of the flavor(s).
- If the spelling is correct, please check that the related SDK has been installed.
- android-armv7: Please make sure you have the Android SDK/NDK installed and set up. See https://buckbuild.com/setup/install.html#locate-android-sdk

This error happened while trying to get dependency '//jsc:jscoffsetextractor#android-armv7,static' of target '//jsc:LLIntAssembly.android-armv7.h'

I've updated .buckconfig to use ndk_version = r15c NDK is installed and environment variables are setup.

export ANDROID_HOME="$HOME/Library/Android/sdk"
export ANDROID_NDK_REPOSITORY="$HOME/code/android_ndk/android-ndk-r15c"
export ANDROID_SDK="$ANDROID_HOME"

It'd be nice to at least have Travis CI enabled to verify the code builds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.