bugGNU Common Lisp - Bugs: bug #30622, Configure hangs at "checking...

 
 

bug #30622: Configure hangs at "checking for randomized brk entry"

Submitter:  None
Submitted:  Sun 01 Aug 2010 08:54:57 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 21 Nov 2013 03:55:48 PM UTC, comment #1: 

I believe this is now fixed (2.6.10), but don't have access to your machine in question.  If you disagree, please reopen.  Thanks for your report!

Camm Maguire <camm>
Group administrator
Sun 01 Aug 2010 08:54:57 PM UTC, original submission:  

Running configure on linux x86_64 (or at least on CentOS 5.5) hangs at "checking for randomized brk entry".  It will sit at that point indefinitely.

<pre>
checking for main in -lXmu... no
checking for main in -lXt... yes
checking for main in -lXext... yes
checking for main in -lXaw... no
checking for main in -lX11... yes
missing x libraries -- cannot compile xgcl
checking for bfd.h... no
checking for useable bfd_boolean... no
Guessing path to libbfd.a due to gcc bug
Guessing path to libiberty.a due to gcc bug
checking size of long... 8
checking sizeof struct contblock... 16
checking for endian.h... yes
checking endianness... little
checking for sbrk... yes
checking for randomized sbrk... yes
checking for randomized brk remedy...
</pre>

At that point, conftest.c looks like this:

<pre>
#line 3888 "configure"
#include "confdefs.h"
#include <syscall.h>
#include <linux/personality.h>
#include <stdio.h>
#include <unistd.h>
int main(int argc,char * argv[]) {
        FILE *f;
        #if SIZEOF_LONG == 4
                if (!syscall(SYS_personality,PER_LINUX32))
        #else
                if (!syscall(SYS_personality,PER_LINUX))
        #endif
                execvp(argv[0],argv);
        if (!(f=fopen("conftest1","w")))
                return -1;
        fprintf(f,"%u",sbrk(0));
        return 0;
}
</pre>

The call to run conftest in the configure script is:
<pre>
if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
</pre>

Running the compiled conftest outside of configure shows it does hang.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by camm (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-21 camm StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code