From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,5faf2e993a0461f5 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-06-05 11:48:14 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!feeder.nmix.net!feeder.swcp.com!sloth.swcp.com!orion.dwf.com!reg From: reg@orion.dwf.com () Newsgroups: comp.os.linux.alpha Subject: Re: Kernel compile with ccc? Date: 5 Jun 2001 18:28:16 GMT Organization: Southwest Cyberport Message-ID: <9fj8c0$681$1@sloth.swcp.com> References: <9fe6rv$55i$1@feed.textport.net> <9fi4l4$3s9$1@crusher.de.colt.net> <9fj5ed$6b4$1@pulp.srv.ualberta.ca> NNTP-Posting-Host: orion.dwf.com X-Newsreader: xrn 9.02 To: michal@gortel.phys.ualberta.ca Xref: archiver1.google.com comp.os.linux.alpha:3017 In article <9fj5ed$6b4$1@pulp.srv.ualberta.ca>, michal@gortel.phys.ualberta.ca writes: >Frank Pawlik wrote: >> How can I compile a SRPM with CCC ? > >Redefine __cc macro in your own ~/.rpmmacros, put default optimization >flags into ~/.rpmrc ("optflags: alpha ...." ; see various files in >/usr/lib/rpm ) and 'rpm --rebuild ...'. Various spec file may >add/override some options to be gcc specific. You will have to edit >these. Obviously this will not work if a code itself is gcc specific >(like Linux kernel). > > > Michal Well, I have a similar question. Im using CC, have RedHat6.1/Alpha on the machine with a few updates. * I was UNABLE to compile 2.4.3 (I no longer remember why). * I CAN compile 2.4.4, and it runs. * Now Im trying to compile 2.4.5, and again it doesnt compile (well it compiles, but doesnt load, seems there are duplicate symbols). I havent tried building Alpha kernels recently, but thought things had settled down a couple of years ago with the Alpha compiling as well as the 386. What has happened? Any chance that things will settle down again any time soon? [[ For reference, here is the part of the Alpha compile of 2.4.5 that dies... ld -r -o kernel.o entry.o traps.o process.o osf_sys.o irq.o irq_alpha.o signal.o setup.o ptrace.o time.o semaphore.o alpha_ksyms.o irq_i8259.o irq_srm.o es1888.o smc37c669.o smc37c93x.o ns87312.o pci.o pci_iommu.o core_apecs.o core_cia.o core_irongate.o core_lca.o core_mcpcia.o core_polaris.o core_t2.o core_tsunami.o core_titan.o sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o sys_jensen.o sys_miata.o sys_mikasa.o sys_nautilus.o sys_titan.o sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o sys_sable.o sys_sio.o sys_sx164.o sys_takara.o sys_wildfire.o core_wildfire.o irq_pyxis.o sys_dp264.o: In function `tsunami_inb': sys_dp264.c(.text+0x440): multiple definition of `tsunami_inb' core_tsunami.o(.text+0x500):core_tsunami.c: first defined here sys_dp264.o: In function `clipper_map_irq': sys_dp264.c(.text+0x480): multiple definition of `tsunami_inw' core_tsunami.o(.text+0x540):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_inl': sys_dp264.c(.text+0x4c0): multiple definition of `tsunami_inl' core_tsunami.o(.text+0x580):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_outb': sys_dp264.c(.text+0x460): multiple definition of `tsunami_outb' core_tsunami.o(.text+0x520):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_outw': sys_dp264.c(.text+0x4a0): multiple definition of `tsunami_outw' core_tsunami.o(.text+0x560):core_tsunami.c: first defined here sys_dp264.o: In function `dp264_init_pci': sys_dp264.c(.text+0x4e0): multiple definition of `tsunami_outl' core_tsunami.o(.text+0x5a0):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_readb': sys_dp264.c(.text+0x540): multiple definition of `tsunami_readb' core_tsunami.o(.text+0x600):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_readw': sys_dp264.c(.text+0x560): multiple definition of `tsunami_readw' core_tsunami.o(.text+0x620):core_tsunami.c: first defined here sys_dp264.o: In function `webbrick_init_arch': sys_dp264.c(.text+0x580): multiple definition of `tsunami_readl' core_tsunami.o(.text+0x640):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_readq': sys_dp264.c(.text+0x5a0): multiple definition of `tsunami_readq' core_tsunami.o(.text+0x660):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_writeb': sys_dp264.c(.text+0x5c0): multiple definition of `tsunami_writeb' core_tsunami.o(.text+0x680):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_writew': sys_dp264.c(.text+0x5e0): multiple definition of `tsunami_writew' core_tsunami.o(.text+0x6a0):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_writel': sys_dp264.c(.text+0x600): multiple definition of `tsunami_writel' core_tsunami.o(.text+0x6c0):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_writeq': sys_dp264.c(.text+0x620): multiple definition of `tsunami_writeq' core_tsunami.o(.text+0x6e0):core_tsunami.c: first defined here sys_dp264.o: In function `tsunami_ioremap': sys_dp264.c(.text+0x500): multiple definition of `tsunami_ioremap' core_tsunami.o(.text+0x5c0):core_tsunami.c: first defined here sys_dp264.o: In function `monet_init_pci': sys_dp264.c(.text+0x520): multiple definition of `tsunami_is_ioaddr' core_tsunami.o(.text+0x5e0):core_tsunami.c: first defined here make[1]: *** [kernel.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.5/arch/alpha/kernel' make: *** [_dir_arch/alpha/kernel] Error 2 -- Reg.Clemens reg@dwf.com