bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error: unknown pseudo-op: `.section'


From: Nick Clifton
Subject: Re: Error: unknown pseudo-op: `.section'
Date: Wed, 11 Jun 2003 17:01:42 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux)

Hi Robert,

>> > $ cat test.c
>> > int f (char *); main () {f ("a");}
>> > $ gcc -S test.c && i386-netbsd-gnu-as test.s -o /dev/null
>> 
>> This appears to work with the current CVS sources, so I suspect that
>> it was a bug once, but has now been fixed.
>
> what combination did work for you?

I built a toolchain using today's FSF gcc and binutils sources.
Configured as "--target=i386-netbsd-gnu".  GCC failed to build, giving
me this error message:/dev/shm/ccOFH658.s: Assembler messages:

  /dev/shm/ccOFH658.s:12: Error: alignment not a power of 2
  make[2]: *** [libgcc/./_clz.o] Error 1
  make[2]: Leaving directory `/builds/FSF/i386-netbsd-gnu/gcc'

The compiler was built however, so I was able to compile and assemble
your test case.  This was on an x86 host running Red Hat 9.

> also did you re-run autoconf after appalling the patch?

In the gas subdirectory, which was the only one with a configure.in
file affected by the patch - yes.

Cheers
        Nick
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]