From owner-freebsd-hackers Sun Apr 7 14:31:22 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA03376 for hackers-outgoing; Sun, 7 Apr 1996 14:31:22 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA03368 for ; Sun, 7 Apr 1996 14:31:16 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with SMTP id OAA05048; Sun, 7 Apr 1996 14:31:10 -0700 (PDT) To: dob@nasvr1.cb.att.com cc: hackers@freefall.freebsd.org Subject: Re: pgcc and kernels.. In-reply-to: Your message of "Sun, 07 Apr 1996 14:56:36 EDT." <9604071856.AA11581@cbsky.cb.att.com> Date: Sun, 07 Apr 1996 14:31:10 -0700 Message-ID: <5046.828912670@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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