When -ftracer is enabled, sci-libs/cln-1.1.13 fails to compile. In my system, it fails when going into the base/random directory. The assembly/linker seems to get duplicate symbols. Try to reproduce step by step Reproducible: Always Steps to Reproduce: 1. Enable -ftracer in /etc/make.conf 2. emerge -v1 cln 3. Watch it fail Actual Results: cln fails to emerge and errors in base/random subfolder Expected Results: cln should compile cleanly
Please post your `emerge --info' as well as the sci-libs/cln build log.
Created attachment 165356 [details] Failed build log Failed build log
Created attachment 165358 [details] Failed build environment Failed build environment attached
And this is emerge --info ******************************************** Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686) ================================================================= System uname: 2.6.26-gentoo-r1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz Timestamp of tree: Fri, 12 Sep 2008 10:00:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -ftracer -fomit-frame-pointer" 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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe -ftracer -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/synce /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi acpi4linux aiglx alsa amr apache2 asf atm audiofile berkdb bzip2 cairo cdparanoia cdr cdrom cli cracklib crypt cups curl dbus dga dhcp divx4linux dmi dri dts dvd dvdr dvdread eds emboss encode exif expat fam ffmpeg firefox flac fortran freetype gdbm gif glitz gpg gphoto2 gpm gstreamer gtk hal iconv ifp ipod ipv6 irda isdnlog java javascript jpeg jpeg2k kde kdepim kerberos ldap libcaca live logrotate mad midi mikmod mmx mng mp3 mp4 mpeg mudflap musicbrainz mysql ncurses network nls npp nptl nptlonly ogg openexr opengl openmp oss pam pcmcia pcre pdf perl pic png pnp postgres povray ppds pppd print python qt3 qt3support qt4 quicktime radeon rdesktop readline reflection rtc ruby samba sasl scanner sdl session slp sms spell spl sse sse2 ssl stream subtitles svg synaptics tcpd threads tiff truetype type1 unicode usb vorbis wifi win32codecs x264 x86 xcomposite xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Unfortunately, I don't know enough about what -ftracer does to speculate what the problem could be. Since this flag is not really among the common/recommended Gentoo CFLAGS I would recommend that you contact upstream if you think that cln should compile fine with it. Upstream should know much better what the problem (if there is one) might be. Thanks, Markus
(In reply to comment #5) > Unfortunately, I don't know enough about what -ftracer does > to speculate what the problem could be. AFAIK, -ftracer enables allows some optimization detection during compilation. > Since this flag is > not really among the common/recommended Gentoo CFLAGS I would > recommend that you contact upstream if you think that cln > should compile fine with it. I am not personally bothered. But, if you can confirm as well that it fails, it might be a good idea to remove it when compiling cln. Or, maybe better, to force it to compile with safe standard cflags. > Upstream should know much better > what the problem (if there is one) might be. No problem. I won't chase this further. I raised it just because I lost a lot of time tracking down this problem -Arturo
(In reply to comment #6) > > Since this flag is > > not really among the common/recommended Gentoo CFLAGS I would > > recommend that you contact upstream if you think that cln > > should compile fine with it. > I am not personally bothered. But, if you can confirm as well that it fails, > it might be a good idea to remove it when compiling cln. Or, maybe better, to > force it to compile with safe standard cflags. > Sounds good and I'll have a look at it once I find some time. Thanks much, Markus
cln-1.2.2 also fails when -ftracer is enabled.
It also fails on amd64 w/ cln-1.2.2 and -ftracer.
-ftracer is now filtered-out in the ebuild. Thanks for testing!