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
|