SAP / PyRFC

Asynchronous, non-blocking SAP NW RFC SDK bindings for Python
http://sap.github.io/PyRFC
Apache License 2.0
500 stars 132 forks source link

Failed to compile under Raspberry Pi Bookworm (unrecognized command-line option ‘-minline-all-stringops’) #362

Open DomSchmHopp opened 6 months ago

DomSchmHopp commented 6 months ago

Describe the bug Try to install pyrfc on a Raspberry Pi.

To Reproduce pip3 install --trusted-host www.piwheels.org --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pyrfc --timeout=600

Screenshots image

Environment

Additional context There seems to be a problem with a compiler setting: arm-linux-gnueabihf-gcc: error: unrecognized command-line option ‘-minline-all-stringops’

As far as I read, ARM should be supported?

bsrdjan commented 6 months ago

Platforms supported by PyRFC are those supported by SAP NW RFC SDK and it is only Mac OSX ARM64

https://me.sap.com/notes/2573790

SAP NW RFC SDK is not supported on Raspberry PI ARM. It should however work, with proper compiler/linker settings.

The business case and RFC SDK platform support request can be sent via SAP customer message, to BC-MID-RFC-SDK component, with link to this issue. Please also update the issue with customer message reference.

DomSchmHopp commented 6 months ago

It should however work, with proper compiler/linker settings.

Can you tell me how to tweak the compiler settings, please? The error don´t look like a real blocking point to me.

bsrdjan commented 6 months ago

I really don't have them any more but it would not help. The SAP NW RFC SDK binaries need to be built for RPI platform and it can be done by SAP development, sources are not public.

If I remember correctly, @gregorwolf also tried it once.