Skip to contentSkip to conversation

Revert "runc-opencontainers: use bfd even with ld-is-gold"

PATCH In review Martin Jansa 2 participants 4 messages May 13, 2021 – May 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "runc-opencontainers: use bfd even with ld-is-gold"

This reverts commit dda5ae36b44c61e61439341ea3153e6be5cb015e.

binutils gold linker was fixed with:
https://git.openembedded.org/openembedded-core/commit/?id=d07d4d739ae17787017f771dd2068fda0e836722

---
 recipes-containers/runc/runc-opencontainers_git.bb | 7 -------
 1 file changed, 7 deletions(-)
recipes-containers/runc/runc-opencontainers_git.bb +0 -7
index 51ba7c9..f3ff9a8 100644
@@ -8,10 +8,3 @@ SRC_URI = " \
 RUNC_VERSION = "1.0.0-rc93"
 
 CVE_PRODUCT = "runc"
-
-# use BFD when ld-is-gold is used to work around:
-# http://errors.yoctoproject.org/Errors/Details/580099/
-# CGO_ENABLED=1 x86_64-oe-linux-go build -trimpath  -tags "seccomp seccomp                       netgo osusergo" -ldflags "-w -extldflags -static -X main.gitCommit="fce58ab2d5c488bc573d02712db476a6daa9a60c-dirty" -X main.version=1.0.0-rc93+dev " -o runc .
-# TOPDIR/tmp-glibc/work/core2-64-oe-linux/runc-opencontainers/1.0.0-rc93+gitAUTOINC+fce58ab2d5-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.0.1/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
-# collect2: error: ld returned 1 exit status
-LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
Signature · 1 line
2.30.2
#1 lore raw

merged.

Bruce

Quoted 32 lines · Martin Jansa

This reverts commit dda5ae36b44c61e61439341ea3153e6be5cb015e.

binutils gold linker was fixed with:
https://git.openembedded.org/openembedded-core/commit/?id=d07d4d739ae17787017f771dd2068fda0e836722

---
 recipes-containers/runc/runc-opencontainers_git.bb | 7 -------
 1 file changed, 7 deletions(-)
recipes-containers/runc/runc-opencontainers_git.bb +0 -8
index 51ba7c9..f3ff9a8 100644
@@ -8,10 +8,3 @@ SRC_URI = " \
 RUNC_VERSION = "1.0.0-rc93"
 
 CVE_PRODUCT = "runc"
-
-# use BFD when ld-is-gold is used to work around:
-# http://errors.yoctoproject.org/Errors/Details/580099/
-# CGO_ENABLED=1 x86_64-oe-linux-go build -trimpath  -tags "seccomp seccomp                       netgo osusergo" -ldflags "-w -extldflags -static -X main.gitCommit="fce58ab2d5c488bc573d02712db476a6daa9a60c-dirty" -X main.version=1.0.0-rc93+dev " -o runc .
-# TOPDIR/tmp-glibc/work/core2-64-oe-linux/runc-opencontainers/1.0.0-rc93+gitAUTOINC+fce58ab2d5-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.0.1/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
-# collect2: error: ld returned 1 exit status
-LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
--

2.30.2

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#2 lore raw
Quoted 1 line · Bruce Ashfield

merged.

Thanks for merge, now please push it as well :).

("xen, rpi4: fix typo in raspberrypi dynamic-layers inclusion" is also missing in master branch)

Cheers,

Quoted 39 lines · Martin Jansa
Quoted 32 lines

This reverts commit dda5ae36b44c61e61439341ea3153e6be5cb015e.

binutils gold linker was fixed with:
https://git.openembedded.org/openembedded-core/commit/?id=d07d4d739ae17787017f771dd2068fda0e836722

---
 recipes-containers/runc/runc-opencontainers_git.bb | 7 -------
 1 file changed, 7 deletions(-)
recipes-containers/runc/runc-opencontainers_git.bb +0 -8
index 51ba7c9..f3ff9a8 100644
@@ -8,10 +8,3 @@ SRC_URI = " \
 RUNC_VERSION = "1.0.0-rc93"
 
 CVE_PRODUCT = "runc"
-
-# use BFD when ld-is-gold is used to work around:
-# http://errors.yoctoproject.org/Errors/Details/580099/
-# CGO_ENABLED=1 x86_64-oe-linux-go build -trimpath  -tags "seccomp seccomp                       netgo osusergo" -ldflags "-w -extldflags -static -X main.gitCommit="fce58ab2d5c488bc573d02712db476a6daa9a60c-dirty" -X main.version=1.0.0-rc93+dev " -o runc .
-# TOPDIR/tmp-glibc/work/core2-64-oe-linux/runc-opencontainers/1.0.0-rc93+gitAUTOINC+fce58ab2d5-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.0.1/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
-# collect2: error: ld returned 1 exit status
-LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
--

2.30.2

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#3 lore raw

Something went insane with my setup and my master-wip branch was pushed to master.

I just did a history reset, because the recipes that were on that master push were so bad, they needed more than a reset.

Apologies if this throws anyone's fetches into chaos, but I just didn't want those bad/broken commits around at all.

Bruce

Quoted 50 lines · Martin Jansa
Quoted 1 line · Bruce Ashfield

merged.

Thanks for merge, now please push it as well :).

("xen, rpi4: fix typo in raspberrypi dynamic-layers inclusion" is also missing in master branch)

Cheers,

Quoted 39 lines · Martin Jansa
Quoted 27 lines

This reverts commit dda5ae36b44c61e61439341ea3153e6be5cb015e.

binutils gold linker was fixed with:
https://git.openembedded.org/openembedded-core/commit/?id=d07d4d739ae17787017f771dd2068fda0e836722

---
 recipes-containers/runc/runc-opencontainers_git.bb | 7 -------
 1 file changed, 7 deletions(-)
recipes-containers/runc/runc-opencontainers_git.bb +0 -8
index 51ba7c9..f3ff9a8 100644
@@ -8,10 +8,3 @@ SRC_URI = " \
 RUNC_VERSION = "1.0.0-rc93"
 
 CVE_PRODUCT = "runc"
-
-# use BFD when ld-is-gold is used to work around:
-# http://errors.yoctoproject.org/Errors/Details/580099/
-# CGO_ENABLED=1 x86_64-oe-linux-go build -trimpath  -tags "seccomp seccomp                       netgo osusergo" -ldflags "-w -extldflags -static -X main.gitCommit="fce58ab2d5c488bc573d02712db476a6daa9a60c-dirty" -X main.version=1.0.0-rc93+dev " -o runc .
-# TOPDIR/tmp-glibc/work/core2-64-oe-linux/runc-opencontainers/1.0.0-rc93+gitAUTOINC+fce58ab2d5-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.0.1/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
-# collect2: error: ld returned 1 exit status
-LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
--
Quoted 5 lines

2.30.2

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II