1 Sep 2003 03:22
re: GCC3.3.1 switch coming soon.
matthew green <mrg <at> eterna.com.au>
2003-09-01 01:22:55 GMT
2003-09-01 01:22:55 GMT
> > i'm ready to switch sparc, sparc64, i386 & alpha ports to using GCC3.3.1 > by default. i've uploaded 4 snapshots (one per port, all cross > compiled from i386-netbsd. you can find them under > ftp.netbsd.org:/pub/NetBSD/arch/≤arch>/snapshot/snapshot-20030828-GCC3.1.1 > does kernels compile well?? while i already have 3-weeks old -current compiled with 3.3.1 with pentium optimization, i use 2.95.* from pkgsrc to compile kernels. kernels compiled with 3.3.* just reboots after loaded. i've been running gcc3 compiled everything on my new laptop for several weeks now. the only time it had gcc2 was after installing and before bootstraping with gcc3. i've seen the reports about topdown VM but i have not investigated them. someone who uses that option should, i have enough other things on my plate right now. my laptop kernel is built with: makeoptions DEBUG="-gstabs" # compile full symbol table makeoptions COPTS="-O4 -mcpu=pentium4 -march=pentium4" .mrg.
, all cross
> compiled from i386-netbsd. you can find them under
> ftp.netbsd.org:/pub/NetBSD/arch/≤arch>/snapshot/snapshot-20030828-GCC3.1.1
>
does kernels compile well??
while i already have 3-weeks old -current compiled with 3.3.1 with pentium
optimization, i use 2.95.* from pkgsrc to compile kernels.
kernels compiled with 3.3.* just reboots after loaded.
i've been running gcc3 compiled everything on my new laptop for several
weeks now. the only time it had gcc2 was after installing and before
bootstraping with gcc3. i've seen the reports about topdown VM but i
have not investigated them. someone who uses that option should, i
have enough other things on my plate right now. my laptop kernel is
built with:
makeoptions DEBUG="-gstabs" # compile full symbol table
makeoptions COPTS="-O4 -mcpu=pentium4 -march=pentium4"
.mrg.
Well I can tell you how I got around the problem:
When you have a look to error.h line 50 where the error funtions are
defined. They are enclosed in an #ifdef block. Just force the compiler to
use the #elseif branch (for example by adding a 2 to the #ifdef line).
You will then get another error in unsetenv.c. I think you can get around
that by changing the return type of unsetenv() from int to void. You will
get warnings but no errors.
Try a bit, it should work. Please note this is a hack. could compile it and
'make test' also works but there might be "side effects".
Hope this could help.
Bye,
Alex
-----Original Message-----
From: port-sparc64-owner <at> NetBSD.org
[mailto:port-sparc64-owner <at> NetBSD.org]On Behalf Of Dario Borchers
Sent: Tuesday, May 13, 2003 4:26 PM
To: port-sparc64 <at> netbsd.org
Subject: libiconv 1.9.1 on NetBSD 1.6.1 (port sparc64)
Hi,
RSS Feed