64bit: C++ templates (was: gcc vs. harfbuzz)

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Thu Apr 18 02:51:00 GMT 2013


On 2013-04-16 00:14, Yaakov (Cygwin/X) wrote:
> harfbuzz (since at least 0.9.12) is failing to link with gcc-4.8.0-1 on
> x86_64:
>
> http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/harfbuzz

gcc-4.8.0-2 does NOT solve this, and boost is also affected:

git clone --recursive 
git://cygwin-ports.git.sourceforge.net/gitroot/cygwin-ports/boost

Dependencies are gcc-g++, libicu-devel, python, python3.

bin.v2/libs/regex/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/instances.o:instances.cpp:(.rdata+0x158): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZN5boost9re_detail12perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_14c_regex_traitsIcEEEEE15match_startmarkEv'
bin.v2/libs/regex/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/instances.o:instances.cpp:(.rdata+0x15c): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZN5boost9re_detail12perl_matcherIPKcSaINS_9sub_matchIS3_EEENS_12regex_traitsIcNS_14c_regex_traitsIcEEEEE15match_startmarkEv'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: 
bin.v2/libs/regex/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/instances.o: 
bad reloc address 0x160 in section `.rdata'
collect2: error: ld returned 1 exit status

bin.v2/libs/locale/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/win32/numeric.o:numeric.cpp:(.rdata+0x254): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZNK5boost6locale4util15base_num_formatIwE11do_real_putIdEESt19ostreambuf_iteratorIwSt11char_traitsIwEES8_RSt8ios_basewT_'
bin.v2/libs/locale/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/win32/numeric.o:numeric.cpp:(.rdata+0x258): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZNK5boost6locale4util15base_num_formatIwE11do_real_putIdEESt19ostreambuf_iteratorIwSt11char_traitsIwEES8_RSt8ios_basewT_'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: 
bin.v2/libs/locale/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/win32/numeric.o: 
bad reloc address 0x25c in section `.rdata'
collect2: error: ld returned 1 exit status

bin.v2/libs/math/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/cyl_bessel_k.o:cyl_bessel_k.cpp:(.rdata+0x13c): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZN5boost12basic_formatIcSt11char_traitsIcESaIcEE5parseERKSs'
bin.v2/libs/math/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/cyl_bessel_k.o:cyl_bessel_k.cpp:(.rdata+0x140): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZN5boost12basic_formatIcSt11char_traitsIcESaIcEE5parseERKSs'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: 
bin.v2/libs/math/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/cyl_bessel_k.o: 
bad reloc address 0x144 in section `.rdata'
collect2: error: ld returned 1 exit status

bin.v2/libs/math/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/cyl_bessel_kf.o:cyl_bessel_kf.cpp:(.rdata+0x15c): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZN5boost12basic_formatIcSt11char_traitsIcESaIcEE5parseERKSs'
bin.v2/libs/math/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/cyl_bessel_kf.o:cyl_bessel_kf.cpp:(.rdata+0x160): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZN5boost12basic_formatIcSt11char_traitsIcESaIcEE5parseERKSs'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: 
bin.v2/libs/math/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/cyl_bessel_kf.o: 
bad reloc address 0x164 in section `.rdata'
collect2: error: ld returned 1 exit status

bin.v2/libs/serialization/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/xml_iarchive.o:xml_iarchive.cpp:(.rdata+0xe0): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZNK5boost7archive9iterators18dataflow_exception4whatEv'
bin.v2/libs/serialization/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/xml_iarchive.o:xml_iarchive.cpp:(.rdata+0xe4): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZNK5boost7archive9iterators18dataflow_exception4whatEv'
bin.v2/libs/serialization/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/xml_iarchive.o:xml_iarchive.cpp:(.rdata+0x48): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZNK5boost7archive9iterators18dataflow_exception4whatEv'
bin.v2/libs/serialization/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/xml_iarchive.o:xml_iarchive.cpp:(.rdata+0x4c): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZNK5boost7archive9iterators18dataflow_exception4whatEv'
bin.v2/libs/serialization/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/xml_iarchive.o:xml_iarchive.cpp:(.rdata+0x50): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZNK5boost7archive9iterators18dataflow_exception4whatEv'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: 
bin.v2/libs/serialization/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/xml_iarchive.o: 
bad reloc address 0x0 in section 
`.pdata$_ZN5boost7archive6detail15common_iarchiveINS0_12xml_iarchiveEE5vloadERNS0_12version_typeE'
collect2: error: ld returned 1 exit status

bin.v2/libs/wave/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/instantiate_re2c_lexer.o:instantiate_re2c_lexer.cpp:(.rdata+0x18c): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZN5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6assignEPKc'
bin.v2/libs/wave/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/instantiate_re2c_lexer.o:instantiate_re2c_lexer.cpp:(.rdata+0x190): 
relocation truncated to fit: R_X86_64_PC32 against 
`.text$_ZN5boost4wave4util11flex_stringIcSt11char_traitsIcESaIcENS1_9CowStringINS1_22AllocatorStringStorageIcS5_EEPcEEE6assignEPKc'
/usr/lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld: 
bin.v2/libs/wave/build/gcc-4.8.0/release/pch-off/python-2.7/threading-multi/instantiate_re2c_lexer.o: 
bad reloc address 0x194 in section `.rdata'
collect2: error: ld returned 1 exit status





More information about the Cygwin-developers mailing list