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

LTP: Open posix testsuite fails with OpenWatcom #1277

Open
winspool opened this issue Apr 24, 2024 · 2 comments
Open

LTP: Open posix testsuite fails with OpenWatcom #1277

winspool opened this issue Apr 24, 2024 · 2 comments

Comments

@winspool
Copy link
Contributor

winspool commented Apr 24, 2024

I found a POSIX testsuite in the LTP project and tried it with OpenWatcom:
( https://github.com/linux-test-project/ltp/tree/master/testcases/open_posix_testsuite )

PASSED: 672
FAILED: 1163


Some of the failures are from the usage of non portable gcc extensions

Example: "__attribute__"
(I will look at this and contact the Linux Test Project)

Many failures are from unimplemented features in OpenWatcom.
Examples:
Error! E1011: Symbol '_SC_TIMER_MAX' has not been declared
Error! E1011: Symbol '_POSIX_TIMER_MAX' has not been declared
Error! E1055: Unable to open 'aio.h'
Error! E1055: Unable to open 'mqueue.h'


Example References:

aio.h:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/aio.h.html

mqueue.h:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/mqueue.h.html


Full list of failures, when owcc is used:

_log_owcc_errors_2024.04.23.txt.gz

Please help, when you can.

@winspool
Copy link
Contributor Author

The GCC extension "__attribute__"
creates 458 test failures with owcc.

My pull request for a workaround:
linux-test-project/ltp#1154

The 'LTP' project prefers an Email
(send with 'git send-email'),
but unfortunately, 'git send-email' fails here.
I'm looking at it.

@jmalak
Copy link
Member

jmalak commented Apr 25, 2024

It is big task to implement most of POSIX.
It depends on contributors to extend OW to be more POSIX compliant.
POSIX requires mainly implement appropriate functions in run-time library and add appropriate header files.
Now OW implement very "basic" part of POSIX functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants