On Jan 7, 2011, at 12:09 AM, JD wrote:
The last few lines of the build output:
+ '[' arch/x86/boot/bzImage = vmlinux ']'
+ echo BUILDING A KERNEL FOR PAE i686...
BUILDING A KERNEL FOR PAE i686...
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = .10-74.i686.PAE/' Makefile
+ make -s mrproper
+ cp configs/kernel-188.8.131.52-i686-PAE.config .config
++ cut -b 3-
++ head -1 .config
+ echo USING ARCH=i386
+ make -s ARCH=i386 nonint_oldconfig
+ make -s ARCH=i386 V=1 bzImage
kernel/sched.c: In function 'init_idle':
kernel/sched.c:5397: error: implicit declaration of function
kernel/sched.c:5422: error: implicit declaration of function
make: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.quW5nA (%build)
The build command:
rpmbuild -vvv -bb --with up --without debug --without smp --without pae
--without pae_debug kernel.spec
So, why is it building for PAE when the rpmbuild arg expplicitly states
I have saved the .config file.
Are there kernel devs on this list who could advise me on the next step
See F14 kernel.spec, starting around line 100. There are no with/without
pae or pae_debug bits there, so you're passing in options that are, atm,
completely meaningless. The assorted pae bits you see in the spec are
internal-only variables. Note that --without smp doesn't do anything on
any arch but 32-bit ppc either. Really, what you want, is --with baseonly,
though it looks like the baseonly target is missing the bits to also
disable the pae build. I swear we added pae bits in at some point, but
they sure don't seem to be there right now...