Skip to contentSkip to conversation

meta-arm-toolchain: use GCC 9.2 source tar ball insted of svn

PATCH In review Sumit Garg 4 participants 7 messages Apr 9, 2020 – Apr 10, 2020

lore
Share & tools
lore

Sumit Garg

author
#0 lore raw

PATCH 1/1 meta-arm-toolchain: use GCC 9.2 source tar ball insted of svn

GCC 9.2 source fetch from svn is quite slow as compared to source tar ball. So switch to fetch GCC 9.2 source tar ball instead.

---
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +4 -5
index 366a070..08e8f7f 100644
@@ -27,10 +27,7 @@ LIC_FILES_CHKSUM = "\
     file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \
 "
 
-#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
-#RELEASE ?= "5a5ca2d"
-#BASEURI ?= "https://repo.or.cz/official-gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc-${RELEASE}.tar.gz"
-BASEURI ?= "svn://gcc.gnu.org/svn/gcc/branches/ARM;rev=277439;module=arm-9-branch"
+BASEURI ?= "https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/srcrel/gcc-arm-src-snapshot-9.2-2019.12.tar.xz"
 SRC_URI = "\
            ${BASEURI} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
@@ -71,7 +68,9 @@ SRC_URI = "\
            file://0036-Re-introduce-spe-commandline-options.patch \
            file://0037-Fix-up-libsanitizer-build-with-master-glibc.patch \
 "
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/arm-9-branch"
+SRC_URI[md5sum] = "9c570fc4286825b4e6f67b3d34aade23"
+
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-arm-src-snapshot-9.2-2019.12"
 
 # For dev release snapshotting
 #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/official-gcc-${RELEASE}"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 32 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Sumit Garg via lists.yoctoproject.org
Sent: 09 April 2020 07:30
To: [email protected]
Cc: Jon Mason <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Sumit Garg <[email protected]>
Subject: [meta-arm] [PATCH] meta-arm-toolchain: use GCC 9.2 source tar ball insted of svn

GCC 9.2 source fetch from svn is quite slow as compared to source tar ball. So switch to fetch GCC 9.2 source tar ball instead.

---
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
meta- renamed from meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -0

arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc index 366a070..08e8f7f 100644

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -3
@@ -27,10 +27,7 @@ LIC_FILES_CHKSUM = "\
     file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \  "
 
-#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
-#RELEASE ?= "5a5ca2d"
-#BASEURI ?= "https://repo.or.cz/official-
Quoted 7 lines

gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc- ${RELEASE}.tar.gz"
-BASEURI ?= "svn://gcc.gnu.org/svn/gcc/branches/ARM;rev=277439;module=arm-9- branch"
+BASEURI ?= "https://developer.arm.com/-/media/Files/downloads/gnu- a/9.2-2019.12/srcrel/gcc-arm-src-snapshot-9.2-2019.12.tar.xz"

Any specific reason for having a softer assignment here? Are we expecting the user to customize this variable?

Quoted 16 lines
 SRC_URI = "\
            ${BASEURI} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ @@ -71,7
+68,9 @@ SRC_URI = "\
            file://0036-Re-introduce-spe-commandline-options.patch \
            file://0037-Fix-up-libsanitizer-build-with-master-glibc.patch \  "
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +3 -1
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/arm-9-branch"
+SRC_URI[md5sum] = "9c570fc4286825b4e6f67b3d34aade23"
+
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-arm-src-snapshot-9.2-

2019.12"

# For dev release snapshotting
#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/official-gcc-${RELEASE}"
--
2.7.4

author
#2 lore raw
Quoted 30 lines · Diego Sueiro
Quoted 30 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Sumit Garg via lists.yoctoproject.org
Sent: 09 April 2020 07:30
To: [email protected]
Cc: Jon Mason <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Sumit Garg <[email protected]>
Subject: [meta-arm] [PATCH] meta-arm-toolchain: use GCC 9.2 source tar ball insted of svn

GCC 9.2 source fetch from svn is quite slow as compared to source tar ball. So switch to fetch GCC 9.2 source tar ball instead.

---
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
meta- renamed from meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -0

arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc index 366a070..08e8f7f 100644

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -0
@@ -27,10 +27,7 @@ LIC_FILES_CHKSUM = "\
     file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \  "
 
Quoted 13 lines
Quoted 10 lines
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -3
-#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
-#RELEASE ?= "5a5ca2d"
-#BASEURI ?= "https://repo.or.cz/official-

gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc- ${RELEASE}.tar.gz"
-BASEURI ?= "svn://gcc.gnu.org/svn/gcc/branches/ARM;rev=277439;module=arm-9- branch"
+BASEURI ?= "https://developer.arm.com/-/media/Files/downloads/gnu- a/9.2-2019.12/srcrel/gcc-arm-src-snapshot-9.2-2019.12.tar.xz"

Any specific reason for having a softer assignment here? Are we expecting the user to customize this variable?

This trend has been followed on from OE-core gcc recipes. AFAIK, this will be useful in case the source package is hosted somewhere else like local storage etc. User can simply override this variable via ".bbapend".

-Sumit

Quoted 18 lines
Quoted 17 lines
 SRC_URI = "\
            ${BASEURI} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ @@ -71,7
+68,9 @@ SRC_URI = "\
            file://0036-Re-introduce-spe-commandline-options.patch \
            file://0037-Fix-up-libsanitizer-build-with-master-glibc.patch \  "
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +3 -1
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/arm-9-branch"
+SRC_URI[md5sum] = "9c570fc4286825b4e6f67b3d34aade23"
+
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-arm-src-snapshot-9.2-

2019.12"

# For dev release snapshotting
#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/official-gcc-${RELEASE}"
--
2.7.4

#3 lore raw
Quoted 49 lines · Sumit Garg
Quoted 11 lines · Diego Sueiro
Quoted 11 lines

-----Original Message-----
From: [email protected] <[email protected]

On Behalf Of Sumit Garg via lists.yoctoproject.org
Sent: 09 April 2020 07:30
To: [email protected]
Cc: Jon Mason <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Sumit Garg <[email protected]>
Subject: [meta-arm] [PATCH] meta-arm-toolchain: use GCC 9.2 source tar

ball

Quoted 3 lines
Quoted 3 lines

insted of svn

GCC 9.2 source fetch from svn is quite slow as compared to source tar

ball.

Quoted 10 lines

Review

Quoted 10 lines

So switch to fetch GCC 9.2 source tar ball instead.

---
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
(quoted diff) +0 -0

b/meta-

Quoted 7 lines
Quoted 7 lines

arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc index 366a070..08e8f7f 100644

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -0
@@ -27,10 +27,7 @@ LIC_FILES_CHKSUM = "\
     file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \  "
 
Quoted 13 lines
Quoted 10 lines
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -3
-#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
-#RELEASE ?= "5a5ca2d"
-#BASEURI ?= "https://repo.or.cz/official-

gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc- ${RELEASE}.tar.gz"
-BASEURI ?= "svn://gcc.gnu.org/svn/gcc/branches/ARM;rev=277439;module=arm-9- branch"
+BASEURI ?= "https://developer.arm.com/-/media/Files/downloads/gnu- a/9.2-2019.12/srcrel/gcc-arm-src-snapshot-9.2-2019.12.tar.xz"

Any specific reason for having a softer assignment here? Are we expecting the user to customize this variable?

Quoted 5 lines

This trend has been followed on from OE-core gcc recipes. AFAIK, this will be useful in case the source package is hosted somewhere else like local storage etc. User can simply override this variable via ".bbapend".

this is correct. The whole point of having BASEURI in the first place is to all a 'user' to override it. Otherwise the link would be added to SRC_URI directly.

Quoted 24 lines

-Sumit

Quoted 4 lines
Quoted 4 lines
 SRC_URI = "\
            ${BASEURI} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ @@

-71,7

Quoted 3 lines
Quoted 3 lines
+68,9 @@ SRC_URI = "\
            file://0036-Re-introduce-spe-commandline-options.patch \

file://0037-Fix-up-libsanitizer-build-with-master-glibc.patch \ "

Quoted 11 lines
Quoted 10 lines
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +3 -1
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/arm-9-branch"
+SRC_URI[md5sum] = "9c570fc4286825b4e6f67b3d34aade23"
+
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-arm-src-snapshot-9.2-

2019.12"

# For dev release snapshotting
#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/official-gcc-${RELEASE}"
--
2.7.4

#4 lore raw

From: Nicolas Dechesne <[email protected]>
Sent: 09 April 2020 08:35
To: Sumit Garg <[email protected]>
Cc: Diego Sueiro <[email protected]>; [email protected]; Jon Mason <[email protected]>; [email protected]; [email protected]; [email protected]; nd <[email protected]>
Subject: Re: [meta-arm] [PATCH] meta-arm-toolchain: use GCC 9.2 source tar ball insted of svn

On Thu, Apr 9, 2020 at 9:20 AM Sumit Garg <mailto:[email protected]> wrote:

Quoted 30 lines · Diego Sueiro
Quoted 30 lines

-----Original Message-----
From: mailto:[email protected] <mailto:[email protected]> On Behalf Of Sumit Garg via http://lists.yoctoproject.org
Sent: 09 April 2020 07:30
To: mailto:[email protected]
Cc: Jon Mason <mailto:[email protected]>; mailto:[email protected]; mailto:[email protected]; mailto:[email protected]; mailto:[email protected]; Sumit Garg <mailto:[email protected]>
Subject: [meta-arm] [PATCH] meta-arm-toolchain: use GCC 9.2 source tar ball insted of svn

GCC 9.2 source fetch from svn is quite slow as compared to source tar ball. So switch to fetch GCC 9.2 source tar ball instead.

---
  meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc | 9 ++++-----

  1 file changed, 4 insertions(+), 5 deletions(-)
meta- renamed from meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -0

arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc index 366a070..08e8f7f 100644

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -0
@@ -27,10 +27,7 @@ LIC_FILES_CHKSUM = "\

      file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \  "

Quoted 20 lines
Quoted 10 lines
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -3
-#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
-#RELEASE ?= "5a5ca2d"
-#BASEURI ?= "https://repo.or.cz/official-

gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc- ${RELEASE}.tar.gz"
-BASEURI ?= "svn://http://gcc.gnu.org/svn/gcc/branches/ARM;rev=277439;module=arm-9- branch"
+BASEURI ?= "https://developer.arm.com/-/media/Files/downloads/gnu- a/9.2-2019.12/srcrel/gcc-arm-src-snapshot-9.2-2019.12.tar.xz"

Any specific reason for having a softer assignment here? Are we expecting the user to customize this variable?

Quoted 6 lines

This trend has been followed on from OE-core gcc recipes. AFAIK, this will be useful in case the source package is hosted somewhere else like local storage etc. User can simply override this variable via ".bbapend".

Quoted 1 line

this is correct. The whole point of having BASEURI in the first place is to all a 'user' to override it. Otherwise the link would be added to SRC_URI directly.

But the user can still override it from a .bbappend if the main recipe uses direct assignment since it will be parsed later.

I understand the motivation now, and the softer assignment makes sense here if we expect the user to customize it from .conf file, for example.

Quoted 18 lines
Quoted 17 lines

  SRC_URI = "\
             ${BASEURI} \
             file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ @@ -71,7 +68,9 @@ SRC_URI = "\
             file://0036-Re-introduce-spe-commandline-options.patch \
             file://0037-Fix-up-libsanitizer-build-with-master-glibc.patch \  "

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +3 -1
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/arm-9-branch"
+SRC_URI[md5sum] = "9c570fc4286825b4e6f67b3d34aade23"
+
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-arm-src-snapshot-9.2-

2019.12"

  # For dev release snapshotting
  #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/official-gcc-${RELEASE}" --
2.7.4

Reviewed-by on v1 1/1
#5 lore raw
In reply to Sumit Garg
Quoted 11 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Sumit Garg via lists.yoctoproject.org
Sent: 09 April 2020 07:30
To: [email protected]
Cc: Jon Mason <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Sumit Garg <[email protected]>
Subject: [meta-arm] [PATCH] meta-arm-toolchain: use GCC 9.2 source tar ball insted of svn

Quoted 6 lines

GCC 9.2 source fetch from svn is quite slow as compared to source tar ball. So switch to fetch GCC 9.2 source tar ball instead.

Quoted 34 lines
---
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
meta- renamed from meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -0

arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc index 366a070..08e8f7f 100644

meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +0 -3
@@ -27,10 +27,7 @@ LIC_FILES_CHKSUM = "\
     file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \  "
 
-#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
-#RELEASE ?= "5a5ca2d"
-#BASEURI ?= "https://repo.or.cz/official-

gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc- ${RELEASE}.tar.gz"
-BASEURI ?= "svn://gcc.gnu.org/svn/gcc/branches/ARM;rev=277439;module=arm-9- branch"
+BASEURI ?= "https://developer.arm.com/-/media/Files/downloads/gnu- a/9.2-2019.12/srcrel/gcc-arm-src-snapshot-9.2-2019.12.tar.xz"

 SRC_URI = "\
            ${BASEURI} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ @@ -71,7
+68,9 @@ SRC_URI = "\
            file://0036-Re-introduce-spe-commandline-options.patch \
            file://0037-Fix-up-libsanitizer-build-with-master-glibc.patch \  "
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +3 -1
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/arm-9-branch"
+SRC_URI[md5sum] = "9c570fc4286825b4e6f67b3d34aade23"
+
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-arm-src-snapshot-9.2-

2019.12"

Quoted 4 lines

# For dev release snapshotting
#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/official-gcc-${RELEASE}"
--
2.7.4

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#6 lore raw
In reply to Sumit Garg
Quoted 2 lines · Sumit Garg

GCC 9.2 source fetch from svn is quite slow as compared to source tar ball. So switch to fetch GCC 9.2 source tar ball instead.

Pulled in to the master branch of meta-arm.

Thanks,
Jon

Quoted 40 lines
---
 meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
meta-arm-toolchain/recipes-devtools/gcc/gcc-arm-9.2.inc +4 -5
index 366a070..08e8f7f 100644
@@ -27,10 +27,7 @@ LIC_FILES_CHKSUM = "\
     file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \
 "
 
-#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
-#RELEASE ?= "5a5ca2d"
-#BASEURI ?= "https://repo.or.cz/official-gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc-${RELEASE}.tar.gz"
-BASEURI ?= "svn://gcc.gnu.org/svn/gcc/branches/ARM;rev=277439;module=arm-9-branch"
+BASEURI ?= "https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/srcrel/gcc-arm-src-snapshot-9.2-2019.12.tar.xz"
 SRC_URI = "\
            ${BASEURI} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
@@ -71,7 +68,9 @@ SRC_URI = "\
            file://0036-Re-introduce-spe-commandline-options.patch \
            file://0037-Fix-up-libsanitizer-build-with-master-glibc.patch \
 "
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/arm-9-branch"
+SRC_URI[md5sum] = "9c570fc4286825b4e6f67b3d34aade23"
+
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-arm-src-snapshot-9.2-2019.12"
 
 # For dev release snapshotting
 #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/official-gcc-${RELEASE}"
Signature · 1 line
2.7.4