Error while upgrading FreeBSD-Release6.1 to CURRENT

Randall Stewart rrs at cisco.com
Wed Jul 25 12:50:01 UTC 2007


blue wrote:
> Dear all:
> 
> I have a problem while upgrading FreeBSD-6.1 to CURRENT. First of all, I 
> encountered config version mismatch. So I re-buildworld, and that error 
> disappeared. However, gcc version for FreeBSD-6.1 seems old since 
> CURRENT needs version 4.x. So I went to ports tree and install latest 
> gcc4.2. But after buildkernel, there was still error message: cc1: 
> error: unrecognized command line option "-mno-align-long-strings"
>                                    cc1: error: unrecognized command line 
> option "-fformat-extensions"
> 
> I don't know what else I could do. Please help me out.
> 
> Thanks.
> 
> blue
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 
Hmm... I hit a similar problem a while back and
what I did is mv the original gcc to old.gcc
and then setup links from
gcc and cc to -> gcc.42 (or whatever the name was for
it)

That worked for me.

R

-- 
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)


More information about the freebsd-current mailing list