Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27480 - Binutils-2.14.90.0.6-r1 Fails to compile
Summary: Binutils-2.14.90.0.6-r1 Fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-28 08:35 UTC by Lisa Seelye (RETIRED)
Modified: 2003-09-14 21:55 UTC (History)
1 user (show)

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 Lisa Seelye (RETIRED) gentoo-dev 2003-08-28 08:35:24 UTC
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -Os -mcpu=k6-2 -funroll-loops -pipe -I. -I./../include  
-W -Wall -Wtraditional -pedantic -fpic physmem.c -o pic/physmem.o; \
else true; fi
physmem.c: In function `physmem_total':
physmem.c:96: storage size of `pss' isn't known
physmem.c:97: warning: implicit declaration of function `pstat_getstatic'
physmem.c:96: warning: unused variable `pss'
physmem.c: In function `physmem_available':
physmem.c:200: storage size of `pss' isn't known
physmem.c:201: storage size of `psd' isn't known
physmem.c:202: warning: function `pstat_getstatic' was previously declared 
within a block
physmem.c:203: warning: implicit declaration of function `pstat_getdynamic'
physmem.c:200: warning: unused variable `pss'
physmem.c:201: warning: unused variable `psd'
distcc[30492] ERROR: compile on 192.168.0.2/4 failed
make[1]: *** [physmem.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.
6-r1/work/binutils-2.14.90.0.6/libiberty'
make: *** [all-libiberty] Error 2
make: *** Waiting for unfinished jobs....
creating doc/Makefile
creating po/Makefile.in
creating config.h
creating po/Makefile.in
creating config.h
creating doc/Makefile
creating .gdbinit
creating po/Makefile.in
creating config.h
 
!!! ERROR: sys-devel/binutils-2.14.90.0.6-r1 failed.
!!! Function src_compile, Line 99, Exitcode 2
!!! (no error message)


Portage 2.0.49-r1 (selinux-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,2.3.1-r4, 2.4.
20-hardened-r4)
=================================================================
System uname: 2.4.20-hardened-r4 i586 AMD-K6(tm) 3D processor
distcc 2.10 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache userpriv"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 zlib -3dfx -3dnow aalib acl -acpi -afs -alsa -apache2 -apm -arts -atlas 
-avi berkdb -bonobo -canna -cdr -cjk crypt -cscope -cups -curl -directfb -doc 
-dvd -dvb -emacs -encode -esd -ethereal -ev6 -evo -fbcon -firebird -flash 
-foomaticdb freetds -freewnn -gd -gd -gdbm -ggi -gif -gnome -gphoto2 -gpm -gps 
-gstreamer -gtk -gtk2 -gtkhtml -guile -icc -icc-pro -imap -imlib innodb informix 
ipv6 -jack -java -jikes -joystick -jpeg junit -kde -kerberos -krb4 -ladcca -lcms 
ldap -leim libg++ -libgda -libwww -lirc -mad maidir -matrix -mbox -mcal -mikmod 
memlimit mmx -motif -mozilla -mpeg mpi -mule -mysql -nas ncurses nhc98 -nls 
-nocardbus -nocd oci8 odbc -oggvorbis -opengl -oss pam -pcmcia -pda -ppds 
-pdflib perl -plotutils -png postgres -bindist prelude python -qt -quicktime 
readline -ruby -samba sasl -scanner -sdl slang -slp -snmp -socks5 -spell -sse 
ssl -svga -tcltk -tcpd -tetex -tiff -truetype -trusted -usb -videos -voodoo3 
-wavelan -wmf -wxindows -X -Xaw3d -xface -xinerama -xosd xml xml2 -xmms -xv 
selinux"


bug 27478 has the same error at the same point
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-01 11:40:25 UTC
Get a non selinux system and try again.  Seemant, who do we check selinux
stuff for ?
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-09-01 15:08:57 UTC
I had success after I made these changes made to the system:

o emerge -C hardened-gcc
(and afterwards after)
o Add -fstack-protector to CFLAGS

So:


Portage 2.0.49-r2 (selinux-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-hardened-r4)
=================================================================
System uname: 2.4.20-hardened-r4 i586 AMD-K6(tm) 3D processor
distcc 2.10 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe -fstack-protector"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache userpriv"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 zlib -3dfx -3dnow aalib acl -acpi -afs -alsa -apache2 -apm -arts -atlas -avi berkdb -bonobo -canna -cdr -cjk crypt -cscope -cups -curl -directfb -doc -dvd -dvb -emacs -encode -esd -ethereal -ev6 -evo -fbcon -firebird -flash -foomaticdb freetds -freewnn -gd -gd -gdbm -ggi -gif -gnome -gphoto2 -gpm -gps -gstreamer -gtk -gtk2 -gtkhtml -guile -icc -icc-pro -imap -imlib innodb informix ipv6 -jack -java -jikes -joystick -jpeg junit -kde -kerberos -krb4 -ladcca -lcms ldap -leim libg++ -libgda -libwww -lirc -mad maidir -matrix -mbox -mcal -mikmod memlimit mmx -motif -mozilla -mpeg mpi -mule -mysql -nas ncurses nhc98 -nls -nocardbus -nocd oci8 odbc -oggvorbis -opengl -oss pam -pcmcia -pda -ppds -pdflib perl -plotutils -png postgres -bindist prelude python -qt -quicktime readline -ruby -samba sasl -scanner -sdl slang -slp -snmp -socks5 -spell -sse ssl -svga -tcltk -tcpd -tetex -tiff -truetype -trusted -usb -videos -voodoo3 -wavelan -wmf -wxindows -X -Xaw3d -xface -xinerama -xosd xml xml2 -xmms -xv selinux"
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2003-09-03 12:16:58 UTC
Martin, this isn't really an issue anymore.  It compiles now (as does -r2).

Close this bug if you'd like....
Comment 4 Lisa Seelye (RETIRED) gentoo-dev 2003-09-14 21:55:55 UTC
Isn't an issue.  Reopen if you want, Martin, but its working now.