Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76289 - util-linux-2.12i-r1 fails to compile sfdisk.c on ppc64
Summary: util-linux-2.12i-r1 fails to compile sfdisk.c on ppc64
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-01 02:59 UTC by Harald Welte
Modified: 2005-01-02 07:07 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 Harald Welte 2005-01-01 02:59:14 UTC
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 sfdisk.c -o sfdisk.o
sfdisk.c: In function `_llseek':
sfdisk.c:184: error: asm-specifier for variable `__sc_4' conflicts with asm clobber list
sfdisk.c:184: error: asm-specifier for variable `__sc_5' conflicts with asm clobber list
sfdisk.c:184: error: asm-specifier for variable `__sc_6' conflicts with asm clobber list
sfdisk.c:184: error: asm-specifier for variable `__sc_7' conflicts with asm clobber list
make[1]: *** [sfdisk.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/util-linux-2.12i-r1/work/util-linux-2.12i/fdisk'
make: *** [all] Error 1

!!! ERROR: sys-apps/util-linux-2.12i-r1 failed.
!!! Function src_compile, Line 103, Exitcode 2


Reproducible: Always
Steps to Reproduce:
1. emerge sync (as of 2005-Jan-01)
2. emerge -b -n world (to update the whole system)

Actual Results:  
See error message above

Expected Results:  
it should have built and installed the util-linux-2.12i

I'm running on a Apple XServe ClusterNode
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2005-01-01 05:51:03 UTC
compiles fine on my G5.

could you please post your emerge info output?

Markus
Comment 2 Harald Welte 2005-01-01 07:43:33 UTC
ok, here you go:

Portage 2.0.51-r3 (default-ppc64-2004.2, gcc-3.4.1, glibc-2.3.4.20041102-r0, 2.6.8-rc3-hw1 ppc64)
=================================================================
System uname: 2.6.8-rc3-hw1 ppc64 PPC970FX, altivec supported
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64 aac aalib alsa altivec apache2 async audiofile berkdb bitmap-fonts bzlib cdparanoia cdr cdrom chroot clamav crypt cups cyrus dvd dvdr dvdread ethereal exim exiscan exiscan-acl extensions f77 foomaticdb fortran ftp gdbm gif hardened ieee1394 imlib ipv6 ipv6arpa jpeg ldap libwww lmtp lzo mailbox maildir maildrop mbox mime mitshm mpeg mpeg4 mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net nls nntp objc oggvorbis openssh pam pcap pcre pdflib perl png postgres ppc64 python readline sasl sdl serial slang ssl tcpd truetype xine xinerama xml2 xv"
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2005-01-01 08:04:44 UTC
I figured out, that this is related to the use of linux-headers instead of linux26-headers. So a work around would be switching to linux26-headers (and the 2004.3 profile).

I'll talk to tgall, what should be done to have a real solution for this. I think of removing any profiles <2004.3, but this is not my decision.

Markus
Comment 4 Tom Gall (RETIRED) gentoo-dev 2005-01-01 12:02:26 UTC
Yes Markus is quite correct. That looks to be an issue using the 24 version of the linux-headers package instead of using the linux26-headers package.  I'd emerge the later.

Regards

Tom (tgall_foo)
Comment 5 Harald Welte 2005-01-01 12:17:35 UTC
Thanks for your immediate reply.  Bug reporting to gentoo seems to be more fun than to the netfilter proeject, I never read the bugreports so quickly ;)

Anyway, using linux26-headers seems to solve my problem.

Thanks again.
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2005-01-02 07:07:20 UTC
closing