On Jan 7, 2011, at 12:09 AM, JD wrote:
The last few lines of the build output:
vour=PAE
+ InstallName=vmlinuz
+ Config=kernel-2.6.35.10-i686-PAE.config
+ DevelDir=/usr/src/kernels/2.6.35.10-74.i686.PAE
+ '[' arch/x86/boot/bzImage = vmlinux ']'
+ CopyKernel=cp
+ KernelVer=2.6.35.10-74.i686.PAE
+ 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-2.6.35.10-i686-PAE.config .config
++ cut -b 3-
++ head -1 .config
+ Arch=i386
+ echo USING ARCH=i386
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
'double_rq_lock'
kernel/sched.c:5422: error: implicit declaration of function
'double_rq_unlock'
make[1]: *** [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
--without pae?
I have saved the .config file.
Are there kernel devs on this list who could advise me on the next step
to take?
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...
--
Jarod Wilson
jarod(a)wilsonet.com