Wondering about your setup for compiling for armhf

Asked by Will S on 2019-06-28

I am trying to compile this profiler myself from source and am running into an alignment trap issue. I was wondering what tools you are using to compile it/if you ran into something similar. Compiling with Clang 6.0.0 with -march/-mpfu options is still producing an alignment trap error, and I don't really know why. I am asking here because I can run the coz-profiler package just fine on my system, so you guys clearly know what you're doing, but when I go to run my own version it results in alignment traps. If you could provide your gcc/clang versions and/or any thoughts about what I might be doing wrong would be immensely appreciated.

Thank you in advance for any help.

Best,
Will

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu coz-profiler Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2019-07-01
Last query:
2019-07-01
Last reply:
2019-06-28
Best Manfred Hampl (m-hampl) said : #1

I suggest that you look at the build log of the Ubuntu package on
https://launchpad.net/ubuntu/+source/coz-profiler/0.1.0-2/+build/12839762

clang version probably was 1:4.0-36ubuntu3
and gcc probably 7.1.0-8ubuntu2

I hope that this helps a bit.

Will S (wootie11) said : #2

Thank you, I'll give it a look!

Will S (wootie11) said : #3

Thanks Manfred Hampl, that solved my question.