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

Re: Unknown pseudo-op: '.section' when building ld.so



> Did I do something wrong or why doesn't this work?
> 
> > uname -a 
> OpenBSD xyz 3.3 GENERIC#0 i386

[...]
>
> > make
> cc  -fpic  -c /usr/src/libexec/ld.so/i386/ldasm.S
> /usr/src/libexec/ld.so/i386/ldasm.S: Assembler messages:
> /usr/src/libexec/ld.so/i386/ldasm.S:84: Error: Unknown pseudo-op:  `.section'
> *** Error code 1

The sources for the a.out ld.so, used by OpenBSD/i386 3.3, do not lie
there. Check usr/src/gnu/usr.bin/ld/rtld instead.

Miod