Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935318 - dev-lang/swig-4.2.1 fails tests on hppa: cannot handle R_PARISC_PCREL17F for _ZNSt7__cxx114listI6StructSaIS1_EE6spliceESt20_List_const_iteratorIS1_ERS3_
Summary: dev-lang/swig-4.2.1 fails tests on hppa: cannot handle R_PARISC_PCREL17F for ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-02 03:41 UTC by matoro
Modified: 2024-07-04 01:44 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (file_935318.txt,154.99 KB, text/plain)
2024-07-02 03:41 UTC, matoro
Details
build.log and emerge --info (file_935318.txt,154.99 KB, text/plain)
2024-07-03 05:15 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-02 03:41:46 UTC
Created attachment 896743 [details]
build.log and emerge --info

checking python testcase li_std_list
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: li_std_list_wrap.o(.text._ZNSt7__cxx114listI6StructSaIS1_EE6insertISt20_List_const_iteratorIS1_EvEESt14_List_iteratorIS1_ES6_T_S9_[_ZNSt7__cxx114listI6StructSaIS1_EE6insertISt20_List_const_iteratorIS1_EvEESt14_List_iteratorIS1_ES6_T_S9_]+0xf8): cannot reach 00001f04__ZNSt7__cxx114listI6StructSaIS1_EE6spliceESt20_List_const_iteratorIS1_ERS3_+0, recompile with -ffunction-sections
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: li_std_list_wrap.o(.text._ZNSt7__cxx114listI6StructSaIS1_EE6insertISt20_List_const_iteratorIS1_EvEESt14_List_iteratorIS1_ES6_T_S9_[_ZNSt7__cxx114listI6StructSaIS1_EE6insertISt20_List_const_iteratorIS1_EvEESt14_List_iteratorIS1_ES6_T_S9_]+0xf8): cannot handle R_PARISC_PCREL17F for _ZNSt7__cxx114listI6StructSaIS1_EE6spliceESt20_List_const_iteratorIS1_ERS3_
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [../../../Examples/Makefile:1292: python_cpp] Error 1
make[1]: *** [Makefile:136: li_std_list.cpptest] Error 2

checking python testcase std_containers (with run test)
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: std_containers_wrap.o(.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEjRKS1_[_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEjRKS1_]+0xc8): cannot reach 00001fd7__ZNSt6vectorIS_IiSaIiEESaIS1_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS1_S3_EEjRKS1_+0, recompile with -ffunction-sections
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: std_containers_wrap.o(.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEjRKS1_[_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEjRKS1_]+0xc8): cannot handle R_PARISC_PCREL17F for _ZNSt6vectorIS_IiSaIiEESaIS1_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS1_S3_EEjRKS1_
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [../../../Examples/Makefile:1292: python_cpp] Error 1
make[1]: *** [Makefile:136: std_containers.cpptest] Error 2

checking python testcase li_std_vector (with run test)
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: li_std_vector_wrap.o(.text._ZSt8_DestroyIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_[_ZSt8_DestroyIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_]+0x50): cannot reach 000021b5__ZNSt12_Destroy_auxILb0EE9__destroyIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEEvT_S9_+0, recompile with -ffunction-sections
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: li_std_vector_wrap.o(.text._ZSt8_DestroyIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_[_ZSt8_DestroyIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_]+0x50): cannot handle R_PARISC_PCREL17F for _ZNSt12_Destroy_auxILb0EE9__destroyIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEEvT_S9_
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/13/../../../../hppa2.0-unknown-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [../../../Examples/Makefile:1292: python_cpp] Error 1
make[1]: *** [Makefile:136: li_std_vector.cpptest] Error 2
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-02 09:35:02 UTC
Does building with -mlong-calls help?
Comment 2 matoro archtester 2024-07-02 17:18:56 UTC
(In reply to Sam James from comment #1)
> Does building with -mlong-calls help?

No, doesn't help, although I can't say with certainty that the stuff in the test suite is actually respecting CFLAGS since it doesn't print the compile commands.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-03 00:36:54 UTC
Wonder if ~arch binutils helps given the hppa reloc fix in there?
Comment 4 matoro archtester 2024-07-03 05:15:47 UTC
Created attachment 896828 [details]
build.log and emerge --info

(In reply to Sam James from comment #3)
> Wonder if ~arch binutils helps given the hppa reloc fix in there?

No dice unfortunately; see attached.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-04 01:44:23 UTC
OK, thanks for trying the ideas. It'll require sitting down and properly looking then.