Red Hat Bugzilla – Bug 21746
am-utils srpm problem on i686
Last modified: 2007-04-18 12:30:07 EDT
i was trying to add hesiod support to the package, but the problem
occurs when using NIS and files, too (i.e. when using the original
when compiling ('rpm -ba') the am-utils srpm on pentium III
(i686) the RPM_OPT_FLAGS is set to "-O2 -march=i386 -mcpu=i686"
and thus CFLAGS, CXXFLAGS and FFLAGS are set too.
it seems '-mcpu=i686' confuses either configure or gcc, because
the amd in the produced package doesn't work well -- whenever you
try to access a point under amd control you get:
Input Output Error
after enough (3-4) trials it succeeds.
puting 'optflags: i386 -O2 -march=i386' into rpmrc solves the problem
and the package works fine.
this problem occurs in am-utils in RedHat 7.0, too
Smells like a compiler bug. Assigning to gcc.
Are you able to reproduce it with latest gcc rpm (like 2.96-65 or above)?
I cannot reproduce this myself, so unless you specify how exactly you
can reproduce it (preferably without hesiod and if possible without NIS)
or unless you test some compiler options, I cannot do anything about it.
I was testing am-utils which were in 7.0 (they were compiled with -march=i386
-mcpu=i686 -O2) and saw no failures.
Closed due to inactivity.