Date: Wed, 10 Jul 2002 22:08:14 -0400 (EDT) From: Andy <andy@wantpackets.com> To: freebsd-ppc@freebsd.org Subject: Re: current -CURRENT and compiling powerpc port Message-ID: <1026353294.3d2ce88eaf694@www.wantpackets.com>
index | next in thread | raw e-mail
Quoting Benno Rice <benno@FreeBSD.org>: > On Thu, 2002-07-11 at 11:13, Andy wrote: > > Hello, > > > > > > I have kept up with -CURRENT on my ia32 laptop for a while, and > have been > > interested in the powerpc port. I have tried to compile it with the > Oct > > 18,2001 > > instructions but fail. > > > http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=19592+25100+/usr/local/www/db/text/2001/freebsd-ppc/20011021.freebsd-ppc > > I have hacked along, but still fail. I used makeoptions > -D__powerpc__ to get > > the kernel to compile past the first object. Besides this, and a > hack to a .h > > file (proc.h [can't tell line numbers in vi, but change > ar_args[] to > > ar_args[512] to get it to compile]), the sources are clean but fail > linking the > > objects. > > /sys/powerpc/compile/GENERIC/../../../kern/init_main.c:199: > undefined > > reference to `sysinit_set' > > /sys/powerpc/compile/GENERIC/../../../kern/init_main.c:323: > undefined > > reference to `aout_sysvec' > > /sys/powerpc/compile/GENERIC/../../../kern/kern_linker.c:289: > undefined > > reference to `modmetadata_set' > > etc etc... these are just a few of the errors. > > > > Anything to be done? I briefly searched the list archives but did > not find > > new compilation instructions. > > Hrm. I'm not sure. I'm running with a toolchain built out of that > port > and it seems to be ok. > > Mark (if you're watching) is there any chance of getting that powerpc > cross toolchain updated to gcc31? Or David (if _you're_ watching =)), > is there any way of making the gcc ports capable of building > cross-chains? > > -- > Benno Rice > benno@FreeBSD.org Ah, I did not use his port, I forgot to mention, I used the ports' version. (But I thought he committed it to ports, so there would be no difference..?) I used 'make MACHINE_ARCH=powerpc CC=powerpc-rtems-gcc LD=powerpc-rtems-ld NM=powerpc-rtems-nm SIZE=powerpc-rtems-size OBJCOPY=powerpc-rtems-objcopy' I have not finished downloading the 'psim-freebsd' port yet but I am not to that part yet, anyway... /var/db/pkg/powerpc-rtems-binutils-2.11.2 /var/db/pkg/powerpc-rtems-gcc-2.95.3 ...is what I have. any advice? (sounds like I must use his port.) -andrew On another note, I tried to file a pr once and was not accepted by the mail server or something heh. It is a simple ipfw segfault that no longer exists in -CURRENT but does in 4.6-RELEASE-p1. It is seen by 'ipfw add unreach' and exists because of not checking to see if a string is NULL or not. #0 0x805ce34 in strtoul () #1 0x8049e22 in fill_reject_code (codep=0xbfbff670, str=0x0) at ipfw.c:975 #2 0x804bc21 in add (ac=0, av=0xbfbffc14) at ipfw.c:1759 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1026353294.3d2ce88eaf694>
