Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60003 - Emerge gawk fails when -fweb flag is used
Summary: Emerge gawk fails when -fweb flag is used
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 16:12 UTC by Tim Leslie
Modified: 2004-08-13 15:21 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 Tim Leslie 2004-08-10 16:12:48 UTC
Emerge gawk fails when -fweb flag is used, works fine when flag removed.

Reproducible: Always
Steps to Reproduce:
1. add fweb cflag
2. emerge gawk
3.

Actual Results:  
emerge failed

Expected Results:  
compiled. (Duh?)

other cflags used:
-O2 -march=opteron -pipe -fomit-frame-pointer
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-08-12 14:53:23 UTC
Can't reproduce this bug.
[Testes with CFLAGS="-O2 -march=k8 {-pipe, -pipe -ftracer, -pipe -ftracer -fweb}"]
Did work w/ all of above combinations.

Please provide emerge info
Comment 2 Tim Leslie 2004-08-12 15:47:55 UTC
Apologies for confusion. Error occurs with COMBINATION of -fomit-frame-pointer and -fweb on gawk-3.1.3-r1

emerge gawk
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/gawk-3.1.3-r1 to /
>>> md5 src_uri ;-) gawk-3.1.3.tar.gz
>>> Unpacking source...
>>> Unpacking gawk-3.1.3.tar.gz to /var/tmp/portage/gawk-3.1.3-r1/work
 * Applying 64bitnumfile.patch...                                        [ ok ] * Using GNU config files from /usr/share/libtool
 *  Updating config.sub                                                  [ ok ] *  Updating config.guess                                                [ ok ]>>> Source unpacked.
nls
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-strip... no
checking for strip... strip
checking for egrep... grep -E
checking for bison... bison -y
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! ERROR: sys-apps/gawk-3.1.3-r1 failed.
!!! Function src_compile, Line 44, Exitcode 77
!!! (no error message)
Comment 3 Tim Leslie 2004-08-13 15:12:22 UTC
Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.3, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r12)
=================================================================
System uname: 2.6.7-gentoo-r12 x86_64 5
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=opteron -fomit-frame-pointer -fweb"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe  -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.ccccom.com http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb crypt encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla mpeg ncurses nls nogcj opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-08-13 15:21:27 UTC
Neither "-fweb" nor "-march=opteron" is valid with gcc-3.3*.
Either switch to gcc-3.4 or remove those CFLAGS i just mentioned.
INVALID.