Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74122 - lftp-3.0.12 does not compile - gcc problem with -s
Summary: lftp-3.0.12 does not compile - gcc problem with -s
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-11 11:53 UTC by Maciej Szumieluk
Modified: 2004-12-18 14:07 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 Maciej Szumieluk 2004-12-11 11:53:53 UTC
if /bin/sh ../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/include    -march=pentium3 -pipe -O2 -s -fomit-frame-pointer -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -MT ResMgr.lo -MD -MP -MF ".deps/ResMgr.Tpo" -c -o ResMgr.lo ResMgr.cc; \
then mv -f ".deps/ResMgr.Tpo" ".deps/ResMgr.Plo"; else rm -f ".deps/ResMgr.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/include    -march=pentium3 -pipe -O2 -s -fomit-frame-pointer -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -MT Filter.lo -MD -MP -MF ".deps/Filter.Tpo" -c -o Filter.lo Filter.cc; \
then mv -f ".deps/Filter.Tpo" ".deps/Filter.Plo"; else rm -f ".deps/Filter.Tpo"; exit 1; fi
ResMgr.cc: In static member function `static int ResMgr::VarNameCmp(const 
   char*, const char*)':
ResMgr.cc:79: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/lftp-3.0.12/temp/ccrJCaoC.out file, please attach this to your bugreport.
make[1]: *** [ResMgr.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
Filter.cc: In constructor `FDStream::FDStream(int, const char*)':
Filter.cc:52: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/lftp-3.0.12/temp/ccqujBbf.out file, please attach this to your bugreport.
make[1]: *** [Filter.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/lftp-3.0.12/work/lftp-3.0.12/src'
make: *** [all-recursive] Error 1

Reproducible: Didn't try
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge lftp
2.
3.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-12-11 15:07:32 UTC
please attach emerge info.

Please try emergeing withoug -s in your CFLAGS.
Comment 2 Maciej Szumieluk 2004-12-12 02:11:01 UTC
ok, i forgot about it.
# emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jul 26 2004, 13:01:23)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -pipe -O2 -s -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -pipe -O2 -s -fomit-frame-pointer"
DISTDIR="/home/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/oth/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/oth/portage"
PORTDIR_OVERLAY="/usr/myportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa avi berkdb bitmap-fonts cdr crypt cups dedicated divx4linux dvd dvdread encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml xml2 xmms xv xvid zlib linguas_pl"

# gcc --version
gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r2, ssp-3.3.2-2, pie-8.7.6)
Comment 3 Maciej Szumieluk 2004-12-12 02:24:38 UTC
without "-s" it compiles fine. thanks.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-12-18 14:07:32 UTC
-s is evil (in this gcc version)

closing this bug.