| Summary: | [4.1/ICE] fontforge 20060408 fails when building with -O3 -ftracer -fPIC | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Federico Fissore <federico> |
| Component: | [OLD] Library | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | gentoo-bugs, lhunath, p.kosseff |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| URL: | http://gcc.gnu.org/PR28243 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
stdout while compiling
stderr while compiling Preprocessed source ice.i |
||
|
Description
Federico Fissore
2006-04-16 05:14:26 UTC
Created attachment 84773 [details]
stdout while compiling
Please, don't restrict bugs without any reason. Created attachment 84774 [details]
stderr while compiling
Created attachment 84775 [details]
Preprocessed source
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? *** Bug 137341 has been marked as a duplicate of this bug. *** Created attachment 90830 [details]
ice.i
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 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"
I actually ahd to remove -ftracer myself on the newest version too, or else I got the consistency problem. 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. no, the flag will not be filtered, so dont waste time asking for it 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? exactly ... see the URL field for upstream status will be fixed in 4.1.1-r2+ *** Bug 159960 has been marked as a duplicate of this bug. *** |