Subject: Re: problem compiling gnustep
To: Andrey Petrov <petrov@netbsd.org>
From: Mehul N. Sanghvi <mnsanghvi@comcast.net>
List: port-sparc64
Date: 11/17/2004 16:42:00
Andrey Petrov wrote:
> On Tue, Nov 16, 2004 at 11:49:12AM -0500, Mehul N. Sanghvi wrote:
>
>>'allo,
>>
>> I was trying to compile GNUstep on my Ultra2/NetBSD 2.0RC4 system
>>and ran into compilation problems with a dependency. The dependency is
>>devel/ffcall and here is the error message that I get:
>>
>>avcall-sparc64.s: Assembler messages:
>>avcall-sparc64.s:26: Error: Illegal operands
>>avcall-sparc64.s:32: Error: Illegal operands
>>avcall-sparc64.s:38: Error: Illegal operands
>>avcall-sparc64.s:44: Error: Illegal operands
>>avcall-sparc64.s:50: Error: Illegal operands
>>.
>>.
>>.
>>avcall-sparc64.s:218: Error: Illegal operands
>>
>>This is in the
>>
>> devel/ffcall/work/ffcall-1.0/avcall/avcall-sparc64.s
>>
>>file which is a SPARC assembly language file. I have no clue about
>>assembly language, but all the lines referenced in the error messages
>>are of the form:
>>
>> ld 72(%i0),%f1
>>
>> or
>>
>> ldd 192(%i0),%f30
>>
>> The %i0 remains the same in all the messages as far as I can tell,
>>and the %f changes.
>>
>
>
> I vaguely remember that I sent patches for this somewhere.
> Can't find them, though.
> Indeed those are incorrect asm statements. You can easily fix it
> by changing
> ld x(r),f
> to
> ld [r+x],f
>
> If you still have the problem after that then open PR.
>
> Andrey
Andrey,
I was able to get past that particular problem only to run into a
segfault while it was trying to do some 'make check' stuff. I'll open
up a PR on it.
cheers,
mehul