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


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

Submitted by:  None
Submitted on:  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

Add a New Comment(Rich Markup)

You are not logged in

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


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>
Project 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.

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...

At that point, conftest.c looks like this:

#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))
if (!syscall(SYS_personality,PER_LINUX))
if (!(f=fopen("conftest1","w")))
return -1;
return 0;

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

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



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

Attach Files:

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)

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

    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.3