-
Notifications
You must be signed in to change notification settings - Fork 254
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
Cross-compilation on arm and mips devices #7
Comments
does it work when you add -fsigned-char to your CFLAGS ? |
Unfortunately no. |
well from a C language PoV the only difference between x86 and ARM is that ARM defaults to char == unsigned char. |
I have tested another socks server on the same device and it loads the sites ok. |
you could try this: #6 - increasing the stacksize maybe for some reason the ARM implementation of GLIBC or whatever LIBC you use (which one is it?) wastes more RAM, and since google has a ton of DNS elements in its response it's sufficient to overwrite things and cause weird hickups. |
Until now I was using release 0.1.0.
and I get no other output/error on the arm machine where microsocks is running. |
After more testing I find out that resolving hostnames through the socks server option causes problems. |
yes, uclibc could be the culprit. i'd strongly suggest to use musl instead to build tiny static-linked binaries (build your own toolchain from the scripts in https://github.com/richfelker/musl-cross-make) |
Hi, I finally built microsocks using musl. |
hi, if you want a smaller binary you can try use the following flags in config.mak:
as for making it work with your uclibc toolchain: did you try latest git ? some bugs have been fixed since you opened your issue. |
Hi @cyadron could you explain to me the steps to cross-compile the project to mipsle32? |
Hello,
I have successfully cross-compiled microsocks on mips and also on arm devices.
On mips devices it works good so far.
But I have a strange issue when I tested on arm devices.
Some sites fail to load (like google.com, yahoo.com) with an error message (reported by proxifier) - Address type not supported.
But some sites load fine (except for elements from google.com domain) - like github.com
What could be the issue because this does not happen on mips devices?
The text was updated successfully, but these errors were encountered: