Compiling mldonkey (2.6.5 and older versions) on a my gentoo-hardened pc, produce this warnings: >>> Install mldonkey-2.6.5.20051023 into /var/tmp/portage/mldonkey-2.6.5.20051023/image/ category net-p2p man: prepallstrip: strip: i586-pc-linux-gnu-strip --strip-unneeded strip: i586-pc-linux-gnu-strip --strip-unneeded usr/bin/mlnet usr/bin/mlnet will contain runtime text relocations Text relocations require a lot of extra work to be preformed by the dynamic linker which will cause serious performance impact on IA-32 and might not function properly on other architectures hppa for example. If you are a programmer please take a closer look at this package and consider writing a patch which addresses this problem. Same message for: usr/bin/get_range usr/bin/subconv usr/bin/make_torrent usr/bin/mld_hash usr/bin/copysources But... on another NON-hardened gentoo box, all works as expected. There is a related bugreport (on mldonkey bugzilla system) https://savannah.nongnu.org/bugs/?func=detailitem&item_id=13356 Reproducible: Always Steps to Reproduce: 1. 2. 3. --> emerge info (HARDENED gentoo box) Portage 2.0.51.22-r3 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i586) ================================================================= System uname: 2.6.13-gentoo-r3 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-mcpu=k6-2 -O2 -fomit-frame-pointer -fforce-addr -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=k6-2 -O2 -fomit-frame-pointer -fforce-addr -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://pandemonium.tiscali.de/pub/gentoo/" LANG="it_IT@euro" LC_ALL="it_IT@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="berkdb crypt dlloader gd hardened libwww ncurses nls nptl offensive pam perl pic png python readline samba ssl tcpd udev unicode userlocales x86 xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS --> emerge info (NON-hardened gentoo box) Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.5-r2, 2.6.13-suspend2-r5 i686) ================================================================= System uname: 2.6.13-suspend2-r5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.90GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -Os -pipe -fforce-addr -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -Os -pipe -fforce-addr -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ ftp://ftp.citkit.ru/pub/Linux/gentoo ftp://ftp.romnet.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/gentopia" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aalib acpi alsa avi berkdb bitmap-fonts bzip2 crypt cups curl dbus divx4linux dvd dvdread emboss encode esd fbsplash firefox flac foomaticdb gd gdbm gif glut gnome gpm gstreamer gtk gtk2 hal howl imagemagick imlib java jpeg libg++ libwww mad mikmod mmx mmxext mp3 mpeg ncurses network nls nptl nsplugin offensive ogg oggvorbis opengl oss pam pdflib perl png pnp ppds ppp python quicktime readline real rtc samba sdl slang spell sqlite sse ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode userlocales v4l2 vorbis wmf xml xml2 xprint xv xvid zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
i don't think i'm able do something with this:| reasigning to hardened
There are infact alot of QA problems with this package but they are not fixable by the hardened team at this time. The core of the problem is that mldonkey uses ocaml and it produces improper code for hardened envionments. CANTFIX
# Here are the totals on x86. /usr/bin/mlnet contains 92331 text relocations /usr/bin/mld_hash contains 29170 text relocations /usr/bin/get_range contains 28947 text relocations /usr/bin/copysources contains 22453 text relocations /usr/bin/make_torrent contains 51708 text relocations /usr/bin/subconv contains 22729 text relocations # In the following functions. copysources: atan2 copysources: caml_exn_End_of_file copysources: caml_exn_Failure copysources: caml_exn_Invalid_argument copysources: caml_exn_Not_found copysources: caml_exn_Sys_error copysources: caml_gc_regs copysources: caml_int32_ops copysources: caml_nativeint_ops copysources: caml_young_limit copysources: caml_young_ptr copysources: cos copysources: exp copysources: floor copysources: fmod copysources: log copysources: sin get_range: atan2 get_range: caml_exn_End_of_file get_range: caml_exn_Failure get_range: caml_exn_Invalid_argument get_range: caml_exn_Not_found get_range: caml_exn_Sys_error get_range: caml_gc_regs get_range: caml_int32_ops get_range: caml_nativeint_ops get_range: caml_young_limit get_range: caml_young_ptr get_range: cos get_range: exp get_range: floor get_range: fmod get_range: log get_range: sin get_range: sqrt make_torrent: atan2 make_torrent: caml_exn_End_of_file make_torrent: caml_exn_Failure make_torrent: caml_exn_Invalid_argument make_torrent: caml_exn_Not_found make_torrent: caml_exn_Sys_error make_torrent: caml_gc_regs make_torrent: caml_int32_ops make_torrent: caml_nativeint_ops make_torrent: caml_young_limit make_torrent: caml_young_ptr make_torrent: cos make_torrent: exp make_torrent: floor make_torrent: fmod make_torrent: log make_torrent: pow make_torrent: sin make_torrent: sqrt mld_hash: atan2 mld_hash: caml_exn_End_of_file mld_hash: caml_exn_Failure mld_hash: caml_exn_Invalid_argument mld_hash: caml_exn_Not_found mld_hash: caml_exn_Sys_error mld_hash: caml_gc_regs mld_hash: caml_int32_ops mld_hash: caml_nativeint_ops mld_hash: caml_young_limit mld_hash: caml_young_ptr mld_hash: cos mld_hash: exp mld_hash: floor mld_hash: fmod mld_hash: log mld_hash: sin mld_hash: sqrt mlnet: atan2 mlnet: caml_exn_End_of_file mlnet: caml_exn_Failure mlnet: caml_exn_Invalid_argument mlnet: caml_exn_Not_found mlnet: caml_exn_Sys_error mlnet: caml_gc_regs mlnet: caml_int32_ops mlnet: caml_nativeint_ops mlnet: caml_young_limit mlnet: caml_young_ptr mlnet: cos mlnet: exp mlnet: floor mlnet: fmod mlnet: log mlnet: pow mlnet: sin mlnet: sqrt subconv: atan2 subconv: caml_exn_End_of_file subconv: caml_exn_Failure subconv: caml_exn_Invalid_argument subconv: caml_exn_Not_found subconv: caml_exn_Sys_error subconv: caml_gc_regs subconv: caml_int32_ops subconv: caml_nativeint_ops subconv: caml_young_limit subconv: caml_young_ptr subconv: cos subconv: exp subconv: floor subconv: fmod subconv: log subconv: sin subconv: sqrt
the status on this I'm thinking should be changed from cantfix to later. A solution could exist if a dev was motivated to make it work.
later 2006-2007