diff mbox series

package/gpsd: disable profiling support on ARC

Message ID 1519232152-26469-1-git-send-email-mr.zoltan.gyarmati@gmail.com
State Accepted
Commit 937a2cf5a9b6e217692a5bc26ca2b541d97a2cb5
Headers show
Series package/gpsd: disable profiling support on ARC | expand

Commit Message

Zoltan Gyarmati Feb. 21, 2018, 4:55 p.m. UTC
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>
---
 package/gpsd/Config.in | 2 ++
 1 file changed, 2 insertions(+)

Comments

Peter Korsgaard Feb. 21, 2018, 8:30 p.m. UTC | #1
>>>>> "Zoltan" == Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> writes:

 >  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>

Committed, thanks.
diff mbox series

Patch

diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in
index d9ab7b7..849d22f 100644
--- a/package/gpsd/Config.in
+++ b/package/gpsd/Config.in
@@ -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