You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Freebsd 9.1 libs, libthr now needs extra APIs to work.
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '___sys_setcontext'
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '___sys_swapcontext'
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '___sys_sigreturn'
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '_getcontext'
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '_check_suspend'
These APIs seem newly involved in thread lib in Freebsd 9.1 and yet to be implemented (mock?) in crossbridge.
Anyone who would like to give a try is appreciated!
Steps:
1 get the newest code base
2 make all (dmalloc and libsdl now will fail)
3 build the hello world sample with option -pthread
[opt] for a better investigation, download Freebsd 9.1
4 svn co http://svn.freebsd.org/base/release/9.1.0/ freebsd-9.1
The text was updated successfully, but these errors were encountered:
Should be the same issue. Because pthread in freebsd 9 depends on some new OS APIs (could be different names on different OSes), a simple workaround for linking is define those two functions in posix/libchack.cpp.
For a workable pthread, those may need to be written via AS.
After upgrading to Freebsd 9.1 libs, libthr now needs extra APIs to work.
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '___sys_setcontext'
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '___sys_swapcontext'
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '___sys_sigreturn'
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '_getcontext'
/Users/yeli/repos/cb-futures/sdk/usr/bin/../../usr/lib//stdlibs_abc/libthr.a: error: undefined reference to '_check_suspend'
These APIs seem newly involved in thread lib in Freebsd 9.1 and yet to be implemented (mock?) in crossbridge.
Anyone who would like to give a try is appreciated!
Steps:
1 get the newest code base
2 make all (dmalloc and libsdl now will fail)
3 build the hello world sample with option -pthread
[opt] for a better investigation, download Freebsd 9.1
4 svn co http://svn.freebsd.org/base/release/9.1.0/ freebsd-9.1
The text was updated successfully, but these errors were encountered: