Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35549

Summary: emerge sys-apps/util-linux-2.12-r3 failed
Product: Gentoo Linux Reporter: Alex Mishchenko <axl13>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jan.wuyts
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Mishchenko 2003-12-10 13:03:16 UTC
pivot_root.c: In function `main':
pivot_root.c:20: error: asm-specifier for variable `__sc_4' conflicts with asm c                           
lobber list
pivot_root.c: In function `pivot_root':
pivot_root.c:20: error: asm-specifier for variable `__sc_4' conflicts with asm c                           
lobber list
make[1]: *** [pivot_root] Error 1
make[1]: Leaving directory `/usr/tmp/portage/util-linux-2.12-r3/work/util-linux-2.12/mount'
make: *** [all] Error 1

!!! ERROR: sys-apps/util-linux-2.12-r3 failed.
!!! Function src_compile, Line 114, Exitcode 2
!!! emake failed 

Reproducible: Always
Steps to Reproduce:
1. emerge sys-apps/util-linux-2.12-r3
2.
3.




Gentoo Base System version 1.4.2.9
Portage 2.0.49-r18 (default-ppc-1.4, gcc-3.3.2, glibc-2.3.2-r3,
2.6.0-test11-gentoo-r1)
=================================================================
System uname: 2.6.0-test11-gentoo-r1 ppc 0
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=750 -mtune=750"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750 -mtune=750"
DISTDIR="/var/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j 2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://ftp3.linux.kiev.ua/gentoo-portage"
USE="X alsa berkdb cups dga directfb dvd encode esd fbcon foomaticdb gdbm gif
gnome gnome-libs gpm gtk gtk2 imlib java jpeg kde libwww mitshm motif mozilla
nls oggvorbis opengl oss pam pda perl png ppc python qt readline sdl slang ssl
tcpd truetype xv"
Comment 1 Luca Barbato gentoo-dev 2003-12-11 04:03:12 UTC
My random guess is that you are using something wrong with system includes or gcc.

There are KNOWN issue gcc-3.3.x that's why none are marked ppc/~ppc.

please try again with gcc-3.2.3 and report back if happens the same (I tried here locally with gcc-3.2.3 and everything is fine)
Comment 2 David Holm (RETIRED) gentoo-dev 2004-02-15 06:57:42 UTC
Do you still have this problem with 2.12-r4 or can we close this bug?
Comment 3 Jan Wuyts 2004-03-02 13:51:54 UTC
I am still using gcc-2.95.3-r7 (the system is otherwise up to date though)
for me the error message is a bit different:

gcc -c -O2 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1   -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring llseek.c -o llseek.o
llseek.c: In function `_llseek':
llseek.c:40: more than 10 operands in `asm'
make[1]: *** [llseek.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/util-linux-2.12-r3/work/util-linux-2.12/fdisk'
make: *** [all] Error 1

!!! ERROR: sys-apps/util-linux-2.12-r3 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! emake failed

configuration details:
$ emerge info
!!! Using `which gcc` to gcc locate version, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.50-r1 (default-ppc-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r9, 2.6.3-benh2)
=================================================================
System uname: 2.6.3-benh2 ppc 750FX
Gentoo Base System version 1.4.3.10
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache userpriv"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X berkdb bonobo crypt dga dvd esd freetype gdbm gif gnome gnome-libs gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libwww mitshm motif mozilla mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppc python qt readline samba sdl slang socks5 ssl tcltk tcpd tetex tiff truetype xml xml2 xv"
Comment 4 Luca Barbato gentoo-dev 2004-03-03 07:17:22 UTC
1, check your kernel headers they have to be up to date
2, check your binutils it should be updated too.
Comment 5 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 14:45:04 UTC
please reopen this bug if the problem persists.