While we're on the subject, the compiler flags in /usr/lib/rpmrc for i686 and athlon should match i586:
optflags: i586 -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffas t-math -fno-strength-reduce optflags: i686 -O2 -march=i686 optflags: athlon -O2 -march=athlon should be: optflags: i586 -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce optflags: i686 -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i686 -ffast-math -fno-strength-reduce optflags: athlon -O3 -fomit-frame-pointer -pipe -mcpu=athlon -march=athlon -ffast-math -fno-strength-reduce also, line 836 in /usr/lib/rpm/macros should read: %ix86 i386 i486 i586 i686 athlon i786 i886 i986 Yes? Finally, if you see no good reason not to also include k6 (there are k6 compiler flags and a /usr/src/RPM/RPMS/k6 directory after all), that line should be: %ix86 i386 i486 k6 i586 i686 athlon i786 i886 i986 and the following patch should be applied to rpmrc: --- /usr/lib/rpm/rpmrc~ Thu Jan 31 20:22:49 2002 +++ /usr/lib/rpm/rpmrc Mon Feb 4 17:47:41 2002 @@ -16,6 +16,7 @@ optflags: i386 -O2 -march=i386 -mcpu=i686 optflags: i486 -O2 -march=i486 optflags: i586 -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce +optflags: k6 -O3 -fomit-frame-pointer -pipe -mcpu=k6 -march=k6 -ffast-math -fno-strength-reduce optflags: i686 -O2 -march=i686 optflags: athlon -O2 -march=athlon optflags: ia64 -O2 @@ -67,6 +68,7 @@ arch_canon: athlon: athlon 1 arch_canon: i686: i686 1 +arch_canon: k6: k6 1 arch_canon: i586: i586 1 arch_canon: i486: i486 1 arch_canon: i386: i386 1 @@ -203,7 +205,8 @@ arch_compat: athlon: i686 arch_compat: i686: i586 -arch_compat: i586: i486 +arch_compat: k6: i586 +arch_compat: i586: i486 k6 arch_compat: i486: i386 arch_compat: i386: noarch @@ -286,7 +289,8 @@ buildarch_compat: athlon: i686 buildarch_compat: i686: i586 -buildarch_compat: i586: i486 +buildarch_compat: k6: i586 +buildarch_compat: i586: i486 k6 buildarch_compat: i486: i386 buildarch_compat: i386: noarch __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com
