Re: building 64 bit kernel (2.6.34) on RHEL5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using the command make bzImage V=1

and looks like it defaults to x86 instead of x86_64  (output is below)

  gcc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -DLOCALE  -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c
  gcc  -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o -lncursesw
mkdir -p include/generated
scripts/kconfig/conf -s arch/x86/Kconfig
.config:621:warning: symbol value 'm' invalid for IP_DCCP_CCID3
.config:622:warning: symbol value 'm' invalid for IP_DCCP_TFRC_LIB
.config:1355:warning: symbol value 'm' invalid for FIXED_PHY
.config:1653:warning: symbol value 'm' invalid for ISDN
.config:2737:warning: symbol value 'm' invalid for RTC_INTF_SYSFS
.config:2738:warning: symbol value 'm' invalid for RTC_INTF_PROC
.config:2739:warning: symbol value 'm' invalid for RTC_INTF_DEV
.config:2761:warning: symbol value 'm' invalid for DMA_ENGINE
.config:2827:warning: symbol value 'm' invalid for GFS2_FS_LOCKING_DLM
*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Local version - append to kernel release (LOCALVERSION) []
Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n
Kernel compression mode
> 1. Gzip (KERNEL_GZIP) (NEW)
  2. Bzip2 (KERNEL_BZIP2) (NEW)
  3. LZMA (KERNEL_LZMA) (NEW)
  4. LZO (KERNEL_LZO) (NEW)

My gcc is updated to x86_64.

Any comments/feedback please.

Thanks
V.A



-----Original Message-----
>From: Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>
>Sent: Jun 25, 2010 11:07 PM
>To: ridgetwo@xxxxxxxxxxxxx
>Cc: kernelnewbies@xxxxxxxxxxxx
>Subject: Re: building 64 bit kernel (2.6.34) on RHEL5.4
>
>Hi...
>
>On Fri, Jun 25, 2010 at 22:38,  <ridgetwo@xxxxxxxxxxxxx> wrote:
>>  Now I check the arch/x86_64/boot/bzImage and see that it is symbolically linked to arch/x86/boot/bzImage.
>>
>>  file bzImage of x86/boot directory reveals that it is 32 bit executable:
>>     ../x86/boot/bzImage: Linux kernel x86 boot executable RO-rootFS, swap_dev 0x2, Normal VGA
>>
>>  However the Red Hat kernel is 64 bit. ( file  /boot/vmlinuz-2.6.18-164.11.1.el5
>> /boot/vmlinuz-2.6.18-164.11.1.el5: ELF 64-bit LSB shared object, AMD x86-64, version 1, stripped)
>
>
>perhaps you need both CONFIG_64BIT
>and CONFIG_X86_64 turned on? Try to experiment with it. And by using
>"V=1" in make, perhaps you can see closer, what parameters are passed
>to gcc.
>
>-- 
>regards,
>
>Mulyadi Santosa
>Freelance Linux trainer and consultant
>
>blog: the-hydra.blogspot.com
>training: mulyaditraining.blogspot.com


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux