This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: announce: egcs benchmark suite, alpha release
On Wed, Jan 20, 1999 at 09:54:31PM -0500, Arvind Sankar wrote:
> hi! I tried checking out the benchmarks a while back.
> When I do make check, the first test (c++/oopack) works properly, but
> then everything else bums with LINK ERROR.
> If I try to run make check again, make bums with this queer error:
> gcc bench.o bench.sum -o bench
> /usr/bin/ld:bench.sum: file format not recognized; treating as linker script
> /usr/bin/ld:bench.sum:2: parse error
> collect2: ld returned 1 exit status
> make: *** [bench] Error 1
>
> Apparently, make finds an implicit rule bench: bench.o, and that causes
> it do stuff like this. Shouldn't a lot of the targets be made .PHONY?
> Right now, bench.sum has no dependents, so it is always up-to-date.
fixed that, and also the local decls in benchlib.sh:runtest() shouldn't
be commented out. If they aren't portable or something, then ofiles
needs to be initialized. Currently, the tmp files keep accumulating as
the tests are processed.
-- arvind