Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684046 - sys-devel/binutils-2.36 and earlier : amd64 several test failures in gold testsuite
Summary: sys-devel/binutils-2.36 and earlier : amd64 several test failures in gold tes...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
: 792888 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-21 19:33 UTC by Toralf Förster
Modified: 2021-09-19 13:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.45 KB, text/plain)
2019-04-21 19:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,99.34 KB, text/plain)
2019-04-21 19:33 UTC, Toralf Förster
Details
environment (environment,105.89 KB, text/plain)
2019-04-21 19:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.17 KB, application/x-bzip)
2019-04-21 19:33 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,477.18 KB, application/x-bzip)
2019-04-21 19:33 UTC, Toralf Förster
Details
sys-devel:binutils-2.32-r1:20190419-154940.log.bz2 (sys-devel:binutils-2.32-r1:20190419-154940.log.bz2,314.13 KB, application/x-bzip)
2019-04-21 19:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,347.41 KB, application/x-bzip)
2019-04-21 19:33 UTC, Toralf Förster
Details
build log (2.36) (build.log.gz,67.98 KB, application/gzip)
2021-01-24 15:44 UTC, Andreas K. Hüttel
Details
emerge --info (2.36) (emerge-info.txt,6.58 KB, text/plain)
2021-01-24 15:44 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-04-21 19:33:00 UTC
=====================

FAILED weak undef test 4: &no_such_symbol_ is not NULL
FAIL weak_undef_test (exit status: 1)

FAIL: initpri3a

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_libressl-test_20190417-081848

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





emerge -qpvO sys-devel/binutils
[ebuild     U ] sys-devel/binutils-2.32-r1 [2.32] USE="cxx gold nls plugins test -default-gold -doc -multitarget -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-04-21 19:33:03 UTC
Created attachment 573650 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-21 19:33:06 UTC
Created attachment 573652 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-21 19:33:08 UTC
Created attachment 573654 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-21 19:33:11 UTC
Created attachment 573656 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-21 19:33:14 UTC
Created attachment 573658 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-21 19:33:17 UTC
Created attachment 573660 [details]
sys-devel:binutils-2.32-r1:20190419-154940.log.bz2
Comment 7 Toralf Förster gentoo-dev 2019-04-21 19:33:20 UTC
Created attachment 573662 [details]
temp.tbz2
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2020-07-31 15:01:36 UTC
Likely still the case (if it builds at all).
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2021-01-24 15:44:28 UTC
Created attachment 684480 [details]
build log (2.36)
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2021-01-24 15:44:50 UTC
Created attachment 684483 [details]
emerge --info (2.36)
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2021-01-24 17:51:03 UTC
(In reply to Andreas K. Hüttel from comment #9)
> Created attachment 684480 [details]
> build log (2.36)

Can you also upload work/build/gold/testsuite/testsuite/test-suite.log? (if i got the file right) It should contain precise commands and failures.
Comment 12 Toralf Förster gentoo-dev 2021-01-24 18:13:01 UTC
(In reply to Sergei Trofimovich from comment #11)
> (In reply to Andreas K. Hüttel from comment #9)
> > Created attachment 684480 [details]
> > build log (2.36)
> 
> Can you also upload work/build/gold/testsuite/testsuite/test-suite.log? (if
> i got the file right) It should contain precise commands and failures.

FWIW the attached logs.tbz2 of the origin report do contain those files too (if they were found)
Comment 13 Sergei Trofimovich (RETIRED) gentoo-dev 2021-01-24 20:33:15 UTC
Aha, I'll have a look.  Meanwhile in one of chroots I got similar failures and my gold/testsuite/test-suite.log complain about missing `dc` tool:

/var/tmp/portage/sys-devel/binutils-2.36/work/binutils-2.36/gold/testsuite/relro_test.sh: строка 63: dc: command not found
/var/tmp/portage/sys-devel/binutils-2.36/work/binutils-2.36/gold/testsuite/relro_test.sh: строка 64: dc: command not found
Comment 14 Larry the Git Cow gentoo-dev 2021-01-31 13:26:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6765872ece6b587e3ba853669c4fdbb16e29d80

commit b6765872ece6b587e3ba853669c4fdbb16e29d80
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-01-31 12:37:34 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-01-31 13:26:23 +0000

    sys-devel/binutils: add 'bc' to test depends
    
    Fixes one test: relro_test.sh
    
    Reported-by: Toralf Förster
    Bug: https://bugs.gentoo.org/684046
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-devel/binutils/binutils-2.35.1-r1.ebuild | 5 ++++-
 sys-devel/binutils/binutils-2.36.ebuild      | 5 ++++-
 sys-devel/binutils/binutils-9999.ebuild      | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2021-07-08 20:51:52 UTC
*** Bug 792888 has been marked as a duplicate of this bug. ***
Comment 16 Andreas K. Hüttel archtester gentoo-dev 2021-07-30 23:27:36 UTC
https://gitweb.gentoo.org/fork/binutils-gdb.git/commit/?h=gentoo/binutils-2.36.1&id=a33813c68018cc67cc31c87de7c6bad39142dee6

I've marked these test as "expected to fail" for the moment.

Gentoo: XFAIL 15 broken ld.gold testsgentoo/binutils-2.36.1
It seems like either the tests or ld.gold in general cannot handle
compilers built with --enable-default-pie. No fix yet, so let's ignore
these test failures for the moment. For details see the linked bugs.

Bug: https://bugs.gentoo.org/684046
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22755
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=27303
Comment 17 Larry the Git Cow gentoo-dev 2021-07-31 10:03:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5e53e35a10974597854eed59f7107d441ff4f3

commit 9d5e53e35a10974597854eed59f7107d441ff4f3
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-07-31 09:55:01 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-07-31 10:03:13 +0000

    sys-libs/binutils-libs: Bump to patchset 5, XFAIL gold tests only
    
    Bug: https://bugs.gentoo.org/684046
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/binutils-libs/Manifest                       | 2 +-
 sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e7b26244fe2fac07d1fd315a35c9ed89ebde3b

commit 37e7b26244fe2fac07d1fd315a35c9ed89ebde3b
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-07-31 09:54:15 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-07-31 10:03:10 +0000

    sys-devel/binutils-hppa64: Bump to patchset 5, XFAIL gold tests only
    
    Bug: https://bugs.gentoo.org/684046
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-devel/binutils-hppa64/Manifest                         | 2 +-
 sys-devel/binutils-hppa64/binutils-hppa64-2.36.1-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1512ef282e7e104dd61026ce90b7006a34fd60c0

commit 1512ef282e7e104dd61026ce90b7006a34fd60c0
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-07-31 09:53:39 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-07-31 10:03:07 +0000

    sys-devel/binutils: Bump to patchset 5, XFAIL gold tests only
    
    Bug: https://bugs.gentoo.org/684046
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-devel/binutils/Manifest                  | 2 +-
 sys-devel/binutils/binutils-2.36.1-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 18 Andreas K. Hüttel archtester gentoo-dev 2021-09-19 13:31:19 UTC
Tests are xfailed now.