From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 14 May 2001 21:51:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 14 May 2001 21:50:58 -0400 Received: from hq.fsmlabs.com ([209.155.42.197]:46353 "EHLO hq.fsmlabs.com") by vger.kernel.org with ESMTP id ; Mon, 14 May 2001 21:50:46 -0400 Date: Mon, 14 May 2001 19:51:26 -0600 From: Cort Dougan To: linux-kernel@vger.kernel.org Subject: Re: BUG: 2.4.4 fails to compile for PPC Message-ID: <20010514195126.G12060@ftsoj.fsmlabs.com> In-Reply-To: <20010514145257.A11088@real-time.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010514145257.A11088@real-time.com>; from tanner@real-time.com on Mon, May 14, 2001 at 02:52:57PM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org You can get a working tree from www.fsmlabs.com/linuxppcbk.html or just apply the patches in ftp.kernel.org/pub/linux/kernel/people/cort/ If you have any trouble with that, let me know. } [1.] One line summary of the problem: } 2.4.4 fails to compile for G3 ppc } } [2.] Full description of the problem/report: } make[1]: Entering directory `/usr/src/linux-2.4.4/arch/ppc/kernel' } gcc -D__KERNEL__ -I/usr/src/linux-2.4.4/include -Wall -Wstrict-prototypes -O2 } -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char } -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring } -Wa,-mppc64bridge -DEXPORT_SYMTAB -c ppc_ksyms.c } ppc_ksyms.c:335: `down_read_failed' undeclared here (not in a function) } ppc_ksyms.c:335: initializer element is not constant } ppc_ksyms.c:335: (near initialization for `__ksymtab_down_read_failed.value') } ppc_ksyms.c:336: `down_write_failed' undeclared here (not in a function) } ppc_ksyms.c:336: initializer element is not constant } ppc_ksyms.c:336: (near initialization for `__ksymtab_down_write_failed.value') } make[1]: *** [ppc_ksyms.o] Error 1 } make[1]: Leaving directory `/usr/src/linux-2.4.4/arch/ppc/kernel' } make: *** [_dir_arch/ppc/kernel] Error 2 } } [3.] Keywords (i.e., modules, networking, kernel): } kernel, failed compile, PPC, ppc, Mac G3 } } [4.] Kernel version (from /proc/version): } Linux seeker 2.2.17-0.6.1 #1 Thu Jun 29 15:15:56 CDT 2000 ppc unknown } } [5.] Output of Oops.. message (if applicable) with symbolic information } resolved (see Documentation/oops-tracing.txt) } } [6.] A small shell script or example program which triggers the } problem (if possible) } } [7.] Environment } [7.1.] Software (add the output of the ver_linux script here) } Linux seeker 2.2.17-0.6.1 #1 Thu Jun 29 15:15:56 CDT 2000 ppc unknown } } Gnu C 2.95.2 } Gnu make 3.79.1 } binutils 2.9.5.0.22 } util-linux 2.10f } mount 2.10r } modutils 2.3.10-pre1 } e2fsprogs 1.18 } pcmcia-cs 3.1.8 } PPP 2.3.11 } Linux C Library 2.1.3 } Dynamic linker (ldd) 2.1.3 } Procps 2.0.6 } Net-tools 1.54 } Console-tools 0.3.3 } Sh-utils 2.0 } Modules Loaded ip_masq_vdolive ip_masq_user ip_masq_raudio ip_masq_quake } ip_masq_portfw ip_masq_mfw ip_masq_irc ip_masq_ftp ip_masq_cuseeme } ip_masq_autofw } } [7.2.] Processor information (from /proc/cpuinfo): } processor : 0 } cpu : 750 } temperature : 0 C } clock : 267MHz } revision : 2.2 } bogomips : 534.12 } zero pages : total 0 (0Kb) current: 0 (0Kb) hits: 0/647 (0%) } machine : Power Macintosh } motherboard : AAPL,PowerMac G3 MacRISC } L2 cache : 512K unified pipelined-syncro-burst } memory : 160MB } pmac-generation : OldWorld } } [7.3.] Module information (from /proc/modules): } ip_masq_vdolive 1880 0 (unused) } ip_masq_user 3448 0 (unused) } ip_masq_raudio 3592 0 (unused) } ip_masq_quake 1880 0 (unused) } ip_masq_portfw 3208 0 (unused) } ip_masq_mfw 4616 0 (unused) } ip_masq_irc 2040 0 (unused) } ip_masq_ftp 3096 0 (unused) } ip_masq_cuseeme 1528 0 (unused) } ip_masq_autofw 3272 0 (unused) } } [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) } } [7.5.] PCI information ('lspci -vvv' as root) } 00:00.0 Host bridge: Motorola MPC106 [Grackle] (rev 40) } Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- } Stepping- SERR- FastB2B- } Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- } SERR- TAbort- } SERR- | Phone : (952)943-8700 } http://www.mn-linux.org | Fax : (952)943-8500 } Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 } } - } To unsubscribe from this list: send the line "unsubscribe linux-kernel" in } the body of a message to majordomo@vger.kernel.org } More majordomo info at http://vger.kernel.org/majordomo-info.html } Please read the FAQ at http://www.tux.org/lkml/