Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122076 - mozilla-firefox-1.5.0.1 doesn't build with gcc
Summary: mozilla-firefox-1.5.0.1 doesn't build with gcc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 21:59 UTC by Jon Howell
Modified: 2006-02-08 01:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Howell 2006-02-07 21:59:50 UTC
I can't emerge firefox-1.5.0.1 with my gcc. Config log blames an unknown option "-fno-reorder-functions". I commented the following line out of the ebuild and it now appears to be building happily. (I don't know, however, whether that could cause any mischief.)

    #append-flags -freorder-blocks -fno-reorder-functions

I rated this bug as severe because 1.5.0.1 is needed by all firefox users as a security fix.

------- here's my C compiler:

eustace mozilla-firefox # gcc --version
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
------- Here's config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
configure:945: checking host system type
configure:966: checking target system type
configure:984: checking build system type
configure:1059: checking for mawk
configure:1059: checking for gawk
configure:1157: checking for nsinstall
configure:2105: checking for gcc
configure:2218: checking whether the C compiler (gcc  -mcpu=pentium3 -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions ) works
configure:2234: gcc -o conftest  -mcpu=pentium3 -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions  -DARON_WAS_HERE  conftest.c  1>&5
cc1: unrecognized option `-fno-reorder-functions'
configure: failed program was:
 
#line 2229 "configure"
#include "confdefs.h"
 
main(){return(0);}

-------- here's emerge --info

eustace mozilla-firefox # emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.2.3, glibc-2.3.2-r1, 2.6.9-gentoo-r9-skas3-v7 i686)
=================================================================
System uname: 2.6.9-gentoo-r9-skas3-v7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10
dev-lang/python:     2.2.3-r1, 2.3.4, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r1, 1.5.2-r7
virtual/os-headers:  2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl doc eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg kde lcms libcaca libg++ libwww mad maildir matroska mhash mikmod mng motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis openal opengl oss pam pcre pdflib perl png ppds python qemu-fast qt quicktime readline scanner sdl slang softmmu spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-08 01:23:59 UTC
Your toolchain is *way* outdated, you are missing a couple of automake and autoconf versions, have bogus libtool-1.4.3-r1, wrong linux-headers (2.4.19 with 2.6 kernel) etc. etc. etc.

We can't support such system.