helpThe libunwind project - Support: sr #108930, Issue with cross-compile of...

 
 

sr #108930: Issue with cross-compile of libunwind for ARM

Submitted by:  None
Submitted on:  Sun 29 Nov 2015 06:06:42 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 29 Nov 2015 06:06:42 PM UTC, original submission:

Hello, while cross compiling libunwind for ARM I get the following error

libtool: compile: arm-xilinx-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include/tdep-arm -I. -D_GNU_SOURCE -DNDEBUG -g -O2 -fexceptions -Wall -Wsign-compare -MT arm/Lglobal.lo -MD -MP -MF arm/.deps/Lglobal.Tpo -c arm/Lglobal.c -o arm/Lglobal.o
In file included from arm/Lglobal.c:4:0:
arm/Gglobal.c:37:5: error: 'R0' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:9: error: 'R1' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:13: error: 'R2' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:17: error: 'R3' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:21: error: 'R4' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:25: error: 'R5' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:29: error: 'R6' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:33: error: 'R7' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:37: error: 'R8' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:41: error: 'R9' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:45: error: 'R10' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:50: error: 'R11' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:55: error: 'R12' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:60: error: 'R13' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:65: error: 'R14' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
arm/Gglobal.c:37:70: error: 'R15' undeclared here (not in a function)
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15
^
make[2]: *** [arm/Lglobal.lo] Errore 1
make[2]: uscita dalla directory "/home/tsd/Scaricati/libunwind-0.99-beta/src"
make[1]: *** [all] Errore 2
make[1]: uscita dalla directory "/home/tsd/Scaricati/libunwind-0.99-beta/src"
make: *** [all-recursive] Errore 1


I compiled using the arm-xilinx-linux-gnueabi toolchain and my issued commands were

./configure --host=arm
make

Thank you in advance for your help!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1