Skip to contentSkip to conversation

package/gpsd: disable profiling support on ARC

PATCH New Zoltan Gyarmati 2 participants 2 messages Feb 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gpsd: disable profiling support on ARC

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/
---
 package/gpsd/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/gpsd/Config.in +2 -0
index d9ab7b7..849d22f 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 package/gpsd: disable profiling support on ARC

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Zoltan" == Zoltan Gyarmati <[email protected]> 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/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard