Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: reg@orion.dwf.com ()
To: michal@gortel.phys.ualberta.ca
Subject: Re: Kernel compile with ccc?
Date: 5 Jun 2001 18:28:16 GMT	[thread overview]
Message-ID: <9fj8c0$681$1@sloth.swcp.com> (raw)
In-Reply-To: 9fj5ed$6b4$1@pulp.srv.ualberta.ca

In article <9fj5ed$6b4$1@pulp.srv.ualberta.ca>,
 michal@gortel.phys.ualberta.ca writes:
>Frank Pawlik <Frank.Pawlik@berta.net> 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


  reply	other threads:[~2001-06-05 18:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-03 14:38 Kernel compile with ccc? Marc Schlensog
2001-06-03 20:31 ` Greg Lindahl
2001-06-05  8:26   ` Frank Pawlik
2001-06-05 17:38     ` michal
2001-06-05 18:28       ` reg [this message]
2001-06-07 14:02     ` Paul Repacholi
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox