mainGNU 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

Submitter:  None
Submitted:  Sun 12 Jun 2005 02:56:14 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 21 Nov 2013 09:30:18 PM UTC, comment #3: 

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

Camm Maguire <camm>
Group administrator
Thu 29 Sep 2005 06:20:04 AM UTC, comment #2: 

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

%changelog

  • Fri Sep  9 2005 Gerard Milmeister <gemi@bluewin.ch> - 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 26 Jul 2005 01:04:56 PM UTC, comment #1: 

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

Domenico Mozzanica <dmo_78>
Sun 12 Jun 2005 02:56:14 PM UTC, 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: gcl_arraylib.data: 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.

  http://users.tkk.fi/u/tontti/gcc266.typescript

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

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


Asko Tontti

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #4012:  gcl-pers.patch added by vladimir (4KiB - 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
  • -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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-21 camm StatusNone Done
        Open/ClosedOpen Closed
    2005-09-29 vladimir Attached File- Added gcl-pers.patch, #164
    2005-06-12 None Carbon-Copy- Added mjuxsw --AT-- yahoo --DOT-- com

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code