Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#108 Compile fails on 64Bit SLES 10

Stable_release
closed
nobody
None
5
2014-03-07
2010-03-19
Anonymous
No

I am trying to compile the CVS and 10.3.1 release Version on a SUSE Linux Enterprise Server Version 10 64Bit. The compile fails at
the point when build/ecl_min compile is called.

debug backtrace of the issue:

gdb build/ecl_min
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db library "/lib64/libthread_db.so.1".

(gdb) set args build/compile
(gdb) r
Starting program: /home1/lihovane/sources/others/ecl/build/ecl_min build/compile
; Lisp core booted *
ECL (Embeddable Common Lisp)

Internal or unrecoverable error in:

Lisp initialization error.

[2: No such file or directory]

Program received signal SIGABRT, Aborted.
0x00002ab7ffc06b95 in raise () from /lib64/libc.so.6
(gdb) bt

0 0x00002ab7ffc06b95 in raise () from /lib64/libc.so.6

1 0x00002ab7ffc07f50 in abort () from /lib64/libc.so.6

2 0x000000000042fcdd in ecl_internal_error (s=0x48e70e "\nLisp initialization error.\n") at /home/lihovane/sources/others/ecl/src/c/error.d:49

3 0x000000000042fd10 in universal_error_handler (narg=<value optimized="" out="">, c=0x7471, err=0x6, args=0xffffffffffffffff) at /home/lihovane/sources/others/ecl/src/c/error.d:404

4 0x0000000000410030 in cl_funcall (narg=<value optimized="" out="">, function=0x7471) at /home/lihovane/sources/others/ecl/src/c/eval.d:129

5 0x000000000042f93e in cl_error (narg=3, eformat=0x5ae530) at /home/lihovane/sources/others/ecl/src/c/error.d:472

6 0x000000000042fc1f in FEcannot_open (fn=0xffffffffffffffff) at /home/lihovane/sources/others/ecl/src/c/error.d:212

7 0x000000000045a962 in cl_load (narg=<value optimized="" out="">, source=0xd53bc0) at /home/lihovane/sources/others/ecl/src/c/load.d:572

8 0x00000000004129bf in ecl_interpret (frame=0x7fffab245510, env=0x1, bytecodes=0x7e6460) at /home/lihovane/sources/others/ecl/src/c/interpreter.d:499

9 0x0000000000416181 in si_eval_with_env (narg=<value optimized="" out="">, form=0xd57761) at /home/lihovane/sources/others/ecl/src/c/compiler.d:2867

10 0x000000000045a1b1 in si_load_source (source=0xd53cc0, verbose=<value optimized="" out="">, print=0x1) at /home/lihovane/sources/others/ecl/src/c/load.d:485

11 0x0000000000410030 in cl_funcall (narg=<value optimized="" out="">, function=0x7471) at /home/lihovane/sources/others/ecl/src/c/eval.d:129

12 0x000000000045a541 in cl_load (narg=<value optimized="" out="">, source=0x8200c0) at /home/lihovane/sources/others/ecl/src/c/load.d:585

13 0x0000000000406142 in si_simple_toplevel () at /home/lihovane/sources/others/ecl/src/c/cinit.d:113

14 0x0000000000410030 in cl_funcall (narg=<value optimized="" out="">, function=0x7471) at /home/lihovane/sources/others/ecl/src/c/eval.d:129

15 0x0000000000406043 in main (argc=<value optimized="" out="">, args=<value optimized="" out="">) at /home/lihovane/sources/others/ecl/src/c/cinit.d:149

(gdb)

For some reason, it is not possible to make a debug only version. O2 is always used to compile everytrhing.

SLES 10 uses this gcc:
gcc Version:
gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linux)

Discussion


  • Anonymous
    2010-03-19

    ECL can be built with better debug flags, using something like
    ./configure ... CFLAGS="-g -O1"
    that is, appending at the end of the invocation the desired flags. Otherwise autoconf adds its own version of C flags.

    Now as for the failure, the information provided is not very indicative. Most likely a file is missing because it could not be built at the configuration process, hence the failure of ecl_min. You should inspect the log of ./configure or attach it to this bug report.

     


Anonymous


Cancel   Add attachments