On 8/28/07, Scot Hetzel <swhetzel_at_gmail.com> wrote: > Gcc 4.2 has a new cpu_type (native) for x86 and amd64 systems. This > cpu_type is to allow gcc to automatically detect the processor type > that gcc is running on. > > The problem is that setting CPUTYPE?=native in either src.conf or > make.conf will cause MACHINE_CPU to be set to the wrong value for the > native cpu. There is actually another problem with using CPUTYPE=native, as I found out yesterday. Certain ports may fail to build with it. For example, I was trying to build openoffice.org-2 and it was failing at gcc-ooo with the message "cannot compute suffix of object files." Since it was using the older compiler version, -march=native caused it to fail. There should probably be an additional note somewhere telling people to be careful with this setting. - MaxReceived on Tue Aug 28 2007 - 12:34:14 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC