Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Apr 1996 14:31:10 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        dob@nasvr1.cb.att.com
Cc:        hackers@freefall.freebsd.org
Subject:   Re: pgcc and kernels.. 
Message-ID:  <5046.828912670@time.cdrom.com>
In-Reply-To: Your message of "Sun, 07 Apr 1996 14:56:36 EDT." <9604071856.AA11581@cbsky.cb.att.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Didn't readily find the source for muldi3.c so I just grabbed a copy of the 

It's in libkern - just add two lines to your /sys/compile/FOO/Makefile
referencing the muldi3.c and muldi3.o files (it's trivial - look at
some of the other libkern entries and clone appropriately).

> > ; make kern_clock.o clock.o CC=kcc # use 2.6.3
> 
> This didn't work for me.  Couldn't find kcc, so I just gave it CC=cc.

Well, he's clearly got kcc aliased or set to cc.

> > ; make CC=gcc COPTFLAGS=-O2 # use pgcc
> 
> pgcc was installed from ports as /usr/local/bin/gcc, 
> so I used CC=/usr/local/bin/gcc, instead.

Same here.  I think he should have just called them "foocc" and
"barcc" to more properly denote the fact that the names were
arbitrary. :-)

> Kernel compiles and links ok but the resulting kernel panics out of 
> _scsi_attach during probe phase.  

Strange.  Works just fine for me (I have an AHC2940).  The only
side-effects I've noticed is messages on the console to the effect of:

Apr  7 14:13:07 time /kernel: Connection attempt to TCP 127.0.0.1:113 from 127.0.0.1:1364
Apr  7 14:13:14 time /kernel: Connection attempt to TCP 204.216.27.226:113 from 204.216.27.226:2867

Which I've never seen before.  Strange, but seemingly benign.

					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5046.828912670>