-
Notifications
You must be signed in to change notification settings - Fork 276
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
Support buildin setjmp/longjmp for ARM #1
Comments
RaspberryPi2, |
SRS2.0 don't check the glibc version in ossrs/srs@e775eb3, but user must use the patched ST, should not use the ST of SRS in ARM. To build ST of SRS, read usage of ST. |
xzh3836598 send a PR to support buildin setjmp/longjmp for ARM, it's another solution. #3 |
* add ARMv7 support * add ARM buildin setjmp/longjmp support
PI2 is ok. |
To use glibc to hack the guard jmpbuf from michaeltalyansky, please define the macro To use asm setjmp/longjmp from xzh3836598, please define the macro For SRS3,you can pass the macro by configure: For some server which may do not define the macro |
为什么不支持mips呢? |
MIPS貌似是可以支持的,ST本身那个就没有问题。 |
谢谢你的回复,我在wrtnode(国内 openwrt+mt7620 开源硬件)尝试过, srs-csdn/trunk/src/core/srs_core.hpp 里有个: #error "only support i386/amd64/x86_64/arm cpu",编译失败,提示并不支持mips,为什么会有这个编译错误提示呢? |
不确定其他的是不是支持,就检查了。你可以自己去掉。 |
User can use SRS3, or patch ST of SRS1/2 by:
|
正在支持,哈哈哈,#21 |
The ARM use glibc setjmp/longjmp, which is not available for high version ARM, for example, RespberryPi2. We must use the buildin setjmp/longjmp like the ia64/x86-64/amd64/i386, use asm to implements setjmp/longjmp.
The text was updated successfully, but these errors were encountered: