Skip to contentSkip to conversation

binutils: update USE_ALTERNATIVES_FOR for symlink files

PATCH In review [email protected] 2 participants 3 messages Sep 11, 2022 – Sep 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binutils: update USE_ALTERNATIVES_FOR for symlink files

From: Kai Kang <[email protected]>

It provides more binary files by binutils 2.39. Then add them to USE_ALTERNATIVES_FOR as others to handle symlink files via update-alternative mechanism.

---
 meta/recipes-devtools/binutils/binutils.inc | 6 ++++++
 1 file changed, 6 insertions(+)
meta/recipes-devtools/binutils/binutils.inc +6 -0
index 789c8bec21..9d33a64371 100644
@@ -47,7 +47,13 @@ USE_ALTERNATIVES_FOR = " \
 	as \
 	c++filt \
 	elfedit \
+	gp-archive \
+	gp-collect-app \
+	gp-display-html \
+	gp-display-src \
+	gp-display-text \
 	gprof \
+	gprofng \
 	ld \
 	ld.bfd \
 	${LDGOLD_ALTS} \
Signature · 1 line
2.17.1
#1 lore raw
Quoted 19 lines · kai

From: Kai Kang <[email protected]>

It provides more binary files by binutils 2.39. Then add them to USE_ALTERNATIVES_FOR as others to handle symlink files via update-alternative mechanism.

---
 meta/recipes-devtools/binutils/binutils.inc | 6 ++++++
 1 file changed, 6 insertions(+)
meta/recipes-devtools/binutils/binutils.inc +0 -0
index 789c8bec21..9d33a64371 100644
@@ -47,7 +47,13 @@ USE_ALTERNATIVES_FOR = " \
 	as \
 	c++filt \
 	elfedit \

meta/recipes-devtools/binutils/binutils.inc USE_ALTERNATIVES_FOR = " \ · line 59

Quoted 10 lines
meta/recipes-devtools/binutils/binutils.inc +6 -0
+	gp-archive \
+	gp-collect-app \
+	gp-display-html \
+	gp-display-src \
+	gp-display-text \
 	gprof \
+	gprofng \
 	ld \
 	ld.bfd \
 	${LDGOLD_ALTS} \

This throws tons of warnings:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/4219

e.g.:

https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5896/steps/12/logs/warnings

but many more.

Cheers,

Richard

author
#2 lore raw
Quoted 32 lines · Richard Purdie
Quoted 19 lines · kai

From: Kai Kang <[email protected]>

It provides more binary files by binutils 2.39. Then add them to USE_ALTERNATIVES_FOR as others to handle symlink files via update-alternative mechanism.

---
  meta/recipes-devtools/binutils/binutils.inc | 6 ++++++
  1 file changed, 6 insertions(+)
meta/recipes-devtools/binutils/binutils.inc +0 -0
index 789c8bec21..9d33a64371 100644
@@ -47,7 +47,13 @@ USE_ALTERNATIVES_FOR = " \
  	as \
  	c++filt \
  	elfedit \

meta/recipes-devtools/binutils/binutils.inc USE_ALTERNATIVES_FOR = " \ · line 59

Quoted 10 lines
meta/recipes-devtools/binutils/binutils.inc +6 -0
+	gp-archive \
+	gp-collect-app \
+	gp-display-html \
+	gp-display-src \
+	gp-display-text \
  	gprof \
+	gprofng \
  	ld \
  	ld.bfd \
  	${LDGOLD_ALTS} \

This throws tons of warnings:

Quoted 7 lines

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/4219

e.g.:

https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5896/steps/12/logs/warnings

but many more.

OK. I'll figure it out.

Regards,
Kai

Quoted 4 lines

Cheers,

Richard

Signature · 2 lines
Kai Kang
Wind River Linux