binutils: Fix linking failures when using dwarf-5
PATCH 1/2 binutils: Fix linking failures when using dwarf-5
Since GCC 11 will switch to dwarf-5 as default, this patch will be required soon
--- .../binutils/binutils-2.36.inc | 1 + ...the-DW_FORM_strx-forms-to-the-BFD-li.patch | 183 ++++++++++++++++++ 2 files changed, 184 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0017-Add-support-for-the-DW_FORM_strx-forms-to-the-BFD-li.patch
meta/recipes-devtools/binutils/binutils-2.36.inc +1 -0
@@ -35,5 +35,6 @@ SRC_URI = "\ file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ file://0015-sync-with-OE-libtool-changes.patch \ file://0016-Check-for-clang-before-checking-gcc-version.patch \ + file://0017-Add-support-for-the-DW_FORM_strx-forms-to-the-BFD-li.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/0017-Add-support-for-the-DW_FORM_strx-forms-to-the-BFD-li.patch new file +183 -0
183 lines not on this page · raw message
Signature · 1 line
2.31.1
PATCH 2/2 go: Use dl.google.com for SRC_URI
golang.org/dl is resolving to this anyway
--- meta/recipes-devtools/go/go-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/go/go-common.inc +1 -1
@@ -14,7 +14,7 @@ LICENSE = "BSD-3-Clause" inherit goarch -SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main" +SRC_URI = "https://dl.google.com/go/go${PV}.src.tar.gz;name=main" S = "${WORKDIR}/go" B = "${S}" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar"
Signature · 1 line
2.31.1
Re: [OE-core] [PATCH 2/2] go: Use dl.google.com for SRC_URI
Hello,
Quoted 2 lines · Khem Raj
golang.org/dl is resolving to this anyway
Unfortunately, this is still an issue on the autobuilders:
ERROR: go-cross-core2-32-1.16.3-r0 do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
ERROR: go-cross-core2-32-1.16.3-r0 do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/x86_64-linux/go-cross-core2-32/1.16.3-r0/temp/log.do_fetch.525
ERROR: go-runtime-1.16.3-r0 do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
ERROR: go-runtime-1.16.3-r0 do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/core2-32-poky-linux/go-runtime/1.16.3-r0/temp/log.do_fetch.544
This is fairly reproducible:
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1404/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1403/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1402/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1401/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2076/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2074/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2070/steps/23/logs/stdio
Quoted 25 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/go/go-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/go/go-common.inc +1
-1@@ -14,7 +14,7 @@ LICENSE = "BSD-3-Clause" inherit goarch -SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main" +SRC_URI = "https://dl.google.com/go/go${PV}.src.tar.gz;name=main" S = "${WORKDIR}/go" B = "${S}" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar"Signature · 1 line
2.31.1
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [OE-core] [PATCH 2/2] go: Use dl.google.com for SRC_URI
Adding Miachel as well.
this seems to be running buildoptions.SourceMirroring.test_yocto_source_mirror selftest, which AFAICT should force downloads from yp mirror only
when I check the YP mirror then this tarball exists there
http://downloads.yoctoproject.org/mirror/sources/go1.16.3.src.tar.gz
but problem is that its 0 sized.
Secondly I also see a bad checksum file there
I am seeing that there are lot of *_bad-checksum_* files in YP src mirror http://downloads.yoctoproject.org/mirror/sources/
Michael,
Can we delete these *_bad-checksum_* files as well as zero-sized tarballs please?
Quoted 58 lines · Alexandre Belloni
Hello,
Quoted 2 lines · Khem Raj
golang.org/dl is resolving to this anyway
Unfortunately, this is still an issue on the autobuilders:
ERROR: go-cross-core2-32-1.16.3-r0
do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
ERROR: go-cross-core2-32-1.16.3-r0do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:/home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/x86_64-linux/go-cross-core2-32/1.16.3-r0/temp/log.do_fetch.525
ERROR: go-runtime-1.16.3-r0do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
ERROR: go-runtime-1.16.3-r0do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:/home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/core2-32-poky-linux/go-runtime/1.16.3-r0/temp/log.do_fetch.544This is fairly reproducible:
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1404/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1403/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1402/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1401/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2076/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2074/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2070/steps/23/logs/stdioQuoted 19 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/go/go-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/go/go-common.inc +1
-2@@ -14,7 +14,7 @@ LICENSE = "BSD-3-Clause" inherit goarch -SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main" +SRC_URI = "https://dl.google.com/go/go${PV}.src.tar.gz;name=main" S = "${WORKDIR}/go" B = "${S}" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar" --Quoted 6 lines
2.31.1
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Re: [OE-core] [PATCH 2/2] go: Use dl.google.com for SRC_URI
you also want to get rid of *.lock files as well.
Quoted 84 lines · Khem Raj
Adding Miachel as well.
this seems to be running buildoptions.SourceMirroring.test_yocto_source_mirror selftest, which AFAICT should force downloads from yp mirror only
when I check the YP mirror then this tarball exists therehttp://downloads.yoctoproject.org/mirror/sources/go1.16.3.src.tar.gz
but problem is that its 0 sized.
Secondly I also see a bad checksum file there
I am seeing that there are lot of *_bad-checksum_* files in YP src mirror http://downloads.yoctoproject.org/mirror/sources/
Michael,
Can we delete these *_bad-checksum_* files as well as zero-sized tarballs please?
Quoted 58 lines · Alexandre Belloni
Hello,
Quoted 2 lines · Khem Raj
golang.org/dl is resolving to this anyway
Unfortunately, this is still an issue on the autobuilders:
ERROR: go-cross-core2-32-1.16.3-r0
do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
ERROR: go-cross-core2-32-1.16.3-r0do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:/home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/x86_64-linux/go-cross-core2-32/1.16.3-r0/temp/log.do_fetch.525
ERROR: go-runtime-1.16.3-r0do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
ERROR: go-runtime-1.16.3-r0do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:/home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/core2-32-poky-linux/go-runtime/1.16.3-r0/temp/log.do_fetch.544This is fairly reproducible:
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1404/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1403/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1402/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1401/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2076/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2074/steps/23/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2070/steps/23/logs/stdioQuoted 19 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/go/go-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/go/go-common.inc +1
-2@@ -14,7 +14,7 @@ LICENSE = "BSD-3-Clause" inherit goarch -SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main" +SRC_URI = "https://dl.google.com/go/go${PV}.src.tar.gz;name=main" S = "${WORKDIR}/go" B = "${S}" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar" --Quoted 6 lines
2.31.1
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Re: [OE-core] [PATCH 2/2] go: Use dl.google.com for SRC_URI
I've removed the following:
go1.16.3.src.tar.gz ( 0 bytes) go1.16.3.src.tar.gz_bad-checksum_b298d29de9236ca47a023e382313bcc2d2eed31dfa706b60a04103ce83a71a25 ( 20912861 bytes)
I can add a job to check for 0 byte tarballs. Do you think that would be helpful?
Quoted 107 lines · Khem Raj
you also want to get rid of *.lock files as well.
Quoted 8 lines · Khem Raj
Adding Miachel as well.
this seems to be running buildoptions.SourceMirroring.test_yocto_source_mirror selftest, which AFAICT should force downloads from yp mirror only
when I check the YP mirror then this tarball exists thereQuoted 7 lines
http://downloads.yoctoproject.org/mirror/sources/go1.16.3.src.tar.gz
but problem is that its 0 sized.
Secondly I also see a bad checksum file there
Quoted 4 lines
I am seeing that there are lot of *_bad-checksum_* files in YP src mirror http://downloads.yoctoproject.org/mirror/sources/
Quoted 17 lines
Michael,
Can we delete these *_bad-checksum_* files as well as zero-sized tarballs please?
Quoted 10 lines · Alexandre Belloni
Hello,
Quoted 2 lines · Khem Raj
golang.org/dl is resolving to this anyway
Unfortunately, this is still an issue on the autobuilders:
ERROR: go-cross-core2-32-1.16.3-r0
do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
Quoted 1 line
Quoted 1 line
ERROR: go-cross-core2-32-1.16.3-r0
do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
Quoted 1 line
Quoted 1 line
ERROR: Logfile of failure stored in:
/home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/x86_64-linux/go-cross-core2-32/1.16.3-r0/temp/log.do_fetch.525Quoted 1 line
Quoted 1 line
ERROR: go-runtime-1.16.3-r0
do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
Quoted 1 line
Quoted 1 line
ERROR: go-runtime-1.16.3-r0
do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
Quoted 1 line
Quoted 1 line
ERROR: Logfile of failure stored in:
/home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/core2-32-poky-linux/go-runtime/1.16.3-r0/temp/log.do_fetch.544Quoted 4 lines
Quoted 4 lines
This is fairly reproducible:
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1404/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1403/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1402/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1401/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2076/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2074/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2070/steps/23/logs/stdio
Quoted 8 lines
Quoted 8 lines
Review
Quoted 8 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/go/go-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta/recipes-devtools/go/go-common.inc
Quoted 25 lines
Quoted 25 lines
Quoted 13 lines
index
39a681a712..c368b95b69100644meta/recipes-devtools/go/go-common.inc +1
-2@@ -14,7 +14,7 @@ LICENSE = "BSD-3-Clause" inherit goarch -SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main" +SRC_URI = "https://dl.google.com/go/go${PV}.src.tar.gz;name=main" S = "${WORKDIR}/go" B = "${S}" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar" --Quoted 6 lines
2.31.1
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Signature · 3 lines
Michael Halstead Linux Foundation / Yocto Project Systems Operations Engineer
Re: [OE-core] [PATCH 2/2] go: Use dl.google.com for SRC_URI
Quoted 8 lines · Michael Halstead
I've removed the following:
go1.16.3.src.tar.gz ( 0 bytes) go1.16.3.src.tar.gz_bad-checksum_b298d29de9236ca47a023e382313bcc2d2eed31dfa706b60a04103ce83a71a25 ( 20912861 bytes)I can add a job to check for 0 byte tarballs. Do you think that would be helpful?
Yes it will be very helpful and also remove the bad-checksum files too they are bad downloads of corrupt tarballs
Quoted 119 lines · Khem Raj
Quoted 75 lines
you also want to get rid of *.lock files as well.
Quoted 8 lines · Khem Raj
Adding Miachel as well.
this seems to be running buildoptions.SourceMirroring.test_yocto_source_mirror selftest, which AFAICT should force downloads from yp mirror only
when I check the YP mirror then this tarball exists thereQuoted 7 lines
http://downloads.yoctoproject.org/mirror/sources/go1.16.3.src.tar.gz
but problem is that its 0 sized.
Secondly I also see a bad checksum file there
Quoted 4 lines
I am seeing that there are lot of *_bad-checksum_* files in YP src mirror http://downloads.yoctoproject.org/mirror/sources/
Quoted 17 lines
Michael,
Can we delete these *_bad-checksum_* files as well as zero-sized tarballs please?
Quoted 10 lines · Alexandre Belloni
Hello,
Quoted 2 lines · Khem Raj
golang.org/dl is resolving to this anyway
Unfortunately, this is still an issue on the autobuilders:
ERROR: go-cross-core2-32-1.16.3-r0
do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
Quoted 1 line
Quoted 1 line
ERROR: go-cross-core2-32-1.16.3-r0
do_fetch: Fetcher failure for URL:'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
Quoted 1 line
Quoted 1 line
ERROR: Logfile of failure stored in:
/home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/x86_64-linux/go-cross-core2-32/1.16.3-r0/temp/log.do_fetch.525Quoted 1 line
Quoted 1 line
ERROR: go-runtime-1.16.3-r0
do_fetch: The URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main' is not trusted and cannot be used
Quoted 1 line
Quoted 1 line
ERROR: go-runtime-1.16.3-r0
do_fetch: Fetcher failure for URL: 'https://dl.google.com/go/go1.16.3.src.tar.gz;name=main'. Unable to fetch URL from any source.
Quoted 1 line
Quoted 1 line
ERROR: Logfile of failure stored in:
/home/pokybuild/yocto-worker/a-quick/build/build-st/tmp/work/core2-32-poky-linux/go-runtime/1.16.3-r0/temp/log.do_fetch.544Quoted 4 lines
Quoted 4 lines
This is fairly reproducible:
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1404/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1403/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1402/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1401/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2076/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2074/steps/23/logs/stdio
Quoted 1 line
Quoted 1 line
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2070/steps/23/logs/stdio
Quoted 2 lines
Quoted 2 lines
Quoted 33 lines
Quoted 6 lines
Quoted 6 lines
Review
Quoted 6 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-devtools/go/go-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta/recipes-devtools/go/go-common.inc
Quoted 25 lines
Quoted 25 lines
Quoted 13 lines
index
39a681a712..c368b95b69100644meta/recipes-devtools/go/go-common.inc +1
-2@@ -14,7 +14,7 @@ LICENSE = "BSD-3-Clause" inherit goarch -SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main" +SRC_URI = "https://dl.google.com/go/go${PV}.src.tar.gz;name=main" S = "${WORKDIR}/go" B = "${S}" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar" --Quoted 6 lines
2.31.1
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com--
Michael Halstead
Linux Foundation / Yocto Project
Systems Operations Engineer