Wondering about your setup for compiling for armhf

Asked by Will S

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.


Question information

English Edit question
Ubuntu coz-profiler Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :

I suggest that you look at the build log of the Ubuntu package on

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

I hope that this helps a bit.

Revision history for this message
Will S (wootie11) said :

Thank you, I'll give it a look!

Revision history for this message
Will S (wootie11) said :

Thanks Manfred Hampl, that solved my question.