Building hardware agnostic systems

Eric W. Bates ericx at ericx.net
Wed May 12 15:28:11 UTC 2010


I'm having trouble building a machine which I can reliably clone onto 
another machine and have everything run correctly.

My make.conf has no CPUTYPE, CFLAGS, or COPTFLAGS. Does the default -O 
cause gcc to build hardware specific? Do I need NO_CPU_CFLAGS and 
NO_CPU_COPTFLAGS as well?

Typically, my kernel boots OK (I usually use GENERIC anyway); but some 
of the ports don't work. Notably clamd sometimes segfaults when I move 
it to another machine.

Thanks.


More information about the freebsd-isp mailing list