helpGNU Common Lisp - Support: sr #104321, GCL 2.6.6 doesn't compile or work...


sr #104321: GCL 2.6.6 doesn't compile or work with Fedore Core 4 test3

Submitted by:  None
Submitted on:  Sun Jun 12 14:56:14 2005  
Category: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: Done
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Closed
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Thu Nov 21 21:30:18 2013, comment #3:

Thanks for your report! Full support for derandomizing sbrk is in the latest release, 2.6.10

Camm Maguire <camm>
Project Administrator
Thu Sep 29 06:20:04 2005, comment #2:

From the RPM spec file in gcl-2.6.7-4.fc4.src.rpm:


  • Fri Sep 9 2005 Gerard Milmeister <> - 2.6.7-1

- New Version 2.6.7

See attached patch file which fixes the randomized sbrk problem (but the make runs into other problems compiling unixfsys.c).

Vladimir G. Ivanovic <vladimir>
Tue Jul 26 13:04:56 2005, comment #1:

The same on Fedora core 4. (GCC 4.0 and gcc 4.0.1)

Domenico Mozzanica <dmo_78>
Sun Jun 12 14:56:14 2005, original submission:

I couldn't get GCL 2.6.6 (or the latest CVS version) to compile or work with FC4test3.

First problem was that I was getting this from configure:

checking for sbrk... yes
checking for randomized sbrk... yes
checking for randomized brk remedy... no
Cannot build with randomized sbrk

I could get past it with "setarch i386 -R" command but next problem was that gcc 4.0.0 20050519 (Red Hat 4.0.0-8) didn't like some of the code. For example

gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer -I/tmp/vb/gcl-2.6.6/o -I../h -I../gcl-tk num_sfun.c
num_sfun.c: In function ‘number_exp’:
num_sfun.c:67: error: invalid storage class for function ‘number_sin’
num_sfun.c:67: error: invalid storage class for function ‘number_cos’

I tried to fix those problems both it still didn't work so next I tried with gcc 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4) with bad results:

(cd lsp; touch *.lsp ; make all)
make[1]: Entering directory `/tmp/vb/gcl-2.6.6/lsp'
../xbin/if-exists: line 13: 14996 Segmentation fault $3
gcc32: gcl_arraylib.c: No such file or directory
gcc32: no input files
cat: No such file or directory
gcc32 -o raw_gcl \
-L. -Wl,-Map raw_gcl_map -lgcl -lm -lgmp /usr/lib/libbfd.a /usr/lib/libiberty.a -lreadline -lncurses -lc -lgclp
./libgcl.a(sys_gcl.o)(.text+0xcd): In function `gcl_init_init':
sys_gcl.c: undefined reference to `init_gcl_defmacro'
./libgcl.a(sys_gcl.o)(.text+0x14a):sys_gcl.c: undefined reference to `init_gcl_evalmacros'
./libgcl.a(sys_gcl.o)(.text+0x1c7):sys_gcl.c: undefined reference to `init_gcl_top'
./libgcl.a(sys_gcl.o)(.text+0x244):sys_gcl.c: undefined reference to `init_gcl_module'

You can find the full typescript of the compile phase in the following URL.

I also tried to disable exec shield but that didn't help:

echo 0 >/proc/sys/kernel/exec-shield

Asko Tontti



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

Attach File(s):

Attached Files
file #4012:  gcl-pers.patch added by vladimir (4kB - text/x-patch - Patch file for gcl-2.6.7 in order to build a binary RPM.)


Depends on the following items: None found

Items that depend on this one: None found


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

    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):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Nov 21 21:30:18 2013cammStatusNone=>Done
    Thu Sep 29 06:20:04 2005vladimirAttached File-=>Added gcl-pers.patch, #164
    Sun Jun 12 14:56:14 2005NoneCarbon-Copy-=>Added mjuxsw --AT-- yahoo --DOT-- com

    Back to the top

    Powered by Savane 3.1-cleanup1