Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QNX Port #453

Closed
ghost opened this issue Mar 13, 2018 · 5 comments
Closed

QNX Port #453

ghost opened this issue Mar 13, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 13, 2018

Is anyone aware of a QNX 6.x or 700 port, or any work being done on it?

I started looking at a basic 700 port. It doesn't look too bad.

Thanks,
Joel

@ghost
Copy link
Author

ghost commented Mar 20, 2018

Worked through building all the dependent libs (many), and am into WPEWebKit WTF.

Source/WTF/wtf/StackBounds.cpp:101:38: error: 'pthread_getattr_np' was not declared in this scope
     pthread_getattr_np(thread, &sattr);
                                      ^

Non-portable (np) pthread calls are not available with QNX pthread. So for QNX this routine needs a portable solution. We may need to pass the attribute to the thread function.

The code comment states:

// FIXME: this function is non-portable; other POSIX systems may have different np alternatives

@charlie-ht
Copy link

There did used to be some QNX support. You might find some inspiration in this old ticket: https://bugs.webkit.org/show_bug.cgi?id=27885 or possible in an old version of StackBounds when QNX was supported (note the API changes though!) https://github.com/adobe/webkit/blob/master/Source/WTF/wtf/StackBounds.cpphttps://github.com/adobe/webkit/blob/master/Source/WTF/wtf/StackBounds.cpp

However, this would be better discussed upstream if you're working towards a new QNX port.

@ghost
Copy link
Author

ghost commented Mar 22, 2018

It would seem QNX support was pulled at some point, as it's here:
https://opensource.apple.com/source/WTFEmbedded/WTFEmbedded-95.26/wtf/StackBounds.cpp.auto.html

I wonder what the story is behind removing it. QT moving to Chrome?

I'm about 11 file changes into this port, and the build is only at 3%...

The attraction for me on WPEWebKit, is the ability to minimize the runtime footprint.

@clopez
Copy link

clopez commented Apr 23, 2018

QNX port got removed from upstream years ago. See http://trac.webkit.org/r161601

@modeveci
Copy link

Inactive ticket for long time!

Closing the ticket; if you think it is still relevant and/or valid for the latest version/s. Please do not hesitate to re-open!

@modeveci modeveci closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants