package/gpsd: disable profiling support on ARC
authorZoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Wed, 21 Feb 2018 16:55:52 +0000 (17:55 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 21 Feb 2018 20:29:25 +0000 (21:29 +0100)
With the currently used ARC glibc version the profiling build fails with
linking error to __mcount. The ARC glibc version arc-2018.03-eng007+
fixes this, therefore when glibc is bumped, this restriction can be
removed.

Fixes:
    http://autobuild.buildroot.net/results/88870f5bf4aff557d8eac4e1cc5d3e397e607af0/

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gpsd/Config.in

index d9ab7b7dba5b9bf075155251e399b02369cd6621..849d22ffa72899503b821cfff5e10033fba6c03c 100644 (file)
@@ -38,6 +38,8 @@ config BR2_PACKAGE_GPSD_PROFILING
        bool "profiling support"
        depends on BR2_TOOLCHAIN_USES_GLIBC
        depends on !BR2_aarch64
+       # Needs glibc for ARC arc-2018.03-eng007+ for correct __mcount linking
+       depends on !BR2_arc
 
 comment "profiling support not available with uClibc-based toolchain"
        depends on !BR2_TOOLCHAIN_USES_GLIBC