Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130161 - [4.1/ICE] fontforge 20060408 fails when building with -O3 -ftracer -fPIC
Summary: [4.1/ICE] fontforge 20060408 fails when building with -O3 -ftracer -fPIC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR28243
Whiteboard:
Keywords:
: 137341 159960 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-16 05:14 UTC by Federico Fissore
Modified: 2007-01-04 09:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stdout while compiling (fontforge-20060408_out,105.54 KB, text/plain)
2006-04-16 05:16 UTC, Federico Fissore
Details
stderr while compiling (fontforge-20060408_err,679 bytes, text/plain)
2006-04-16 05:16 UTC, Federico Fissore
Details
Preprocessed source (ccpwmqQA.out,252.31 KB, text/plain)
2006-04-16 05:19 UTC, Federico Fissore
Details
ice.i (ice.i,697 bytes, text/plain)
2006-07-04 00:54 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Fissore 2006-04-16 05:14:26 UTC
fontforge-20060408 fails compiling. see attached out and err outputs.

Gentoo Base System version 1.12.0_pre17
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.14-gentoo-r7 i686)
=================================================================
System uname: 2.6.14-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1400MHz
dev-lang/python:     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-r2
sys-devel/binutils:  2.16.1-r2
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="-O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-Dq"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa amr apache2 apm asf avi berkdb bitmap-fonts bzip2 cairo cddb cdr cli crypt css ctype cups dba dbus djvu dri dts dv dvd dvdr dvdread dvi eds emboss encode esd expat fame fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal i8x0 ieee1394 imlib ipv6 isdnlog java javamail jikes jpeg libcaca libg++ libwww lzo mad memlimit mikmod mjpeg mmx mng mono mozilla mp3 mp4 mpeg musepack nautilus ncurses network nls nntp nptl nptlonly ogg opengl pam pcmcia pcre pdflib perl png posix pppd python quicktime readline real samba sdl session simplexml smartcard sndfile soap sockets spell spl sse sse2 ssl svg t1lib tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev vcd vorbis win32codecs wxwindows x264 xml xmms xsl xv xvid yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_fglrx video_cards_vesa"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 1 Federico Fissore 2006-04-16 05:16:03 UTC
Created attachment 84773 [details]
stdout while compiling
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-16 05:16:28 UTC
Please, don't restrict bugs without any reason.
Comment 3 Federico Fissore 2006-04-16 05:16:29 UTC
Created attachment 84774 [details]
stderr while compiling
Comment 4 Federico Fissore 2006-04-16 05:19:30 UTC
Created attachment 84775 [details]
Preprocessed source
Comment 5 Federico Fissore 2006-04-16 05:43:42 UTC
seen on the forums ( http://forums.gentoo.org/viewtopic-t-449571-highlight-fontforge.html ), I tried removing some CFLAGS

Removing CFLAG -ftracer makes fontforge compile correctly

Should that be filtered?
Comment 6 SpanKY gentoo-dev 2006-07-03 23:53:43 UTC
*** Bug 137341 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2006-07-04 00:54:31 UTC
Created attachment 90830 [details]
ice.i
Comment 8 Martin Wegner 2006-07-05 23:48:58 UTC
Removing ftracer from my CFLAGS fixes it for me, too.

Portage 2.1.1_pre1-r5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-suspend2-r7-mw i686)
=================================================================
System uname: 2.6.16-suspend2-r7-mw i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.2.3-r6, 2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -msse2 -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -msse2 -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/"
LANG="C"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ares/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d aac aalib acl alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 bzlib cdparanoia cdr cli composite crypt crypto_openssl cups curl dba dbus dedicated dga directfb divx4linux doc dri dvd dvdr eds emboss encode escreen exif expat fam fbcon ffmpeg firefox flac foomaticdb ftp gd gdbm gif gimpprint glut gnome gstreamer gtk gtk2 gtkhtml hal i8x0 idn imagemagick imap imlib insecure-savers ipv6 isdnlog jabber java jpeg jpeg2k lcms libcaca libg++ libwww mad mbox mhash mmx mmxext mng mono motif mozdevelop mozilla mozsvg mp3 mpeg mysql nautilus ncurses nls no-htdocs nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl openssl oscar oss pam pcre pdflib pear perl php png postfix pppd python qt3 qt4 quicktime readline real reflection rtc ruby samba sdl session silverxp slang spell spl sse sse2 ssl stencil-buffer svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-with-x visualization vorbis win32codecs wmf xanim xine xml xmms xorg xprint xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Federico Fissore 2006-07-06 00:39:57 UTC
latest version (fontforge 20060703) compiled successfully with gcc 4.1.1 and
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
MAKEOPTS="-j2"
LDFLAGS="-Wl,-O1"
Comment 10 Anders Storsveen 2006-07-07 04:50:15 UTC
I actually ahd to remove -ftracer myself on the newest version too, or else I got the consistency problem.
Comment 11 Anders Storsveen 2006-07-13 01:51:08 UTC
Still doesn't work for me, ftracer needs to be filtered! 

gpsdraw.c: In function 'PSDrawElipse':
gpsdraw.c:442: fatal error: internal consistency failure
compilation terminated.
Preprocessed source stored into /var/tmp/portage/fontforge-20060703-r1/temp/ccFZstPl.out file, please attach this to your bugreport.
make[1]: *** [gpsdraw.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/fontforge-20060703-r1/work/fontforge-20060703/gdraw'
make: *** [libgdraw] Error 2

!!! ERROR: media-gfx/fontforge-20060703-r1 failed.
Comment 12 SpanKY gentoo-dev 2006-07-13 20:08:34 UTC
no, the flag will not be filtered, so dont waste time asking for it
Comment 13 Maarten Billemont 2006-07-14 12:29:57 UTC
why is that exactly? Is it because this is considdered a nasty, dodgy workaround, while we ought to be trying to find the root of the problem?
Comment 14 SpanKY gentoo-dev 2006-07-14 19:16:05 UTC
exactly ... see the URL field for upstream status
Comment 15 SpanKY gentoo-dev 2006-09-13 23:16:20 UTC
will be fixed in 4.1.1-r2+
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-01-04 09:51:25 UTC
*** Bug 159960 has been marked as a duplicate of this bug. ***