Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64768 - Procps-3.2.3-r1 fails to build with a gcc error
Summary: Procps-3.2.3-r1 fails to build with a gcc error
Status: RESOLVED DUPLICATE of bug 63490
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 09:25 UTC by Douglas Muth
Modified: 2005-07-17 13:06 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 Douglas Muth 2004-09-20 09:25:42 UTC
While doing an 'emerge -vu world', procps fails to build with this error:

gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -march=pentium3 -O2 -pipe -finline-functions -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -frename-registers -fomit-frame-pointer -fno-inline-functions  -DSHARED=1 -fpic proc/whattime.c -o proc/whattime.o
make: Circular @PV@.2.3.so <- @PV@.2.3.so dependency dropped.
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [proc/version.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: sys-apps/procps-3.2.3-r1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

This is a problem for me because it prevents me from keeping my system up to date with the latest packages.



Reproducible: Always
Steps to Reproduce:
1. emerge -v sys-apps/procps
2. The error comes up after about 10 files have been compiled.


Actual Results:  
As stated above, the main error seems to be an issue with how GCC is called:

gcc: cannot specify -o with -c or -S and multiple compilations


Expected Results:  
Compiled successfully. :-)

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.1)
=================================================================
System uname: 2.6.1 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.80GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -finline-functions"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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="-march=pentium3 -O2 -pipe -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirrors.tds.net/gentoo 
http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups encode esd foomaticdb 
gdbm gif gnome gphoto2 gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif 
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres ppds 
python quicktime readline ruby sdl slang spell sse ssl svga tcpd truetype x86 xml2 
xmms xprint xv zlib"
Comment 1 SpanKY gentoo-dev 2004-09-20 20:24:47 UTC

*** This bug has been marked as a duplicate of 63490 ***