bin/121038: Compile fails when using anything other than CFLAGS=-O0 ?in make.conf

Oliver Fromme olli at lurza.secnetix.de
Sun Feb 24 10:40:13 UTC 2008


Jasvinder S. Bahra wrote:
 > CPU: VIA C3 Nehemiah+RNG+AES (800.03-MHz 686-class CPU)
 > [...]
 > CPUTYPE=c3
 > CFLAGS= -O2 -pipe
 > COPTFLAGS= -O -pipe

Please use this line:

CPUTYPE=c3-2

and _remove_ the other lines.  Note that the default is
"-O2 -fno-strict-aliasing -pipe", and using -O2 without
-fno-strict-aliasing is unsupported and will caus you
trouble.

It's best to not override CFLAGS and COPTFLAGS at all.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

PI:
int f[9814],b,c=9814,g,i;long a=1e4,d,e,h;
main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a)
while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}


More information about the freebsd-bugs mailing list