Opened 14 years ago

Closed 14 years ago

#62 closed bug (WontFix)

Linker Error with Hardened GCC-3.4.6-r2

Reported by: covracer@… Owned by: markybob
Priority: major Milestone:
Component: 0.5.x Version: 0.5.8.4
Keywords: Cc:

Description

I get the following error when trying to compile from source (using the Gentoo ebuild):

`.L55274' referenced in section `.gnu.linkonce.r._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent13socks5_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of build/temp.linux-i686-2.5/libtorrent/src/http_tracker_connection.o: defined in discarded section `.gnu.linkonce.t._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent13socks5_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of build/temp.linux-i686-2.5/libtorrent/src/http_tracker_connection.o

I'm using the hardened toolchain, which hasn't upgraded to GCC 4.x yet :(. This could very well be a GCC 3.x bug but I thought I'd document it here.

$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --with-arch=i686 --enable-languages=c,c++,java,treelang,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10)

Change History (1)

comment:1 Changed 14 years ago by markybob

  • Resolution set to wontfix
  • Status changed from new to closed

All 0.5 tickets are being closed. The branch is dead and won't be maintained any further.

Note: See TracTickets for help on using tickets.