AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<bill.fisher@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	4AEF64D8.8010906@lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 2 Nov 2009 15:08:11 -0800
From: Andrew Sharp <andy.sharp@lsi.com>
To: William Fisher <bill.fisher@lsi.com>
Subject: Re: [Fwd: Re: missing symbols] Kernel build failure
Message-ID: <20091102150811.5c0b662a@ripper.onstor.net>
In-Reply-To: <4AEF64D8.8010906@lsi.com>
References: <4AEF64D8.8010906@lsi.com>
Organization: LSI
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Okay, I will just ifdef LATER this then, and it will get fixed up with
your changelist.


\On Mon, 2 Nov 2009 16:01:44 -0700 William Fisher <bill.fisher@lsi.com>
wrote:

> 
> 
> -------- Original Message --------
> Subject: Re: missing symbols
> Date: Mon, 19 Oct 2009 15:23:57 -0600
> From: William Fisher <bill.fisher@lsi.com>
> To: Sharp, Andy <Andy.Sharp@lsi.com>
> CC: Fisher, Bill <Bill.Fisher@lsi.com>
> References: <20091019141139.7a80e327@ripper.onstor.net>
> 
> Andrew Sharp wrote:
> > Bill,
> > 
> > I found the output from the build.  I want to talk about how we
> > approach this, however, because I'd like to make one, 1, ONE, of
> > these symbols be in the acpu and/or ncpu threads, and push all other
> > functionality down below that symbol so we don't have to have a
> > bunch of these weak symbols in the acpu and ncpu threads.
> > 
> > .
> > .
> > .
> >   GEN     .version
> >   CHK     include/linux/compile.h
> >   UPD     include/linux/compile.h
> >   CC      init/version.o
> >   LD      init/built-in.o
> >   LD      .tmp_vmlinux1
> > mipsel-linux-gnu-ld: Dwarf Error: found dwarf version '0', this
> > reader only handles version 2 information. drivers/built-in.o: In
> > function `$L129': drivers/mgmt-bus/rcon.c:(.text+0x40310):
> > undefined reference to `eee_poll'
> > drivers/mgmt-bus/rcon.c:(.text+0x40310): relocation truncated to
> > fit: R_MIPS_26 against `eee_poll' mipsel-linux-gnu-ld: Dwarf Error:
> > found dwarf version '0', this reader only handles version 2
> > information. net/built-in.o: In function `$LVL195':
> 
> This is in eee-poll.c
> 
> .. depotFile
> //depot/tuxrx/linux/kernel/linux-mips-2.6/net/neteee2/eee-poll.c
> ... clientFile
> /homes/bfisher/work/fisher-tuxstor/tuxrx/linux/kernel/linux-mips-2.6/net/neteee2/eee-poll.c
> ... isMapped
> ... headAction delete
> ... headType text
> ... headTime 1251854291
> ... headRev 2
> ... headChange 33271
> ... headModTime 0
> ... action add
> ... change 33512
> ... type text
> ... actionOwner bfisher
> 
> 
> 
> > net/neteee/neteee.c:(.text+0xa1190): undefined reference to
> > `eee_rcv_pkt' net/neteee/neteee.c:(.text+0xa1190): relocation
> > truncated to fit: R_MIPS_26 against `eee_rcv_pkt' net/built-in.o:
> > In function `$L183':
> 
> 	This is in the new eee forwarding code, in the change list:
> 
> bfisher-linux: 1398>p4 opened ... |grep eee-fwd.c
> //depot/tuxrx/linux/kernel/linux-mips-2.6/net/neteee2/eee-fwd.c#2 -
> add change 33512 (text)
> 
> 
> 
> > net/neteee/neteee.c:(.text+0xa11f8): undefined reference to
> > `eee_txrxIsPktToNcpu_kernel'
> 
>   > net/neteee/neteee.c:(.text+0xa11f8): relocation truncated to fit:
> R_MIPS_26 against `eee_txrxIsPktToNcpu_kernel'
>   > make: *** [.tmp_vmlinux1] Error 1
> 
> 
> Same as the above;
> 
> bfisher-linux: 1398>p4 opened ... |grep eee-fwd.c
> //depot/tuxrx/linux/kernel/linux-mips-2.6/net/neteee2/eee-fwd.c#2 -
> add change 33512 (text)
> bfisher-linux: 1399>grep eee_txrxIsPktToNcpu_kernel *.c
> eee-fwd.c: * Name:      eee_txrxIsPktToNcpu_kernel
> eee-fwd.c:eee_txrxIsPktToNcpu_kernel(uint32 dp, uint32 sp)
> 
> 
> > net/neteee/neteee.c:(.text+0xa11f8): relocation truncated to fit:
> > R_MIPS_26 against `eee_txrxIsPktToNcpu_kernel' make: ***
> > [.tmp_vmlinux1] Error 1
> 
> 
> Hence all of these should be resolved with the changelist. If not
> something is either missing from that list OR the acpu.c code is
> bogus. If you have the acpu.c code in my tree that is fine.
> 
> It appears the changes to the acpu.c file is missing from the
> change list;
> 
> bfisher-linux: 1409>p4 fstat onstor/acpu.c
> ...
> depotFile //depot/tuxrx/linux/kernel/linux-mips-2.6/net/onstor/acpu.c ...
> clientFile /homes/bfisher/work/fisher-tuxstor/tuxrx/linux/kernel/linux-mips-2.6/net/onstor/acpu.c
> ... isMapped
> ... headAction edit
> ... headType text
> ... headTime 1251854291
> ... headRev 2
> ... headChange 33271
> ... headModTime 1251503719
> ... ... otherOpen0 andys@ripper
> ... ... otherAction0 edit
> ... ... otherChange0 33334
> ... ... otherOpen 1
> 
> 
> My changelist number is 33512
> 
> 
> 
> 
> 
