Summary: | Groff-1.19.1-r2 emerge fails with gcc-4.1.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steve Warren <warrensg2001> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | tiago.freire |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 |
Description
Steve Warren
2006-03-09 22:20:39 UTC
works fine for me with 4.1.0 why dont you try dropping that crap from your CFLAGS and see if it works amd64, shining new chroot made to test gcc: CFLAGS="-O2 -march=k8 -ftracer -fprefetch-loop-arrays -pipe" Failed too. CFLAGS="-O2 -march=k8 -fprefetch-loop-arrays -pipe" Failed too. CFLAGS="-O2 -march=k8 -ftracer -pipe" Failed too. CFLAGS="-O2 -march=k8 -pipe" Failed too. emerge info: Portage 2.0.54 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r1 x86_64) ================================================================= System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="pt_BR en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://portage.cert-id.com.br/portage" USE="amd64 X alsa avi berkdb bitmap-fonts bzip2 crypt cups dri eds emboss encode expat foomaticdb fortran gif gmp gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls nptl opengl pam pdflib perl png python qt quicktime readline sdl spell ssl symlinks tcpd tiff truetype-fonts type1-fonts udev usb userlocales xpm xv zlib linguas_pt_BR linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY Just for the record, I removed ALL CFLAGS and the problem persists. "-O2 -march=k8" works for me with gcc-4.1.0 post a full error log: MAKEOPTS=-j1 emerge groff >& log groff-1.19.2-r1 works with gcc-4.1.0. CFLAGS="-O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -ftracer -pipe -D_FILE_OFFSET_BITS=64" CXXFLAGS="-O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -ftracer -pipe -D_FILE_OFFSET_BITS=64 -fvisibility-inlines-hidden" The errors that I listed are coding errors in the input.cpp file and have nothing to do with CFLAGS/CXXFLAGS. Apparently gcc-4.1.0 needs cleaner code than gcc-3.4.x. For now groff-1.19.2-r1 is marked ~x86, but it comiles whereas the 'stable' version does not. I confirm, groff-1.19.1-r2 fails to compile with GCC 4.1.0 whereas groff-1.19.2-r1 sucesses. (CFLAGS="-Os -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer") This seems to be simply "syntax related", like g++ and Steve just say. indeed, i'm building 1.19.2 here, not 1.19.1 I think gcc-4.1.0 should block groff 1.19.1. 1.19.2-r1 compiled fine here too. not going to happen |