Hello.

I'm compiling grub on a Debian/Slink system, and I get an error
(after ./configure). The error doesn't happen with Debian/Potato, so
I think it's a problem of "as" version.

This is the error:

        make[2]: Entering directory `/home/develop/grub/cvs/stage1'
        egcc -DHAVE_CONFIG_H -I. -I. -I..   -Wall -Wmissing-prototypes -Wunused 
-Wshadow -Wpointer-arith -Wundef -O2 -fno-builtin -nostdinc -g -c stage1.S
        /tmp/cc3Mmvwi.s: Assembler messages:
        /tmp/cc3Mmvwi.s:571: Error: attempt to .org/.space backwards? (-2)
        /tmp/cc3Mmvwi.s:571: Internal error!
        Assertion failure in write_contents at ../../gas/write.c line 1106.
        Please report this bug.

The same command line run on Potato gives no error. The two stage1.s
(generated by -save-temps) are identical. So it's definitely an "as"
issue.

        slink% as --version
        GNU assembler 2.9.1
        This assembler was configured for a target of `i486-linux'.

        potato% as --version
        GNU assembler 2.9.5
        This assembler was configured for a target of `i386-linux'.

I don't know what exact version changed the behaviour, but I think it
would be better to check for version numbers at "configure" time
rather than spitting a runtime "Please report this bug".

Thanks for your good work and your attention
/alessandro

Reply via email to