Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158438 - dev-libs/elfutils-0.127 fails test on alpha/sparc, previous version didn't
Summary: dev-libs/elfutils-0.127 fails test on alpha/sparc, previous version didn't
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 02:22 UTC by Stefaan De Roeck (RETIRED)
Modified: 2008-04-20 08:13 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefaan De Roeck (RETIRED) gentoo-dev 2006-12-18 02:22:16 UTC
both on gcc 3.4.6 and gcc 4.1.1.  Seems like alpha is a not so well-known architecture anymore for this package... or at least its tests.  I don't known enough about this to solve it by myself.  

Maybe this is not so serious, feel free to mark invalid  

PASS: run-strip-test6.sh
PASS: run-ecp-test.sh
PASS: run-ecp-test2.sh
PASS: run-elflint-test.sh
unknown machine type 36902
section [ 3] '.hash': entry size does not match Elf32_Word
section [ 3] '.hash': chain array not large enough
section [ 3] '.hash': hash bucket reference 0 out of bounds
section [23] '.sdata' contains unknown flag(s) 0x10000000
section [24] '.sbss' contains unknown flag(s) 0x10000000
FAIL: run-elflint-self.sh
PASS: run-ranlib-test.sh
ranlib: elf32_getshdr.c:96: elf64_getshdr: Assertion `ehdr->e_ident[5] != 1 || (! 0 && (ehdr->e_shoff & (__alignof__ (Elf64_Shdr) - 1)) != 0)' failed.
./test-subr.sh: line 65: 29370 Aborted                 LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" "$@"
FAIL: run-ranlib-test2.sh
ranlib: elf32_getshdr.c:96: elf64_getshdr: Assertion `ehdr->e_ident[5] != 1 || (! 0 && (ehdr->e_shoff & (__alignof__ (Elf64_Shdr) - 1)) != 0)' failed.
./test-subr.sh: line 65: 29379 Aborted                 LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" "$@"
FAIL: run-ranlib-test3.sh
PASS: run-ranlib-test4.sh
PASS: run-addrscopes.sh
PASS: run-strings-test.sh
PASS: run-funcscopes.sh
PASS: run-find-prologues.sh
PASS: run-allregs.sh
PASS: msg_tst
PASS: asm-tst1
PASS: asm-tst2
PASS: asm-tst3
PASS: asm-tst4
PASS: asm-tst5
PASS: asm-tst6
PASS: asm-tst7
PASS: asm-tst8
PASS: asm-tst9
=====================================================
3 of 47 tests failed
Please report to http://bugzilla.redhat.com/bugzilla/
=====================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/extra/var/tmp/portage/elfutils-0.118/work/elfutils-0.118/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/extra/var/tmp/portage/elfutils-0.118/work/elfutils-0.118/tests'
make: *** [check-recursive] Error 1

!!! ERROR: dev-libs/elfutils-0.118 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_test
  ebuild.sh, line 986:   Called src_test
  elfutils-0.118.ebuild, line 57:   Called die

!!! test failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2007-03-10 20:55:07 UTC
0.125 fails 4 tests on Alpha.

PASS: run-ecp-test.sh
PASS: run-ecp-test2.sh
PASS: run-elflint-test.sh
section [22] '.sdata' contains unknown flag(s) 0x10000000
section [23] '.sbss' contains unknown flag(s) 0x10000000
*** failure in ../src/addr2line
FAIL: run-elflint-self.sh
PASS: run-ranlib-test.sh
testfile19 testfile19.index differ: char 57, line 2
FAIL: run-ranlib-test2.sh
testfile20 testfile20.index differ: char 9, line 2
FAIL: run-ranlib-test3.sh
PASS: run-ranlib-test4.sh
PASS: run-addrscopes.sh
PASS: run-strings-test.sh
PASS: run-funcscopes.sh
PASS: run-find-prologues.sh
PASS: run-allregs.sh
PASS: run-readelf-test1.sh
./allregs: dwfl_module_register_names: no backend registers known
FAIL: run-native-test.sh
PASS: run-bug1-test.sh
PASS: msg_tst
PASS: asm-tst1
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-06-28 13:48:47 UTC
@toolchain: any ideas?

0.127 still fails the same tests kloeri posted
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2007-07-16 13:26:21 UTC
There are more arches affected

vapier: Debian uses 0.128 and uses it's own patchset which contains specific archs fixes. Using their patches no tests fail.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2007-07-16 21:47:27 UTC
2 tests have been failing for ages on hppa; run-elflint-self.sh and run-native-test.sh:

unsupported OS ABI e_ident[7] == 'Linux'
invalid machine flags: 0x210
section [ 8] '.rela.dyn': relocation 0: invalid type
section [ 8] '.rela.dyn': relocation 1: invalid type
section [ 8] '.rela.dyn': relocation 2: invalid type
section [ 9] '.rela.plt': relocation 0: invalid type
section [ 9] '.rela.plt': relocation 1: invalid type
section [ 9] '.rela.plt': relocation 2: invalid type
section [ 9] '.rela.plt': relocation 3: invalid type
section [ 9] '.rela.plt': relocation 4: invalid type
section [ 9] '.rela.plt': relocation 5: invalid type
section [ 9] '.rela.plt': relocation 6: invalid type
section [ 9] '.rela.plt': relocation 7: invalid type
section [ 9] '.rela.plt': relocation 8: invalid type
section [ 9] '.rela.plt': relocation 9: invalid type
section [ 9] '.rela.plt': relocation 10: invalid type
section [ 9] '.rela.plt': relocation 11: invalid type
section [ 9] '.rela.plt': relocation 12: invalid type
section [ 9] '.rela.plt': relocation 13: invalid type
section [ 9] '.rela.plt': relocation 14: invalid type
section [ 9] '.rela.plt': relocation 15: invalid type
section [ 9] '.rela.plt': relocation 16: invalid type
section [ 9] '.rela.plt': relocation 17: invalid type
section [ 9] '.rela.plt': relocation 18: invalid type
section [ 9] '.rela.plt': relocation 19: invalid type
section [ 9] '.rela.plt': relocation 20: invalid type
section [ 9] '.rela.plt': relocation 21: invalid type
section [ 9] '.rela.plt': relocation 22: invalid type
section [ 9] '.rela.plt': relocation 23: invalid type
section [ 9] '.rela.plt': relocation 24: invalid type
section [ 9] '.rela.plt': relocation 25: invalid type
section [ 9] '.rela.plt': relocation 26: invalid type
section [ 9] '.rela.plt': relocation 27: invalid type
section [ 9] '.rela.plt': relocation 28: invalid type
section [ 9] '.rela.plt': relocation 29: invalid type
section [ 9] '.rela.plt': relocation 30: invalid type
section [ 9] '.rela.plt': relocation 31: invalid type
section [ 9] '.rela.plt': relocation 32: invalid type
section [ 9] '.rela.plt': relocation 33: invalid type
section [ 9] '.rela.plt': relocation 34: invalid type
section [21] '.plt': size not multiple of entry size
section [36] '.symtab': symbol 70: unknown type
*** failure in ../src/addr2line
FAIL: run-elflint-self.sh

[...]

./allregs: dwfl_module_register_names: no backend registers known
FAIL: run-native-test.sh

No regression there, just something that was never well polished for HPPA in the first place. :)
Comment 5 SpanKY gentoo-dev 2008-04-20 08:13:14 UTC
should be fixed with elfutils-0.131-r2