does it use objdump from host ?

On Wed, Jun 1, 2022 at 9:21 AM Steve Sakoman <st...@sakoman.com> wrote:
>
> On Wed, Jun 1, 2022 at 6:10 AM Richard Purdie
> <richard.pur...@linuxfoundation.org> wrote:
> >
> > On Wed, 2022-06-01 at 05:29 -1000, Steve Sakoman wrote:
> > > On Wed, Jun 1, 2022 at 12:10 AM Martin Jansa <martin.ja...@gmail.com> 
> > > wrote:
> > > >
> > > > As discussed on IRC yesterday I've tried to reproduce this failure 
> > > > locally and it works fine with poky master cee443ae75f (last commit in 
> > > > master before the upgrade to 12.1)
> > > > 2022-06-01 09:46:37,051 - oe-selftest - INFO - RESULTS - 
> > > > reproducible.ReproducibleTests.test_reproducible_builds: PASSED 
> > > > (6429.19s)
> > > > and now it passed with kirkstone as well:
> > > >
> > > > poky $ git cherry-pick 44a36caa7c2
> > > > Auto-merging meta/conf/distro/include/maintainers.inc
> > > > [jansa/kirkstone-gcc-11.3 5c6e280eed5] gcc: Upgrade to 11.3 release
> > > > ...
> > > > poky $ oe-selftest -r reproducible 2>&1 | tee 
> > > > log.oe-selftest.reproducible.kirkstone
> > > > 2022-06-01 09:51:31,653 - oe-selftest - INFO - Changing cwd to 
> > > > /OE/build/poky/build
> > > > 2022-06-01 09:51:31,653 - oe-selftest - INFO - Adding layer libraries:
> > > > 2022-06-01 09:51:31,653 - oe-selftest - INFO -  
> > > > /OE/build/poky/meta-poky/lib
> > > > 2022-06-01 09:51:31,653 - oe-selftest - INFO -  /OE/build/poky/meta/lib
> > > > 2022-06-01 09:51:31,654 - oe-selftest - INFO -  
> > > > /OE/build/poky/meta-yocto-bsp/lib
> > > > 2022-06-01 09:51:31,654 - oe-selftest - INFO -  
> > > > /OE/build/poky/meta-selftest/lib
> > > > 2022-06-01 09:51:31,655 - oe-selftest - INFO - Running bitbake -e to 
> > > > test the configuration is valid/parsable
> > > > hint: Using 'master' as the name for the initial branch. This default 
> > > > branch name
> > > > hint: is subject to change. To configure the initial branch name to use 
> > > > in all
> > > > hint: of your new repositories, which will suppress this warning, call:
> > > > hint:
> > > > hint:   git config --global init.defaultBranch <name>
> > > > hint:
> > > > hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
> > > > hint: 'development'. The just-created branch can be renamed via this 
> > > > command:
> > > > hint:
> > > > hint:   git branch -m <name>
> > > > 2022-06-01 09:51:37,091 - oe-selftest - INFO - Adding: "include 
> > > > selftest.inc" in /OE/build/poky/build-st/conf/local.conf
> > > > 2022-06-01 09:51:37,091 - oe-selftest - INFO - Adding: "include 
> > > > bblayers.inc" in bblayers.conf
> > > > 2022-06-01 09:51:37,092 - oe-selftest - INFO - test_diffoscope 
> > > > (reproducible.DiffoscopeTests)
> > > > 2022-06-01 10:08:42,982 - oe-selftest - INFO -  ... ok
> > > > 2022-06-01 10:08:42,983 - oe-selftest - INFO - test_reproducible_builds 
> > > > (reproducible.ReproducibleTests)
> > > > 2022-06-01 10:09:56,114 - oe-selftest - INFO - Building reproducibleA 
> > > > (sstate allowed)...
> > > > ^Ap2022-06-01 11:11:09,785 - oe-selftest - INFO - Building 
> > > > reproducibleB (sstate NOT allowed)...
> > > > 2022-06-01 11:55:00,507 - oe-selftest - INFO - Checking deb packages 
> > > > for differences...
> > > > 2022-06-01 11:55:00,946 - oe-selftest - INFO - Reproducibility summary 
> > > > for deb: same=139 different=0 different_excluded=0 missing=0 total=139
> > > > unused_exclusions=[]
> > > > 2022-06-01 11:55:00,946 - oe-selftest - INFO - Checking ipk packages 
> > > > for differences...
> > > > 2022-06-01 11:55:01,330 - oe-selftest - INFO - Reproducibility summary 
> > > > for ipk: same=139 different=0 different_excluded=0 missing=0 total=139
> > > > unused_exclusions=[]
> > > > 2022-06-01 11:55:01,331 - oe-selftest - INFO - Checking rpm packages 
> > > > for differences...
> > > > 2022-06-01 11:55:01,760 - oe-selftest - INFO - Reproducibility summary 
> > > > for rpm: same=139 different=0 different_excluded=0 missing=0 total=139
> > > > unused_exclusions=[]
> > > > 2022-06-01 11:55:01,760 - oe-selftest - INFO -  ... ok
> > > > 2022-06-01 11:56:29,573 - oe-selftest - INFO - 
> > > > ----------------------------------------------------------------------
> > > > 2022-06-01 11:56:29,573 - oe-selftest - INFO - Ran 2 tests in 7495.224s
> > > > 2022-06-01 11:56:29,573 - oe-selftest - INFO - OK
> > > > 2022-06-01 11:56:31,723 - oe-selftest - INFO - RESULTS:
> > > > 2022-06-01 11:56:31,724 - oe-selftest - INFO - RESULTS - 
> > > > reproducible.DiffoscopeTests.test_diffoscope: PASSED (1025.89s)
> > > > 2022-06-01 11:56:31,724 - oe-selftest - INFO - RESULTS - 
> > > > reproducible.ReproducibleTests.test_reproducible_builds: PASSED 
> > > > (6378.78s)
> > > > 2022-06-01 11:56:31,881 - oe-selftest - INFO - SUMMARY:
> > > > 2022-06-01 11:56:31,881 - oe-selftest - INFO - oe-selftest () - Ran 2 
> > > > tests in 7495.225s
> > > > 2022-06-01 11:56:31,881 - oe-selftest - INFO - oe-selftest - OK - All 
> > > > required tests passed (successes=2, skipped=0, failures=0, errors=0)
> > > >
> > > > Is it possible that the reproducibility failure was caused by something 
> > > > else included in your run on autobuilder?
> > >
> > > It is quite possible that it is host distro specific, I've seen that
> > > quite often in the past.  Let me know which distro you used for your
> > > test and I'll try the same on the autobuilder.
> >
> > Keep in mind that the test uses sstate to compare against so even that
> > isn't a guarantee of identifying the issue.
> >
> > Did you try the strings comparison I suggested? Do you have the file
> > section tables comparison (diff) I could look at?
>
> Are you referring to the section header info from objdump -h ?
>
> If so I've attached the a/b info, they are quite compact.
>
> Steve
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166434): 
https://lists.openembedded.org/g/openembedded-core/message/166434
Mute This Topic: https://lists.openembedded.org/mt/91339755/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to