Skip to contentSkip to conversation

openssh: upgrade 9.5p1 -> 9.6p1

PATCH In review Tim Orling 3 participants 9 messages Jan 5, 2024 – Feb 4, 2024 2 messages not in the archive

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 openssh: upgrade 9.5p1 -> 9.6p1

* Relocate Upstream-Status in 0001-regress-banner.sh-log-input-and-output-files-on-erro.patch so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

---
All ptests passed on core-image-ptest-openssh on qemux86-64

 ...regress-banner.sh-log-input-and-output-files-on-erro.patch | 4 ++--
 .../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb}            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb} (98%)
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +2 -2
index 2c14014fed8..8763f30f4b3 100644
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +1 -1
similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb
rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb
index bbb8fb091ad..fa44eb0bd4e 100644
@@ -28,7 +28,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
            file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \
            file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \
            "
-SRC_URI[sha256sum] = "f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"
+SRC_URI[sha256sum] = "910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"
 
 CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here."
 
Signature · 1 line
2.34.1
#1 lore raw

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5751/steps/13/logs/stdio

Quoted 72 lines · Tim Orling

* Relocate Upstream-Status in 0001-regress-banner.sh-log-input-and-output-files-on-erro.patch so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

---
All ptests passed on core-image-ptest-openssh on qemux86-64

 ...regress-banner.sh-log-input-and-output-files-on-erro.patch | 4 ++--
 .../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb}            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb} (98%)
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +2 -2
index 2c14014fed8..8763f30f4b3 100644
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +1 -1
similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb
rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb
index bbb8fb091ad..fa44eb0bd4e 100644
@@ -28,7 +28,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
            file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \
            file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \
            "
-SRC_URI[sha256sum] = "f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"
+SRC_URI[sha256sum] = "910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"
 
 CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here."
 
Signature · 11 lines
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#193372): https://lists.openembedded.org/g/openembedded-core/message/193372
Mute This Topic: https://lists.openembedded.org/mt/103546397/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author
#2 lore raw
Quoted 3 lines · Alexandre Belloni

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5751/steps/13/logs/stdio

Thank you, Alexandre. I’ll try to find a fix for this mips issue. If anyone else stumbles on it first, I’m happy to take guidance.

Quoted 98 lines · Tim Orling
Quoted 1 line

* Relocate Upstream-Status in

0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 13 lines

so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

Quoted 8 lines

---
All ptests passed on core-image-ptest-openssh on qemux86-64

 ...regress-banner.sh-log-input-and-output-files-on-erro.patch | 4 ++--
 .../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb}            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb =>

openssh_9.6p1.bb} (98%)

Quoted 2 lines

diff --git

a/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch b/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 2 lines

index 2c14014fed8..8763f30f4b3 100644
---

a/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 1 line

+++

b/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch return value: 1 · line 37

Quoted 5 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +1 -0
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [

https://github.com/openssh/openssh-portable/pull/437]

meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch return value: 1

Quoted 7 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +1 -1
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [

https://github.com/openssh/openssh-portable/pull/437]

Review

Quoted 5 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +0 -1
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
(quoted diff) +0 -0

b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb

meta/recipes-connectivity/openssh/openssh_9.6p1.bb SRC_URI = "

Quoted 7 lines

similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb index bbb8fb091ad..fa44eb0bd4e 100644

meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +0 -0
@@ -28,7 +28,7 @@ SRC_URI = "

http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar

Quoted 1 line

file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \

Quoted 1 line

file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \

Quoted 2 lines
            "

-SRC_URI[sha256sum] =

"f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"

Quoted 1 line

+SRC_URI[sha256sum] =

"910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"

Quoted 2 lines

CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is

specific to OpenSSH with the pam opie which we don't build/use here."

Quoted 9 lines

--
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#193372):

https://lists.openembedded.org/g/openembedded-core/message/193372

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/103546397/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw

The errors on mips32 are internal compiler errors (ICE):
moduli.c:814:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407
progressmeter.c:238:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407
clientloop.c:1699:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407

(There are also a lot of OpenSSL 3.0 deprecation warnings, but I think the ICE are what is failing the build).

Full log.do_compile attached.

There are a handful of similar bug reports like:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820

Any advice to help report this properly is appreciated. Any ideas to fix it are even better.

--Tim

Quoted 114 lines · Tim Orling via lists.openembedded.org
Quoted 3 lines · Alexandre Belloni

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5751/steps/13/logs/stdio

Thank you, Alexandre. I’ll try to find a fix for this mips issue. If anyone else stumbles on it first, I’m happy to take guidance.

Quoted 85 lines · Tim Orling
Quoted 1 line

* Relocate Upstream-Status in

0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 13 lines

so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

Quoted 8 lines

---
All ptests passed on core-image-ptest-openssh on qemux86-64

 ...regress-banner.sh-log-input-and-output-files-on-erro.patch | 4 ++--
 .../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb}            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb =>

openssh_9.6p1.bb} (98%)

Quoted 2 lines

diff --git

a/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch b/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 2 lines

index 2c14014fed8..8763f30f4b3 100644
---

a/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 1 line

+++

b/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch return value: 1 · line 37

Quoted 5 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +1 -0
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [

https://github.com/openssh/openssh-portable/pull/437]

meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch return value: 1

Quoted 7 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +1 -1
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [

https://github.com/openssh/openssh-portable/pull/437]

Review

Quoted 5 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +0 -1
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
(quoted diff) +0 -0

b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb

meta/recipes-connectivity/openssh/openssh_9.6p1.bb SRC_URI = "

Quoted 7 lines

similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb index bbb8fb091ad..fa44eb0bd4e 100644

meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +0 -0
@@ -28,7 +28,7 @@ SRC_URI = "

http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar

Quoted 1 line

file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \

Quoted 1 line

file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \

Quoted 2 lines
            "

-SRC_URI[sha256sum] =

"f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"

Quoted 1 line

+SRC_URI[sha256sum] =

"910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"

Quoted 2 lines

CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is

specific to OpenSSH with the pam opie which we don't build/use here."

Quoted 8 lines

--
2.34.1

Quoted 5 lines

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#194821):
https://lists.openembedded.org/g/openembedded-core/message/194821
Mute This Topic: https://lists.openembedded.org/mt/103546397/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
Quoted 6 lines · Tim Orling

The errors on mips32 are internal compiler errors (ICE):
moduli.c:814:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 progressmeter.c:238:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 clientloop.c:1699:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407

Quoted 8 lines

(There are also a lot of OpenSSL 3.0 deprecation warnings, but I think the ICE are what is failing the build).

Full log.do_compile attached.

There are a handful of similar bug reports like:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820

Any advice to help report this properly is appreciated. Any ideas to fix it are even better.

Looks like gcc issue but try the patch proposed in this bug
https://bugzilla.mindrot.org/show_bug.cgi?id=3645

This patch - https://bugzilla.mindrot.org/attachment.cgi?id=3776&action=diff

See if it helps.

Quoted 98 lines

--Tim

Quoted 94 lines · Tim Orling via lists.openembedded.org
Quoted 2 lines · Alexandre Belloni

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5751/steps/13/logs/stdio

Thank you, Alexandre. I’ll try to find a fix for this mips issue. If anyone else stumbles on it first, I’m happy to take guidance.

Quoted 71 lines · Tim Orling
Quoted 60 lines

* Relocate Upstream-Status in 0001-regress-banner.sh-log-input-and-output-files-on-erro.patch so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

---
All ptests passed on core-image-ptest-openssh on qemux86-64

 ...regress-banner.sh-log-input-and-output-files-on-erro.patch | 4 ++--
 .../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb}            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb} (98%)
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +2 -2
index 2c14014fed8..8763f30f4b3 100644
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +1 -2
similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb
rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb
index bbb8fb091ad..fa44eb0bd4e 100644
@@ -28,7 +28,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
            file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \
            file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \
            "
-SRC_URI[sha256sum] = "f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"
+SRC_URI[sha256sum] = "910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"
 
 CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here."
 
--
Quoted 6 lines

2.34.1

Quoted 4 lines

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194821): https://lists.openembedded.org/g/openembedded-core/message/194821
Mute This Topic: https://lists.openembedded.org/mt/103546397/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw
Quoted 15 lines · Khem Raj
Quoted 13 lines · Tim Orling

The errors on mips32 are internal compiler errors (ICE):
moduli.c:814:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 progressmeter.c:238:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 clientloop.c:1699:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407

(There are also a lot of OpenSSL 3.0 deprecation warnings, but I think the ICE are what is failing the build).

Full log.do_compile attached.

There are a handful of similar bug reports like:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820

Quoted 8 lines
Quoted 1 line

Any advice to help report this properly is appreciated. Any ideas to fix it are even better.

Looks like gcc issue but try the patch proposed in this bug
https://bugzilla.mindrot.org/show_bug.cgi?id=3645

This patch - https://bugzilla.mindrot.org/attachment.cgi?id=3776&action=diff

See if it helps.

Its also applied upstream see
https://github.com/openssh/openssh-portable/commit/1036d77b34a5fa15e56f516b81b9928006848cbd

Quoted 99 lines
Quoted 99 lines

--Tim

Quoted 94 lines · Tim Orling via lists.openembedded.org
Quoted 2 lines · Alexandre Belloni

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5751/steps/13/logs/stdio

Thank you, Alexandre. I’ll try to find a fix for this mips issue. If anyone else stumbles on it first, I’m happy to take guidance.

Quoted 71 lines · Tim Orling
Quoted 60 lines

* Relocate Upstream-Status in 0001-regress-banner.sh-log-input-and-output-files-on-erro.patch so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

---
All ptests passed on core-image-ptest-openssh on qemux86-64

 ...regress-banner.sh-log-input-and-output-files-on-erro.patch | 4 ++--
 .../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb}            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb} (98%)
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +2 -2
index 2c14014fed8..8763f30f4b3 100644
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +1 -2
similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb
rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb
index bbb8fb091ad..fa44eb0bd4e 100644
@@ -28,7 +28,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
            file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \
            file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \
            "
-SRC_URI[sha256sum] = "f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"
+SRC_URI[sha256sum] = "910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"
 
 CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here."
 
--
Quoted 6 lines

2.34.1

Quoted 4 lines

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194821): https://lists.openembedded.org/g/openembedded-core/message/194821
Mute This Topic: https://lists.openembedded.org/mt/103546397/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#7 lore raw
Quoted 26 lines · Khem Raj
Quoted 5 lines · Khem Raj
Quoted 3 lines · Tim Orling

The errors on mips32 are internal compiler errors (ICE):
moduli.c:814:1: internal compiler error: in int_mode_for_mode, at

stor-layout.cc:407

Quoted 1 line
Quoted 1 line

progressmeter.c:238:1: internal compiler error: in int_mode_for_mode,

at stor-layout.cc:407

Quoted 1 line
Quoted 1 line

clientloop.c:1699:1: internal compiler error: in int_mode_for_mode, at

stor-layout.cc:407

Quoted 2 lines
Quoted 2 lines

(There are also a lot of OpenSSL 3.0 deprecation warnings, but I think

the ICE are what is failing the build).

Quoted 7 lines
Quoted 7 lines

Full log.do_compile attached.

There are a handful of similar bug reports like:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820

Any advice to help report this properly is appreciated. Any ideas to

fix it are even better.

Quoted 4 lines

Looks like gcc issue but try the patch proposed in this bug
https://bugzilla.mindrot.org/show_bug.cgi?id=3645

Quoted 8 lines
Quoted 1 line

This patch -

https://bugzilla.mindrot.org/attachment.cgi?id=3776&action=diff

Quoted 2 lines

See if it helps.

Its also applied upstream see

https://github.com/openssh/openssh-portable/commit/1036d77b34a5fa15e56f516b81b9928006848cbd

And that was merged after 9.6p1
https://github.com/openssh/openssh-portable/compare/V_9_6_P1...master

<https://github.com/openssh/openssh-portable/commit/1036d77b34a5fa15e56f516b81b9928006848cbd>

Quoted 125 lines
Quoted 6 lines
Quoted 6 lines

--Tim

On Fri, Feb 2, 2024 at 4:11 PM Tim Orling via lists.openembedded.org

Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines
Quoted 4 lines

On Fri, Feb 2, 2024 at 3:12 PM Alexandre Belloni <

Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5751/steps/13/logs/stdio

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Thank you, Alexandre. I’ll try to find a fix for this mips issue. If

anyone else stumbles on it first, I’m happy to take guidance.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines · Tim Orling
Quoted 1 line

* Relocate Upstream-Status in

0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6

https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

---
All ptests passed on core-image-ptest-openssh on qemux86-64

 ...regress-banner.sh-log-input-and-output-files-on-erro.patch | 4

++--

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

.../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb} |

2 +-

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb =>

openssh_9.6p1.bb} (98%)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

diff --git

a/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch b/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

index 2c14014fed8..8763f30f4b3 100644
---

a/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

+++

b/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch return value: 1 · line 37

Quoted 5 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +1 -0
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [

https://github.com/openssh/openssh-portable/pull/437]

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch return value: 1

Quoted 7 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +1 -1
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [

https://github.com/openssh/openssh-portable/pull/437]

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Review

Quoted 5 lines
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +0 -1
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
(quoted diff) +0 -0

b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

meta/recipes-connectivity/openssh/openssh_9.6p1.bb SRC_URI = "

Quoted 7 lines

similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb index bbb8fb091ad..fa44eb0bd4e 100644

meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +0 -0
@@ -28,7 +28,7 @@ SRC_URI = "

http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
            "

-SRC_URI[sha256sum] =

"f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

+SRC_URI[sha256sum] =

"910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is

specific to OpenSSH with the pam opie which we don't build/use here."

Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 14 lines
Quoted 8 lines

--
2.34.1

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#194821):

https://lists.openembedded.org/g/openembedded-core/message/194821

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/103546397/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub

[[email protected]]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#9 lore raw
Quoted 37 lines · Tim Orling via lists.openembedded.org
Quoted 33 lines · Khem Raj
Quoted 5 lines · Khem Raj
Quoted 3 lines · Tim Orling

The errors on mips32 are internal compiler errors (ICE):
moduli.c:814:1: internal compiler error: in int_mode_for_mode, at

stor-layout.cc:407

Quoted 1 line
Quoted 1 line

progressmeter.c:238:1: internal compiler error: in int_mode_for_mode,

at stor-layout.cc:407

Quoted 1 line
Quoted 1 line

clientloop.c:1699:1: internal compiler error: in int_mode_for_mode,

at stor-layout.cc:407

Quoted 2 lines
Quoted 2 lines

(There are also a lot of OpenSSL 3.0 deprecation warnings, but I

think the ICE are what is failing the build).

Quoted 7 lines
Quoted 7 lines

Full log.do_compile attached.

There are a handful of similar bug reports like:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820

Any advice to help report this properly is appreciated. Any ideas to

fix it are even better.

Quoted 5 lines

Looks like gcc issue but try the patch proposed in this bug
https://bugzilla.mindrot.org/show_bug.cgi?id=3645

This patch -

https://bugzilla.mindrot.org/attachment.cgi?id=3776&action=diff

Quoted 2 lines

See if it helps.

Its also applied upstream see

Quoted 7 lines
Quoted 1 line

https://github.com/openssh/openssh-portable/commit/1036d77b34a5fa15e56f516b81b9928006848cbd

And that was merged after 9.6p1
https://github.com/openssh/openssh-portable/compare/V_9_6_P1...master

That didn't change the ICE behavior, but for some mysterious reason (added

just per instructions to file a bug with gcc):
CFLAGS:append:mips = " -freport-bug --save-temps"
made the build successful?
https://git.yoctoproject.org/poky-contrib/log/?h=timo/openssh-9.6p1-mips
(I also tried without the patch above to prove it is the CFLAGS that made it compilable).
Voodoo.

Quoted 131 lines
Quoted 92 lines

<https://github.com/openssh/openssh-portable/commit/1036d77b34a5fa15e56f516b81b9928006848cbd>

Quoted 5 lines
Quoted 5 lines

--Tim

On Fri, Feb 2, 2024 at 4:11 PM Tim Orling via lists.openembedded.org

Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines
Quoted 4 lines

On Fri, Feb 2, 2024 at 3:12 PM Alexandre Belloni <

Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5751/steps/13/logs/stdio

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Thank you, Alexandre. I’ll try to find a fix for this mips issue. If

anyone else stumbles on it first, I’m happy to take guidance.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines · Tim Orling
Quoted 1 line

* Relocate Upstream-Status in

0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6

https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

---
All ptests passed on core-image-ptest-openssh on qemux86-64

...regress-banner.sh-log-input-and-output-files-on-erro.patch |

4 ++--

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

.../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb} |

2 +-

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb =>

openssh_9.6p1.bb} (98%)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

diff --git

a/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch b/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

index 2c14014fed8..8763f30f4b3 100644
---

a/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

+++

b/meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Review return value: 1 · line 37

Quoted 5 lines
(quoted diff) +1 -0
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [

https://github.com/openssh/openssh-portable/pull/437]

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Review return value: 1 · line 42

Quoted 7 lines
(quoted diff) +1 -1
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [

https://github.com/openssh/openssh-portable/pull/437]

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Review

Quoted 5 lines
(quoted diff) +0 -1
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
(quoted diff) +0 -0

b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

meta/recipes-connectivity/openssh/openssh_9.6p1.bb SRC_URI = "

Quoted 7 lines

similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb index bbb8fb091ad..fa44eb0bd4e 100644

meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +0 -0
@@ -28,7 +28,7 @@ SRC_URI = "

http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \

Quoted 27 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
            "

-SRC_URI[sha256sum] =

"f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

+SRC_URI[sha256sum] =

"910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is

specific to OpenSSH with the pam opie which we don't build/use here."

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 14 lines
Quoted 8 lines

--
2.34.1

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#194892):
https://lists.openembedded.org/g/openembedded-core/message/194892
Mute This Topic: https://lists.openembedded.org/mt/103546397/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#10 lore raw
Quoted 38 lines · Tim Orling
Quoted 34 lines · Tim Orling via lists.openembedded.org
Quoted 28 lines · Khem Raj
Quoted 15 lines · Khem Raj
Quoted 13 lines · Tim Orling

The errors on mips32 are internal compiler errors (ICE):
moduli.c:814:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 progressmeter.c:238:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407 clientloop.c:1699:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407

(There are also a lot of OpenSSL 3.0 deprecation warnings, but I think the ICE are what is failing the build).

Full log.do_compile attached.

There are a handful of similar bug reports like:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820

Quoted 8 lines
Quoted 1 line

Any advice to help report this properly is appreciated. Any ideas to fix it are even better.

Looks like gcc issue but try the patch proposed in this bug
https://bugzilla.mindrot.org/show_bug.cgi?id=3645

This patch - https://bugzilla.mindrot.org/attachment.cgi?id=3776&action=diff

See if it helps.

Its also applied upstream see
https://github.com/openssh/openssh-portable/commit/1036d77b34a5fa15e56f516b81b9928006848cbd

Quoted 6 lines
Quoted 3 lines

And that was merged after 9.6p1
https://github.com/openssh/openssh-portable/compare/V_9_6_P1...master

That didn't change the ICE behavior, but for some mysterious reason (added just per instructions to file a bug with gcc):
CFLAGS:append:mips = " -freport-bug --save-temps"
made the build successful?

Can you compare the configure logs before and after adding this option ? its likely that some config option changed

Quoted 110 lines

https://git.yoctoproject.org/poky-contrib/log/?h=timo/openssh-9.6p1-mips
(I also tried without the patch above to prove it is the CFLAGS that made it compilable). Voodoo.

Quoted 106 lines
Quoted 88 lines
Quoted 88 lines
Quoted 88 lines

--Tim

Quoted 80 lines · Tim Orling via lists.openembedded.org
Quoted 2 lines · Alexandre Belloni

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/5751/steps/13/logs/stdio

Thank you, Alexandre. I’ll try to find a fix for this mips issue. If anyone else stumbles on it first, I’m happy to take guidance.

Quoted 71 lines · Tim Orling
Quoted 66 lines

* Relocate Upstream-Status in 0001-regress-banner.sh-log-input-and-output-files-on-erro.patch so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

---
All ptests passed on core-image-ptest-openssh on qemux86-64

 ...regress-banner.sh-log-input-and-output-files-on-erro.patch | 4 ++--
 .../openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb}            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/openssh/{openssh_9.5p1.bb => openssh_9.6p1.bb} (98%)
meta/recipes-connectivity/openssh/openssh/0001-regress-banner.sh-log-input-and-output-files-on-erro.patch +2 -2
index 2c14014fed8..8763f30f4b3 100644
@@ -34,13 +34,13 @@ return value: 1
 
 See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178
 
+Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
+
 Signed-off-by: Mikko Rapeli <[email protected]>
 ---
  regress/banner.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-Upstream-Status: Denied [https://github.com/openssh/openssh-portable/pull/437]
-
 diff --git a/regress/banner.sh b/regress/banner.sh
 index a84feb5a..de84957a 100644
 --- a/regress/banner.sh
meta/recipes-connectivity/openssh/openssh_9.6p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.5p1.bb +1 -2
similarity index 98%
rename from meta/recipes-connectivity/openssh/openssh_9.5p1.bb
rename to meta/recipes-connectivity/openssh/openssh_9.6p1.bb
index bbb8fb091ad..fa44eb0bd4e 100644
@@ -28,7 +28,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
            file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \
            file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \
            "
-SRC_URI[sha256sum] = "f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b"
+SRC_URI[sha256sum] = "910211c07255a8c5ad654391b40ee59800710dd8119dd5362de09385aa7a777c"
 
 CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here."
 
--

2.34.1

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194892): https://lists.openembedded.org/g/openembedded-core/message/194892
Mute This Topic: https://lists.openembedded.org/mt/103546397/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-