Summary: | dev-libs/gmp-4.2.1-r1: Text relocations when using -freorder-blocks-and-partition | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | bugs.gentoo.devel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
scanelf-textrel.log
/stage3/var/log/portage/dev-libs:gmp-4.2.1-r1:20070809-180311.log /stage3/var/tmp/portage/dev-libs/gmp-4.2.1-r1/work/gmp-4.2.1/config.log /stage3/var/tmp/portage/dev-libs/gmp-4.2.1-r1/temp/scanelf-textrel.log |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
![]() Created attachment 126090 [details]
scanelf-textrel.log
HOMEPAGE should be "http://gmplib.org". you cant just file curt bug reports like this because they're usually useless for starters, you need to start including `emerge --info` in every report Portage 2.2_pre7397 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6-r0, 2.6.21-suspend2-r6-AFTA i686) ================================================================= System uname: 2.6.21-suspend2-r6-AFTA i686 AMD Sempron(tm) Processor 2800+ Gentoo Base System release 1.12.10 Timestamp of tree: Thu, 26 Jul 2007 19:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17.50.0.17 sys-devel/gcc-config: 1.4.0 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -freorder-blocks-and-partition" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -freorder-blocks-and-partition" DISTDIR="/usr/portage/distfiles" FEATURES="buildsyspkg ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl http://gentoo.ynet.sk/pub http://mirror.gentoo.no http://mirrors.evolva.ro/gentoo http://ftp.du.se/pub/os/gentoo http://ftp.linux.ee/pub/gentoo/distfiles ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.lug.ro/gentoo http://src.gentoo.pl" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu,--sort-common,-z,relro" LINGUAS="pl en la lt" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/manifest1_obsolete --prune-empty-dirs" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi alsa arts audiofile bash-completion berkdb bzip2 cairo caps cddb cdparanoia cdr cracklib crypt cscope ctype cups curl curlwrappers dbus directfb dri dts dvb dvd dvdr dvdread emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb ftp gcj gd gdbm ggi gif glut gmp gnutls gpm graphviz gstreamer gtk guile hal hardened iconv idn imagemagick imlib ipv6 java javascript jbig jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lash lcms ldap libcaca lm_sensors mad matroska matrox memlimit mhash mikmod mime mmap mmx mng motif mp3 mpeg mpi mplayer musepack ncurses netcdf nls nptl nsplugin odbc ogg openal openexr opengl pam pcntl pcre pda pdf perl png portaudio posix ppds profile python qt3 qt4 quicktime rdesktop readline recode ruby sasl scanner sdl session sharedmem shorten simplexml slang slp sndfile soap sockets speex spell sqlite sse sse2 ssl svg svga symlink szip tcl tcpd theora threads tiff tk truetype unicode usb vcd vim-syntax vorbis win32codecs wmf wxwindows x264 x86 xcomposite xine xml xmlrpc xpm xprint xsl xv xvid zlib" ALSA_CARDS="hda-intel virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="pl en la lt" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS USE=hardened is not supported on non-hardened profiles (In reply to comment #5) > USE=hardened is not supported on non-hardened profiles I rebuilt world with USE="-hardened". Text relocations are created only with -freorder-blocks-and-partition, but it doesn't mean that -freorder-blocks-and-partition is bad, but that -freorder-blocks-and-partition reveals a bug in GMP's source code. your toolchain was built with USE=hardened. any results from your system is suspect and not reliable. i built gmp on my x86 system without a problem with the CFLAGS you cited. feel free to investigate. (In reply to comment #7) > your toolchain was built with USE=hardened. No. See ${PORTDIR}/profiles/default-linux/package.use.mask. Steps to reproduce: cd / wget ftp://gentoo.po.opole.pl/releases/x86/2007.0/stages/stage3-i686-2007.0.tar.bz2 mkdir stage3 cd /stage3 tar -xjpvf /stage3-i686-2007.0.tar.bz2 mkdir usr/portage mount -o bind /usr/portage usr/portage chroot . /bin/bash echo 'CFLAGS="${CFLAGS} -freorder-blocks-and-partition"' >> /etc/make.conf echo 'CXXFLAGS="${CXXFLAGS} -freorder-blocks-and-partition"' >> /etc/make.conf emerge gmp so post the actual full build log and the config.log files as attachments Created attachment 127387 [details]
/stage3/var/log/portage/dev-libs:gmp-4.2.1-r1:20070809-180311.log
Created attachment 127388 [details]
/stage3/var/tmp/portage/dev-libs/gmp-4.2.1-r1/work/gmp-4.2.1/config.log
Created attachment 127391 [details]
/stage3/var/tmp/portage/dev-libs/gmp-4.2.1-r1/temp/scanelf-textrel.log
# ebuild /usr/portage/dev-libs/gmp/gmp-4.2.1-r1.ebuild unpack &>/dev/null # grep -Er "try|catch|throw" /var/tmp/portage/dev-libs/gmp-4.2.1-r1/work/gmp-4.2.1/cxx # *** Bug 236054 has been marked as a duplicate of this bug. *** Works fine for me. (probably because we have new versions of everything now) |