Re: 2.6.22-rc1-mm1
From: Mariusz Kozlowski <hidden>
Date: 2007-05-20 10:13:13
Hello, I tried it on iMac G3. I got a bunch of warnings and finally it failed to build. WARNING: "fee_restarts" [arch/powerpc/kernel/built-in] is COMMON symbol WARNING: "ee_restarts" [arch/powerpc/kernel/built-in] is COMMON symbol WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from dt_string_start (offset 0x8) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from dt_string_end (offset 0xc) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from prom_entry (offset 0x10) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from prom (offset 0x3c) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from of_platform (offset 0x50) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from mem_reserve_cnt (offset 0x58) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from mem_reserve_map (offset 0x60) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from alloc_bottom (offset 0x64) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from ram_top (offset 0x68) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from alloc_top (offset 0x70) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from prom_scratch (offset 0x8c) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from dt_header_start (offset 0xbc) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from dt_struct_start (offset 0xc4) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from dt_struct_end (offset 0xcc) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from of_stdout_device (offset 0x11c) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from prom_initrd_start (offset 0x14c) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from prom_initrd_end (offset 0x150) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from prom_cmd_line (offset 0x15c) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from regbuf (offset 0x17c) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from rmo_top (offset 0x184) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from alloc_top_high (offset 0x18c) WARNING: arch/powerpc/kernel/built-in.o - Section mismatch: reference to .init.data:.got2 from disp_BAT (offset 0x25c) WARNING: "primary_pteg_full" [arch/powerpc/mm/built-in] is COMMON symbol WARNING: "next_slot" [arch/powerpc/mm/built-in] is COMMON symbol WARNING: "htab_hash_searches" [arch/powerpc/mm/built-in] is COMMON symbol WARNING: arch/powerpc/mm/built-in.o - Section mismatch: reference to .init.text:early_get_page from .text between 'pte_alloc_one_kernel' (at offset 0x14c4) and 'v_mapped_by_bats' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.data:mv643xx_eth_pd_devs from .text between 'mv643xx_eth_add_pds' (at offset 0xd8fe) and 'chrp_pci_fixup_winbond_ata' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.data:mv643xx_eth_pd_devs from .text between 'mv643xx_eth_add_pds' (at offset 0xd902) and 'chrp_pci_fixup_winbond_ata' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.data:.got2 from (offset 0x0) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.data:.got2 from bootx_dt_strend (offset 0x4) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.data:.got2 from bootx_node_chosen (offset 0x30) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.data:.got2 from bootx_info (offset 0x34) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.data:.got2 from bootx_disp_path (offset 0x40) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:pmac_probe from .machine.desc between 'mach_powermac' (at offset 0x4) and 'mach_chrp' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:pmac_setup_arch from .machine.desc between 'mach_powermac' (at offset 0x8) and 'mach_chrp' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:pmac_init_early from .machine.desc between 'mach_powermac' (at offset 0xc) and 'mach_chrp' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:pmac_pic_init from .machine.desc between 'mach_powermac' (at offset 0x18) and 'mach_chrp' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:pmac_time_init from .machine.desc between 'mach_powermac' (at offset 0x44) and 'mach_chrp' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:pmac_calibrate_decr from .machine.desc between 'mach_powermac' (at offset 0x5c) and 'mach_chrp' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:pmac_pcibios_after_init from .machine.desc between 'mach_powermac' (at offset 0xc4) and 'mach_chrp' WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:chrp_probe from .machine.desc after 'mach_chrp' (at offset 0xd0) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:chrp_setup_arch from .machine.desc after 'mach_chrp' (at offset 0xd4) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:chrp_init_IRQ from .machine.desc after 'mach_chrp' (at offset 0xe4) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:chrp_time_init from .machine.desc after 'mach_chrp' (at offset 0x110) WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.text:chrp_init2 from .machine.desc after 'mach_chrp' (at offset 0x170) WARNING: drivers/built-in.o - Section mismatch: reference to .init.data:chipsfb_fix from .text between 'chipsfb_pci_init' (at offset 0x54402) and 'chipsfb_set_par' WARNING: drivers/built-in.o - Section mismatch: reference to .init.data:chipsfb_fix from .text between 'chipsfb_pci_init' (at offset 0x5440a) and 'chipsfb_set_par' WARNING: drivers/built-in.o - Section mismatch: reference to .init.data:chipsfb_var from .text between 'chipsfb_pci_init' (at offset 0x5441a) and 'chipsfb_set_par' WARNING: drivers/built-in.o - Section mismatch: reference to .init.data:chipsfb_var from .text between 'chipsfb_pci_init' (at offset 0x54422) and 'chipsfb_set_par' [snip] BOOTCC arch/powerpc/boot/treeboot-ebony.o BOOTCC arch/powerpc/boot/prpmc2800.o BOOTCC arch/powerpc/boot/empty.o HOSTCC arch/powerpc/boot/addnote HOSTCC arch/powerpc/boot/hack-coff HOSTCC arch/powerpc/boot/mktree WRAP arch/powerpc/boot/zImage.chrp WRAP arch/powerpc/boot/zImage.pmac WRAP arch/powerpc/boot/zImage.coff ld: arch/powerpc/boot/coff.o: No such file: Nie ma takiego pliku ani katalogu nm: 'arch/powerpc/boot/zImage.coff': No such file objdump: 'arch/powerpc/boot/zImage.coff': No such file WRAP arch/powerpc/boot/zImage.miboot Building modules, stage 2. MODPOST 779 modules ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined! make[1]: *** [__modpost] Blad 1 make: *** [modules] Blad 2 The bug causing the above error message is also present in 2.6.22-rc2 (verified). PS. The config (attached) is from debian 2.6.8 powerpc + make oldconfig. Regards, Mariusz processor : 0 cpu : 740/750 temperature : 47-49 C (uncalibrated) clock : 400MHz revision : 2.2 (pvr 0008 0202) bogomips : 796.67 machine : PowerMac2,1 motherboard : PowerMac2,1 MacRISC2 MacRISC Power Macintosh detected as : 66 (iMac FireWire) pmac flags : 00000005 L2 cache : 512K unified memory : 256MB pmac-generation : NewWorld Gnu C 4.1.2 Gnu make 3.81 binutils 2.17 util-linux 2.12r mount 2.12r module-init-tools 3.3-pre2 e2fsprogs 1.40-WIP Linux C Library 2.3.6 Dynamic linker (ldd) 2.3.6 Procps 3.2.7 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 5.97 Modules Loaded ipv6 af_packet joydev tsdev evdev eth1394 tulip crc32 ohci1394 ieee1394 uninorth_agp agpgart dm_snapshot dm_mirror dm_mod snd_powermac snd_pcm_oss snd_pcm snd_page_alloc snd_mixer_oss snd_seq_oss snd_seq_device snd_seq_midi_event snd_seq snd_timer snd soundcore ide_cd cdrom ext3 jbd mbcache usbhid uhci_hcd ohci_hcd usbcore ide_disk unix