DragonFly bugs List (threaded) for 2003-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: compiling profiling broken
I've fixed it locally, except for the complaint from swtch.s,
looks like you've removed CROSSJUMP, but not CROSSJUMPTARGET:
4.8:
. /i386/i386/swtch.s:195: CROSSJUMP(jnz, sw1a, jz)
. /i386/i386/swtch.s:250: CROSSJUMP(jnz, sw1a, jz)
. /i386/i386/swtch.s:369:sw1a:
. /i386/i386/swtch.s:522:CROSSJUMPTARGET(sw1a)
dragonfly:
> find . -name "swtch.s" | xargs grep sw1a
CROSSJUMPTARGET(sw1a)
It is probably immediately obvious to you what it needs.
On Sat, 19 Jul 2003, Matthew Dillon wrote:
> If someone would like a go at fixing this please do ! Else I'll tackle
> it in a week or two. p.s. there might be other issues with profiling
> due to me not being too careful in my use of 'ret' in the assembly
> ('ret' is overridden in the profiling code to do a lot more then just
> 'ret').
>
> I agree that profiling would be nice. I'm not sure how relevant it will
> be with the MP lock in place, but it should still tell us something.
>
> -Matt
> Matthew Dillon
> <dillon@xxxxxxxxxxxxx>
> -Matt
>
> :
> :Don't worry 4.6.2, and 4.8 don't work. I guess profiling isn't
> :interesting to many people nonetheless it would be nice if it worked:
> :mcount.o: In function `mcount':
> :mcount.o(.text+0x21): undefined reference to `disable_intr'
> :bioscall.o: In function `bios32':
> :bioscall.o(.text+0x1): undefined reference to `_mcount'
> :bioscall.o: In function `bios16_call':
> :bioscall.o(.text+0x71): undefined reference to `_mcount'
> :exception.o: In function `Xfpu':
> :exception.o(.text+0x15c): undefined reference to `_mcount'
> :exception.o: In function `alltraps_with_regs_pushed':
> :exception.o(.text+0x1c8): undefined reference to `_mcount'
> :exception.o: In function `calltrap':
> :exception.o(.text+0x1d4): undefined reference to `_mcount'
> :exception.o(.text+0x23c): more undefined references to `_mcount' follow
> :swtch.o: In function `tosw1a':
> :swtch.o(.text+0x1d6): undefined reference to `sw1a'
> :*** Error code 1
> :
>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]