-
Notifications
You must be signed in to change notification settings - Fork 151
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
Raspbian GNU/Linux support (armv7l/armhf 32-bit) #49
Comments
We do not build packages for it but self building it on Raspian should work. Note that we will provide images for Ubuntu on ARM64, which also runs on Raspian |
Thanks for the quick response, I tried to build it in the Rpi (armv7l architecture) with the following 2 methods but both failed. When I build it in raspberry pi with the default Rasbian OS I receive the following error. In file included from src/configmgr/configmgr.hpp:36, When I build it in raspberry pi through an Ubuntu Armv7 Docker Image I receive the following error. In file included from src/configmgr/configmgr.hpp:36:0, ./src/dbus/object-property.hpp:115:48: error: call of overloaded 'GetDBusDataType()' is ambiguous Any thoughts ? |
Which compiler and which version of it do you use? |
@dsommers did we ever fix the compile on certain 32 bit architectures bug? |
@schwabe I believe we did, but from a quick glance this looks like a different issue, as it is triggered by a template in dbus/object-property.hpp this time. Last time it was related to different int size interpretations in glibutils.hpp |
With the v14_beta release, which is going out today, we do support arm64 platforms. The 32-bit platforms in general are currently not supported, and the armv7l architecture is a 32-bit platform. |
could you please provide instruction to compile on odroid xu4 (arm 32 bit)? |
@bibiefart It's not that easy. We need a proper solution for handling integer data types in src/dbus/glibutils.hpp on 32 bit systems, which currently conflicts with 64 bit systems. First functions to get fixed is |
why just not use
??? otherwise with these templates in glibutils.hpp gcc and clang are saying that GetDBusDataType(); and GetDBusDataType() are ambiguos... because it is obvious that GetDBusDataType<T/int or long/>() wont't be used as definition of this declaration template inline const char* GetDBusDataType(); because there should be template<> specialiation, but not another function. same with GetVariantValue() don't you think so? please share the contr-cases to take attention to. |
@M00N-MAN, thanks a lot for digging into this and testing it. Yes, it sounds plausible this can work - at least on 32-bit platforms. At the same time, the whole |
Any plans to move this forward or is 32 bit dead for OpenVPN3? |
To be honest, in general 32 bit OSes is not high up on the priority list at all. In Linux 64-bit has had a huge focus the last 15+ years, and even embedded devices are now commonly on 64 bit architectures as well. In addition, we are exploring an alternative D-Bus implementation to glib2 -which riddles us with various issues and challenges. The new alternative implementation will be a pure C++ implementation and not a C library wrapped into C++ classes. I suspect many of these issues might be better solved with the new implementation. However, we don't have any ETA for that yet. But it will get a lot more focus after the first stable version has been released (which is planned to be either v20 or v21, depending on issues found in the just released v19_beta). |
Closing this. The reasons for using a 32-bit RaspberryPi these days is fairly low. All RaspberryPi's since model 3 supports 64-bit OSes. This is not something we've had time to investigate further in many years, and the requests for 32-bit platforms is not something which has been required by many users at all. I'm closing this now. If someone in the community is willing to invest time to support 32-bit OSes, we can review patches. But we will not put efforts into 32-bit platforms on our end anytime soon. |
Is openvpn3 client supported in Raspbian GNU/Linux >?
The text was updated successfully, but these errors were encountered: