This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bzip2-0.9.0b compilation problem with egcs-1.1.1


Hi,

I got a problem with egcs and bzip2 which i don't
understand. 

I tried to compile bzip2-0.9.0b with CFLAGS="-O6 -mpentium"
by using egcs-1.1.1, the resulting binary failed the bzip2's
self test
(no such problem when i used the same flag with
egcs-1.0.3a).

However, if i compiled with CFLAGS="-O6 -mpentium
-fno-strength-reduce" the resulting binary passed the test.
Why, please?

Another problem is that the bzip2 compiled with egcs-1.1.1
is 3% slower than the binary compiled with egcs-1.0.3a !?
Why slower?

I test the bzip2 binary with the 11MB
linux-2.2.0-pre4.tar.bz2
time tar cvfI TEST.tbz linux
time tar xvfI TEST.tbz

Thanks in advance.

PS. my box is RH5.2, binutils-2.9.1.0.16, glibc-2.0.7-19.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]