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

build problem 2.5.2 32 bit #601

Closed
cinaeds opened this issue Sep 11, 2022 · 15 comments · Fixed by #602
Closed

build problem 2.5.2 32 bit #601

cinaeds opened this issue Sep 11, 2022 · 15 comments · Fixed by #602
Assignees

Comments

@cinaeds
Copy link

cinaeds commented Sep 11, 2022

I can't bulid versiion 2.5.2 volk on a 32 bit armv7l cpu.

build.log
compile.log

@jdemel
Copy link
Contributor

jdemel commented Sep 12, 2022

How did you run CMake etc?
I've read multiple reports that it is problematic to rely on CMake to detect the correct 32bit ARM CPU. Did you use a specific toolchain file?

@balister balister self-assigned this Sep 21, 2022
@balister
Copy link
Contributor

I see an issue in my OE build which should have a good toolchain file. I'll investigate. Oddly enough, not sure it is the same one though .....

@cinaeds
Copy link
Author

cinaeds commented Sep 22, 2022 via email

@balister
Copy link
Contributor

Can you show the command line you use to build gnuradio? POking around, I think your issue is the the -mfpu=neon flag isn't making it into the build.

@cinaeds
Copy link
Author

cinaeds commented Sep 22, 2022 via email

@balister
Copy link
Contributor

So the issue is you need to set the flags used by the assembler to the ones you are using for CFLAGS. Can you try setting ASFLAGS to the same as CFLAGS?

@cinaeds
Copy link
Author

cinaeds commented Sep 24, 2022 via email

@balister
Copy link
Contributor

I have a fix for that one in progress. Can you confirm what version of gcc you are using? I am guessing 12.

@balister
Copy link
Contributor

Try: #602

@cinaeds
Copy link
Author

cinaeds commented Sep 25, 2022 via email

@balister
Copy link
Contributor

Can you confirm this fixes the issue and tell us a little about what you are doing? I am guessing native compile on some 32 bit arm board. We need to document the use of CFLAGS and ASFLAGS for this case better.

@cinaeds
Copy link
Author

cinaeds commented Sep 26, 2022 via email

@balister
Copy link
Contributor

OK this is weird ... see the definition here:
https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html

@balister
Copy link
Contributor

HMMM, Maybe ASFLAGS goes to the actual assembler and ASMFLAGS goes via gcc when called with -s to call the assembler. Quick google isn't returning anything I can point at though :(

@cinaeds
Copy link
Author

cinaeds commented Oct 3, 2022 via email

@jdemel jdemel linked a pull request Dec 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants