Bug 121773 - cln-1.1.10 doesn't build w/ -ftracer using gcc4 (4.0.3)
Bug#: 121773 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: chris.fairles@gmail.com
Component: Applications
URL: 
Summary: cln-1.1.10 doesn't build w/ -ftracer using gcc4 (4.0.3)
Keywords:  
Status Whiteboard: 
Opened: 2006-02-05 19:58 0000
Description:   Opened: 2006-02-05 19:58 0000
Using -ftracer resulted in 

{standard input}:190: Error: symbol `cl_module__cl_prin_globals__ctorend' is
already defined

removing it from cflags and cln builds properly

emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.3-20060126,
glibc-2.3.6-r2, 2.6.15-archck3 i686)
=================================================================
System uname: 2.6.15-archck3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -pipe
-fvisibility-inlines-hidden -Wl,-O1"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/
http://cudlug.cudenver.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/
http://www.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa audiofile avi bash-completion berkdb bitmap-fonts
bluetooth bzip2 cdr crypt cscope cups dbus dvd dvdr dvdread eds emacs encode
fbcon ffmpeg foomaticdb ftp gdbm gif ginac gpm gstreamer gtk gtk2 hal
imagemagick imlib java javascript jpeg libg++ libwww lm_sensors mad mikmod mmx
motif mp3 mpeg ncurses nptl nsplugin nvidia ogg oggvorbis opengl pam pcmcia pdf
pdflib perl png ppds python quicktime readline samba sdl sndfile spell sse sse2
ssl svg tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts
unicode usb v4l vorbis wifi win32codecs xine xml2 xmms xv xvid zlib elibc_glibc
input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux
userland_GNU video_cards_nv video_cards_nvidia video_cards_v4l"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS

------- Comment #1 From André Terpstra 2006-04-06 20:52:14 0000 -------
Problem and solution confirmed on gcc-4.1.0 (and ~amd64). gcc-3.4.6 and lower
did not have this AFAIK.Shouldn't this flag be filtered by the ebuild?

------- Comment #2 From Marcus D. Hanwell 2006-04-15 07:38:12 0000 -------
I have filtered -ftracer in 1.1.10 now and also 1.1.11 which I just bumped.
This closes this bug.