Subject: Re: [Gcl-devel] new binutils GCL incompatibility
From: Camm Maguire
Date: 15 May 2002 11:52:39 -0400
Hi Vadim!
"Vadim V. Zhytnikov" <vvzhy@mail.ru> writes:
> I've been trying to resolve recent Maxima/GCL incompatibility
> and suddenly discovered other problem with GCL. GCL no longer
> builds on my system. With gcc 2.95.3 compilation stops with
> error message
> ----------------------------------
> gcc -pipe -fwritable-strings -DVOL=volatile
> -I/home/vadim/test/111/o -fsigned-char -c -O -I../gcl-tk -I../h/
> -O4 sfasl.c
> In file included from /usr/include/bfd.h:36,
> from sfaslelf.c:42,
> from sfasl.c:40:
> /usr/include/ansidecl.h:186: warning: `DEFUN' redefined
> ../h/../h/notcomp.h:60: warning: this is the location of the
> previous definition
> In file included from /usr/include/bfd.h:103,
> from sfaslelf.c:42,
> from sfasl.c:40:
> /usr/lib/gcc-lib/i586-alt-linux/2.95.3/include/stdbool.h:11:
OK, I saw this once before, but it appears to be gone with the latest
compilers. gcc-2.95 is now at 2.95.4, and this stdbool.h file does
not appear to be included anymore. I'm using binutils:
||/ Name Version Description
+++-==============-==============-============================================
ii binutils 2.12.90.0.1-4 The GNU assembler, linker and binary utiliti
We could simply put an #undef bool in front of the typedef if needed,
but I'd prefer not to make this change unless it will be necessary in
maintaining compatibility with the on-going compiler/binutils development.
> conflicting types for `bool'
> ../h/../h/object.h:66: previous declaration of `bool'
> ----------------------------------
> With gcc 2.96 and 3.0.3 build succeed but result is not
> operational.
> Attempts to load binary files fail
> ----------------------------------
> (cd /home/vadim/tmp/gcl-buildroot/usr/lib/gcl-2.5.0/gcl-tk/demos
> ; \
> echo '(load "../tkl.o")(TK::GET-AUTOLOADS (directory "*.lisp"))'
> | ../../unixport/saved_gcl) ; fi
> GCL (GNU Common Lisp) Version(2.5.0) Sun May 12 14:02:28 MSD
> 2002
> Licensed under GNU Library General Public License
> Contains Enhancements by W. Schelter
>
> >
> Loading ../tkl.o
> Not enough space in bfd_buf 4064 752
Just committed a fix to this.
Take care,
> make[1]: *** [install1] Error 1
> ----------------------------------
>
> Fortunately this time I know precisely which part of the system
> is responsible. The problem occurred when I upgraded
> binutils 2.11.90.0.31 together with libbfd and libiberty
> to binutils 2.11.93.0.2. When I downgraded binutils
> the problem immediately disappeared.
>
> Best wishes,
>
> Vadim
>
> --
> Vadim V. Zhytnikov
>
> <vvzhy@mail.ru>
> <vvzhy@td.lpi.ac.ru>
> <vvzhy@yandex.ru>
>
>
>
>
> _______________________________________________
> Gcl-devel mailing list
> Gcl-devel@gnu.org
> http://mail.gnu.org/mailman/listinfo/gcl-devel
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah