Giter Club home page Giter Club logo

Comments (5)

arichardson avatar arichardson commented on August 22, 2024

It seems like the default github branch in QtBase is stale. It should be 5.10.0 and not 5.10-cheri:
https://github.com/CTSRD-CHERI/qtbase/tree/5.10.0

Could you let me know if the 5.10.0 branch works for you?

from cheribuild.

minight avatar minight commented on August 22, 2024

5.10.0 does compile, however when attempting to run ./jsc i'm receiving the following assertion

root@qemu-cheri128-sean:/mnt/build/qtwebkit-128-build # ./bin/jsc -g --options
All JSC runtime options:
   useJIT=false (default: true)
   useDFGJIT=false (default: true)
   useRegExpJIT=false (default: true)
   useFTLJIT=false (default: true)
   useConcurrentJIT=false (default: true)
   reoptimizationRetryCounterMax=21 (default: 0)
root@qemu-cheri128-sean:/mnt/build/qtwebkit-128-build # ./bin/jsc
Assertion failed: (tsd->state == tsd_state_reincarnated), function __je_tsd_fetch_slow, file jemalloc_tsd.c, line 153.
Abort

Im not sure if this is related, however to ensure jsc was able to find the correct dynamic libraries, I copied
<cheri>/sdk/sysroot128/usr/local/libcheri/* to /usr/libcheri/

qt5/qtwebkit is on commit: e78ae7ab924d27e866e5ba6649ec093cd8f03ee2
qt5/qtbase is on commit: 4546d068eaef9ac842165e6a092bd7180dd808c0
cheribsd is on commit: 4461e0418fc7708dd48feeb02464de221b226c8b

from cheribuild.

arichardson avatar arichardson commented on August 22, 2024

I don't think there have been any relevant fixes to CheriBSD since the commit that you have built. I feel like we have hit that assertion in the past. I think @kgudka might have a workaround.

I think we are currently testing WebKit statically linked so it is possible that dynamic is not working.
You could try to rebuild qtbase and WebKit with --qtwebkit/linkage static and --qtbase/linkage static

from cheribuild.

khilangudka avatar khilangudka commented on August 22, 2024

Yes we've only been testing webkit statically. I currently build libxml2, sqlite, icu4c, qtbase and qtwebkit all statically.

from cheribuild.

minight avatar minight commented on August 22, 2024

Yep that seems to have worked. Thanks!

from cheribuild.

Related Issues (20)

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.