[asterisk-bugs] [Asterisk 0014394]: Menuselect compiles X86 code on armv5tel

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 3 12:05:12 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14394 
====================================================================== 
Reported By:                KingOfTheMoles
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14394
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 173168 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-03 11:29 CST
Last Modified:              2009-02-03 12:05 CST
====================================================================== 
Summary:                    Menuselect compiles X86 code on armv5tel
Description: 
Compiling on a NSLU2, running gentoo:

Sybil menuselect # uname -a
Linux Sybil 2.6.21.7 http://bugs.digium.com/view.php?id=1 PREEMPT Mon Dec 24
17:32:03 UTC 2007 armv5tel
XScale-IXP42x Family rev 1 (v5l) Linksys NSLU2 GNU/Linux

Compile fails:
gcc -o cmenuselect menuselect.o strcompat.o menuselect_curses.o
mxml/libmxml.a -lncurses
menuselect.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
distcc[4720] ERROR: compile (null) on localhost failed
make: *** [cmenuselect] Error 1

Looks like it is building x86 and not arm?
Sybil menuselect # file menuselect.o
menuselect.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not
stripped

====================================================================== 

---------------------------------------------------------------------- 
 (0099358) KingOfTheMoles (reporter) - 2009-02-03 12:05
 http://bugs.digium.com/view.php?id=14394#c99358 
---------------------------------------------------------------------- 
Seems to be a distcc quirk.  I am happy to debug if you want, otherwise you
can close this as I can now get a successful compile. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-03 12:05 KingOfTheMoles Note Added: 0099358                          
======================================================================




More information about the asterisk-bugs mailing list