[Buildroot] __mcount on ARC
thomas.petazzoni at bootlin.com
Mon Feb 19 08:09:39 UTC 2018
+Alexey in Cc.
On Sun, 18 Feb 2018 19:45:08 +0100, Zoltan Gyarmati wrote:
> I'm investigating this  autobuild error, where the gpsd build fails
> while profiling is enabled, due to undefined reference to `__mcount', on
> ARC arch.
> Ironically enough due to a bug in the gpsd build config the -pg flag is
> not passed to the linker only to the compiler, but after patching that
> one, the build issue remains.
> According to this thread  this happened earlier with ARC but other
> package, so is there anything particular about ARC regarding to
> profiling? Should we just disable the gpsd profiling option on ARC?
Alexey, could you comment on this ? I vaguely remember that profiling
was not supported on ARC at some point, but I have no idea if this is
still the case or not.
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
More information about the buildroot