[asterisk-bugs] [Asterisk 0018389]: Cross compile time if the version is equal to and greater than r284478 will hang

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Nov 27 08:11:19 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18389 
====================================================================== 
Reported By:                yvhitxcel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18389
Category:                   General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:           http://svn.asterisk.org/svn/asterisk/branches/1.4 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 284478 
Request Review:              
====================================================================== 
Date Submitted:             2010-11-27 07:02 CST
Last Modified:              2010-11-27 08:11 CST
====================================================================== 
Summary:                    Cross compile time if the version is equal to and
greater than r284478 will hang
Description: 
make package/asterisk-1.4.x/compile V=99

checking for timersub in time.h... yes
checking for library containing gethostbyname_r... none required
checking for gethostbyname_r with 6 arguments... yes
checking for gethostbyname_r with 5 arguments... no
checking for PTHREAD_RWLOCK_INITIALIZER... yes
checking for PTHREAD_RWLOCK_PREFER_WRITER_NP... yes
checking for pthread_rwlock_timedwrlock() in pthread.h... no
checking if PTHREAD_ONCE_INIT needs braces... no
checking whether we can compare a mutex to its initial value... no
checking for compiler atomic operations... no
checking if we can increase the maximum select-able file descriptor...
cross-compile
checking if we can increase the maximum select-able file descriptor...
cross-compile
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
make[2]: ***
[/usr/src/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/asterisk-1.4.36/.configured__ynnnnnnnnnnnnnnnn]
Error 1
make[2]: Leaving directory `/usr/src/packages/net/asterisk-1.4.x'
make[1]: *** [package/asterisk-1.4.x/compile] Error 2
make[1]: Leaving directory `/usr/src/backfire'
make: *** [package/asterisk-1.4.x/compile] Error 2

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

---------------------------------------------------------------------- 
 (0129178) yvhitxcel (reporter) - 2010-11-27 08:11
 https://issues.asterisk.org/view.php?id=18389#c129178 
---------------------------------------------------------------------- 
packages/net/asterisk-1.4.x/patches/010-configure_ac.patch
===========================
--- a/configure.ac
+++ b/configure.ac
@@ -511,15 +511,6 @@
        AC_MSG_RESULT(cross-compile)
 )

-if test "${ac_cv_have_variable_fdset}x" = "0x"; then
-       AC_RUN_IFELSE(
-               AC_LANG_PROGRAM([
-#include <unistd.h>
-#include <sys/types.h>
-#include <stdlib.h>
-], [if (getuid() != 0) { exit(1); }]),
-               AC_DEFINE([CONFIGURE_RAN_AS_ROOT], 1, [Some configure
tests will unexpectedly fail if configure is run by a non-root user.  These
may be able to be tested at runtime.]))
-fi

 AST_GCC_ATTRIBUTE(pure)
 AST_GCC_ATTRIBUTE(malloc)
=========================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-27 08:11 yvhitxcel      Note Added: 0129178                          
======================================================================




More information about the asterisk-bugs mailing list