Skip to content
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

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

Open
DomSchmHopp opened this issue Feb 28, 2024 · 3 comments
Assignees

Comments

@DomSchmHopp
Copy link

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

  • OS: Linux, Raspberry Pi, Bookworm Image
  • Running in docker -> No
  • PyRFC version -> 3.3.1

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 bsrdjan self-assigned this Feb 28, 2024
@bsrdjan
Copy link
Member

bsrdjan commented Feb 28, 2024

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
Copy link
Author

DomSchmHopp commented Feb 28, 2024

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
Copy link
Member

bsrdjan commented Feb 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants