Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52084 - kernel compilation fails while recompiling
Summary: kernel compilation fails while recompiling
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
: 52086 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-26 05:02 UTC by René Marten
Modified: 2004-09-08 11:31 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 René Marten 2004-05-26 05:02:05 UTC
tried to recompile kernel after doing some changes but that failed.
also tried recompiling with the config I used before but no luck :(
always the same error:

  CC      mm/slab.o
  CC      mm/swap.o
  CC      mm/truncate.o
  CC      mm/vmscan.o
  CC      mm/fremap.o
  CC      mm/highmem.o
  CC      mm/madvise.o
  CC      mm/memory.o
  CC      mm/mincore.o
  CC      mm/mlock.o
mm/mlock.c:78: error: redefinition of `__mlock_fixup'
mm/mlock.c:50: error: `__mlock_fixup' previously defined here
mm/mlock.c:78: warning: `__mlock_fixup' defined but not used
make[1]: *** [mm/mlock.o] Error 1
make: *** [mm] Error 2

that happend also after doing an fresh emerge or make clean


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




Portage 2.0.50-r6 (hardened-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-hardened-r3)
=================================================================
System uname: 2.6.5-hardened-r3 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -Os -fstack-protector-all -fomit-frame-pointer 
-fexpensive-optimizations -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -Os -fstack-protector-all -fomit-frame-pointer 
-fexpensive-optimizations -pipe"
DISTDIR="/home/portage2/distfiles"
FEATURES="autoaddcvs ccache cvs distcc fixpackages keeptemp noauto noclean sandbox 
sfperms strict usersandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://www.ibiblio.
org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/home/portage2/packages"
PORTAGE_TMPDIR="/home/portage1/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="crypto hardened ipv6 nptl ssl x86"
Comment 1 René Marten 2004-05-26 06:30:39 UTC
*** Bug 52086 has been marked as a duplicate of this bug. ***
Comment 2 René Marten 2004-05-26 08:05:13 UTC
hmm
seems to work now after unmerging, deleting the rest and re-emerging.
Comment 3 solar (RETIRED) gentoo-dev 2004-09-08 11:26:18 UTC
worksforme
Comment 4 solar (RETIRED) gentoo-dev 2004-09-08 11:31:17 UTC
closed