root-system ftbfs on ARM32

Bug #1485016 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
root-system (Ubuntu)
Confirmed
High
Unassigned

Bug Description

g++ -save-temps -Wall -fsigned-char -fPIC -Iinclude -DR__HAVE_CONFIG -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -pthread -o cint/cintex/src/CINTFunctional.o -c /home/doko/tmp/root-system-5.34.30/cint/cintex/src/CINTFunctional.cxx
CINTFunctional.s: Assembler messages:
CINTFunctional.s:224: Error: r13 not allowed here -- `sub sp,fp,#4'
CINTFunctional.s:267: Error: r13 not allowed here -- `sub sp,fp,#4'

/tmp/ccEfa5cv.s: Assembler messages:
/tmp/ccEfa5cv.s:225: Error: r13 not allowed here -- `sub sp,fp,#4'
/tmp/ccEfa5cv.s:269: Error: r13 not allowed here -- `sub sp,fp,#4'

    static void f1a(void* a0) {
    __asm__ __volatile__ ("push {fp, lr}\n\t"
                          "add fp, sp, #4\n\t"
                          "sub sp, sp, #8\n\t"
                          "str r0, [fp, #-8]\n\t"
                          "ldr r3, [pc, #16]\n\t"
                          "ldr r0, [pc, #16]\n\t"
                          "ldr r1, [fp, #-8]\n\t"
                          "blx r3\n\t"
                          "sub sp, fp, #4\n\t"
                          "pop {fp, pc}\n\t"
                          ".word 0xfafafafa\n\t"
                          ".word 0xdadadada");
    }

    static void f4a(void* a0, void* a1, void* a2, void* a3) {
    __asm__ __volatile__ ("push {fp, lr}\n\t"
                          "add fp, sp, #4\n\t"
                          "sub sp, sp, #24\n\t"
                          "str r0, [fp, #-8]\n\t"
                          "str r1, [fp, #-12]\n\t"
                          "str r2, [fp, #-16]\n\t"
                          "str r3, [fp, #-20]\n\t"
                          "ldr r3, [fp, #-20]\n\t"
                          "str r3, [sp]\n\t"
                          "ldr ip, [pc, #24]\n\t"
                          "ldr r0, [pc, #24]\n\t"
                          "ldr r1, [fp, #-8]\n\t"
                          "ldr r2, [fp, #-12]\n\t"
                          "ldr r3, [fp, #-16]\n\t"
                          "blx ip\n\t"
                          "sub sp, fp, #4\n\t"
                          "pop {fp, pc}\n\t"
                          ".word 0xfafafafa\n\t"
                          ".word 0xdadadada");
    }

Tags: ftbfs
Revision history for this message
Matthias Klose (doko) wrote :

working around it by using the generic C implementation

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.