Hi, I am experiencing problems compiling FreeBSD 6.1 RELEASE; the following link has the relevant information: http://www.freebsd.org/cgi/query-pr.cgi?pr=97240 The file does exist in the src/contrib/gcc directory, but it seems that the compiler/installer isn't picking it up. Thank you for any help, Matty
>>>>> Kaiwai Gardiner writes:> Hi, I am experiencing problems compiling FreeBSD 6.1 RELEASE; the > following link has the relevant information: > http://www.freebsd.org/cgi/query-pr.cgi?pr=97240 Remove the line CXXFLAGS=... in /etc/make.conf Jean-Marc -- Jean-Marc Zucconi -- PGP Key: finger jmz@FreeBSD.org [KeyID: 400B38E9]
Kaiwai Gardiner schrieb:> Hi, I am experiencing problems compiling FreeBSD 6.1 RELEASE; the > following link has the relevant information: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=97240 > > The file does exist in the src/contrib/gcc directory, but it seems that > the compiler/installer isn't picking it up. > > Thank you for any help,This is not a problem that occur with 6.1-RELEASE only. There are a lot of mails in the FreeBSD mailing list archive concerning this. I suggest to delete /usr/obj and remove compiler settings and flags from /etc/make.conf. buildworld is not supported with "-Os -march=pentiumpro". Bj?rn
Hi !>Here is the issue ... periodically, for 60-120 secs, my SSH >connections to servers in both Panama, Central America and Toronto, >Canada, will hang ... seems to be totally random ...I have also seen this on both 6.0 and 6.1 installations which have "old" hardware. Seen it on both fxp0 and xl0 interfaces. My 1 cent solution was to edit /etc/ssh/sshd_config with this : ClientAliveInterval 60 -- Med vennlig hilsen / Regards; Roar Pettersen Universitetet i Bergen - The University of Bergen Nygardsgt. 5 - N-5020 BERGEN - Norway Tlf: +47 55 58 40 55 VIP: 81503 fax: +47 55 58 40 70 roar.pettersen@it.uib.no - IT-Avd, UiB - http://www.uib.no
Kaiwai Gardiner wrote:> Hi, I am experiencing problems compiling FreeBSD 6.1 RELEASE; the > following link has the relevant information: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=97240 > > The file does exist in the src/contrib/gcc directory, but it seems that > the compiler/installer isn't picking it up.Compiling world or kernel with '-Os' is not supported. Here is the CFLAGS comment in /usr/share/examples/etc/make.conf: "CFLAGS controls the compiler settings used when compiling C code. Note that optimization settings other than -O and -O2 are not recommended or supported for compiling the world or the kernel - please revert any nonstandard optimization settings to -O or -O2 before submitting bug reports without patches to the developers." In this case, I would recommend removing the CFLAGS entry from /etc/make.conf (to get the default settings of "-O2 -fno-strict-aliasing -pipe") and adding the following line to /etc/make.conf: CPUTYPE?=pentiumpro This will automatically add "-march=pentiumpro" to your CFLAGS. -Jonathan