Re: [OE-core] [PATCH v3 1/3] binutils: Upgrade to 2.40 release
On Tue, Jan 24, 2023 at 12:58 AM Alexandre Belloni wrote: > > Hello, > > I guess this is the cause of this ptest failure: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/4587/steps/12/logs/stdio > > AssertionError: Failed ptests: > {'elfutils': ['run-native-test.sh']} > > > /usr/lib/elfutils/ptest/tests/funcretval: dwfl_module_return_value_location: > cannot handle DWARF type description > FAIL: run-native-test.sh I have looked into this a bit and it looks like a problem in elfutils/libdw not being able to handle DW_TAG_unspecified_type DIE which is newly generated by assembler from binutils 2.40 release. These DIEs are present in objects made out of assembly files in glibc which are used during linking. So they also get into binaries but libdw from elfutils is not able to handle them and thats why we get this test failure. I have filed a bug for upstream elfutils [1] We can wait for this to be resolved or exclude this test case for now from ptests and move ahead. I am fine either way. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=30047 > > > On 20/01/2023 10:11:12-0800, Khem Raj wrote: > > On Fri, Jan 20, 2023 at 3:47 AM Luca Ceresoli > > wrote: > > > > > > Hi Khem, > > > > > > On Thu, 19 Jan 2023 15:51:39 -0800 > > > "Khem Raj" wrote: > > > > > > > Signed-off-by: Khem Raj > > > > > > I'm afraid this time the patch does _really_ not apply, and the simple > > > sorcery I did for v1 and v2 is not working anymore. If you could > > > recreate the patches based on a clean oe-core master branch that would > > > be good. > > > > I have pushed the related patchset to a branch on poky-contrib here > > > > https://git.yoctoproject.org/poky-contrib/log/?h=kraj/binutils-2.40 > > > > Let me know how it goes. > > > > > > > > Thank you! > > > > > > -- > > > Luca Ceresoli, Bootlin > > > Embedded Linux and Kernel engineering > > > https://bootlin.com > > > > > > > > > > -- > 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 (#176335): https://lists.openembedded.org/g/openembedded-core/message/176335 Mute This Topic: https://lists.openembedded.org/mt/96390083/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v3 1/3] binutils: Upgrade to 2.40 release
Hello, I guess this is the cause of this ptest failure: https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/4587/steps/12/logs/stdio AssertionError: Failed ptests: {'elfutils': ['run-native-test.sh']} /usr/lib/elfutils/ptest/tests/funcretval: dwfl_module_return_value_location: cannot handle DWARF type description FAIL: run-native-test.sh On 20/01/2023 10:11:12-0800, Khem Raj wrote: > On Fri, Jan 20, 2023 at 3:47 AM Luca Ceresoli > wrote: > > > > Hi Khem, > > > > On Thu, 19 Jan 2023 15:51:39 -0800 > > "Khem Raj" wrote: > > > > > Signed-off-by: Khem Raj > > > > I'm afraid this time the patch does _really_ not apply, and the simple > > sorcery I did for v1 and v2 is not working anymore. If you could > > recreate the patches based on a clean oe-core master branch that would > > be good. > > I have pushed the related patchset to a branch on poky-contrib here > > https://git.yoctoproject.org/poky-contrib/log/?h=kraj/binutils-2.40 > > Let me know how it goes. > > > > > Thank you! > > > > -- > > Luca Ceresoli, Bootlin > > Embedded Linux and Kernel engineering > > https://bootlin.com > > > -- 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 (#176326): https://lists.openembedded.org/g/openembedded-core/message/176326 Mute This Topic: https://lists.openembedded.org/mt/96390083/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v3 1/3] binutils: Upgrade to 2.40 release
On Fri, Jan 20, 2023 at 3:47 AM Luca Ceresoli wrote: > > Hi Khem, > > On Thu, 19 Jan 2023 15:51:39 -0800 > "Khem Raj" wrote: > > > Signed-off-by: Khem Raj > > I'm afraid this time the patch does _really_ not apply, and the simple > sorcery I did for v1 and v2 is not working anymore. If you could > recreate the patches based on a clean oe-core master branch that would > be good. I have pushed the related patchset to a branch on poky-contrib here https://git.yoctoproject.org/poky-contrib/log/?h=kraj/binutils-2.40 Let me know how it goes. > > Thank you! > > -- > Luca Ceresoli, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176225): https://lists.openembedded.org/g/openembedded-core/message/176225 Mute This Topic: https://lists.openembedded.org/mt/96390083/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v3 1/3] binutils: Upgrade to 2.40 release
Hi Khem, On Thu, 19 Jan 2023 15:51:39 -0800 "Khem Raj" wrote: > Signed-off-by: Khem Raj I'm afraid this time the patch does _really_ not apply, and the simple sorcery I did for v1 and v2 is not working anymore. If you could recreate the patches based on a clean oe-core master branch that would be good. Thank you! -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176185): https://lists.openembedded.org/g/openembedded-core/message/176185 Mute This Topic: https://lists.openembedded.org/mt/96390083/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-