Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#786 texstudio 2.6.2 fails to build on sparc

None
fixed
nobody
None
1
2014-08-24
2013-08-13
Tom
No

Hi all

The error while building on sparc seems to point to

elif defined(CPU_IS_SPARC32)

    __asm__(
    "mova %icc, %i6, %0\n"
    "mova %icc, %o6, %1\n"
    "mova %icc, %i7, %2\n"
    : "=r"(frame), "=r"(stack), "=r" (returnTo));

as it says that three assembler lines have illegal operands (seem to be the mova lines):

debughelper.cpp:811:62: warning: 'cpu.SimulatedCPU::returnTo' may be used uninitialized in this function [-Wuninitialized]
debughelper.cpp:406:15: note: 'cpu.SimulatedCPU::returnTo' was declared here
debughelper.cpp:973:36: warning: 'cpu.SimulatedCPU::stack' may be used uninitialized in this function [-Wuninitialized]
debughelper.cpp:406:15: note: 'cpu.SimulatedCPU::stack' was declared here
debughelper.cpp:973:36: warning: 'cpu.SimulatedCPU::frame' may be used uninitialized in this function [-Wuninitialized]
debughelper.cpp:406:15: note: 'cpu.SimulatedCPU::frame' was declared here
debughelper.cpp:428:4: warning: 'cpu.SimulatedCPU::pc' may be used uninitialized in this function [-Wuninitialized]
{standard input}: Assembler messages:
{standard input}:784: Error: Illegal operands
{standard input}:785: Error: Illegal operands
{standard input}:786: Error: Illegal operands
make[1]: [.obj/debughelper.o] Error 1
make[1]: Leaving directory `/«BUILDDIR»/texstudio-2.6.2+debian'
dh_auto_build: make -j1 returned exit code 2
make:
[build-arch] Error 25

Regards,
Tom

Discussion

  • Strange, it works in the SPARC assembler.

    I changed it from mova to mov (which is not a real instruction but a macro aliasing to or, it seems, so strange).

    If it still does not work, can you try to insert/remove some % ?

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-03-16

    no further report -> assuming it works now

    • status: open --> fixed
    • Group: -->
     
    Last edit: Tim Hoffmann 2014-03-16