Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82964 - app-admin/watchdog compile fails
Summary: app-admin/watchdog compile fails
Status: RESOLVED DUPLICATE of bug 79939
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 07:58 UTC by Thomas Beutin
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 Thomas Beutin 2005-02-22 07:58:27 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -O2 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe -c quotactl.c
quotactl.c: In function `quotactl':
quotactl.c:41: error: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [quotactl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/watchdog-5.2/work/watchdog-5.2/src'
make: *** [all-recursive] Error 1

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 20 2005, 13:49:53)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://portage/gentoo-portage"
USE="apache2 apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode
ethereal f77 font-server foomaticdb fortran gd gdbm gif gnome gpm hardened
imagemagick imlib ipv6 jpeg kde ldap libg++ libwww mad mikmod milter mmx motif
mpeg ncurses nls nptl oggvorbis opengl oss pdflib perl php pic pie png pnp
postgres python qt quicktime readline ruby sasl sdl snmp spell ssl svga tcpd
threads tiff truetype truetype-fonts trusted type1-fonts unicode vhost wmf x86
xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-02-23 18:18:07 UTC
tone down your cflags and see if that helps.
Comment 2 Thomas Beutin 2005-02-24 01:58:54 UTC
doesn't helps. Could it be the one of the USE flags: hardened pie pic ?

# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 20 2005, 13:49:53)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i386"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i386"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://portage/gentoo-portage"
USE="apache2 apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode ethereal f77 font-server foomaticdb fortran gd gdbm gif gnome gpm hardened imagemagick imlib ipv6 jpeg kde ldap libg++ libwww mad mikmod milter mmx motif mpeg ncurses nls nptl oggvorbis opengl oss pdflib perl php pic pie png pnp postgres python qt quicktime readline ruby sasl sdl snmp spell ssl svga tcpd threads tiff truetype truetype-fonts trusted type1-fonts unicode vhost wmf x86 xml xml2 xmms xv zlib"Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

error message:
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -O2 -march=i386 -c quotactl.c
quotactl.c: In function `quotactl':
quotactl.c:41: error: can't find a register in class `BREG' while reloading `asm'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -O2 -march=i386 -c shutdown.c
make[1]: *** [quotactl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/watchdog-5.2/work/watchdog-5.2/src'
make: *** [all-recursive] Error 1
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-25 03:04:51 UTC
try using a non-hardened gcc via gcc-config.
Comment 4 SpanKY gentoo-dev 2005-02-25 06:13:36 UTC

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