Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61172 - gcl 2.6.4 fails to emerge
Summary: gcl 2.6.4 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Lisp Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-21 10:09 UTC by M. Edward Borasky
Modified: 2004-12-12 21:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. Edward Borasky 2004-08-21 10:09:27 UTC
"emerge -v gcl" eventually yields the following:

#<"COMMON-LISP-USER" package>

>
Unrecoverable error: Segmentation violation..
/bin/sh: line 1: 15468 Aborted                 /var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/unixport/raw_ansi_gcl /var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/unixport/ -libdir /var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/ <foo
make[1]: *** [saved_ansi_gcl] Error 134
rm raw_ansi_gcl init_ansi_gcl.lsp.tmp
make[1]: Leaving directory `/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/unixport'
make: *** [unixport/saved_ansi_gcl] Error 2

!!! ERROR: dev-lisp/gcl-2.6.4 failed.
!!! Function src_compile, Line 107, Exitcode 2
!!! (no error message)

DreamTime ~ # emerge --info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.4.25-gentoo-r9)
=================================================================
System uname: 2.4.25-gentoo-r9 i686 mobile AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.2
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/home/Gentoo/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X Xaw3d aac aalib adns alsa ansi apache2 apm arts athena atlas auctex audiofile avi berkdb blas bonobo bootsplash bzlib caps cddb cdf cdr cmuclcrypt cscope cups curl custreloc diet directfb dlopen dnd doc dvd dvdr dvdread emacs encode erandom esd evo f77 faac faad fbcon fftw flac flash fltk fluidsynthfoomaticdb fusion gcj gd gdbm geoip ggi gif ginac gmp gnome gpm gprof gstreamergtk gtk2 gtkhtml guile hdf hdf5 imagemagick imap imlib jack jack-tmpfs java jbig jikes jpeg junit kde ladcca latex lcms ldap leim libg++ libgda libsamplerate libwww lzw lzw-tiff mad mdb mikmod mmap mmx motif mozaccess mozcalendar mozdomi mozilla mozp3p mozsvg mozxmlterm mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses neXt netcdf nls odbc oggvorbis openal opengl oss pam pcre pdflib perl pg-hier pg-intdatetime pg-vacuumdelay plotutils png portaudio postgresprelude python qhull qt quicktime readline ruby samba sasl sdk sdl silc slang slp sndfile snmp snortsam socks5 soundtouch speedo speex spell sqlite sse ssl svgsvga szip tcltk tcpd tetex tiff truetype vhosts voodoo3 wmf x86 xemacs xine xmlxml2 xmms xprint xrandr xv yaz zlib"

DreamTime ~ #
Comment 1 Alexander Hsia 2004-11-03 08:53:57 UTC
gcl-2.6.4 fails to emerge for me also. My error message is different from znmeb's. Posted below: 

cc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk unixfsys.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk unixfasl.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk error.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk unixtime.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk unixsys.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk unixsave.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk funlink.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk plt.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk fat_string.c
fat_string.c: In function `fSprofile':
fat_string.c:53: warning: null argument where non-null required (arg 1)
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk run_process.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk nfunlink.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk usig.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk usig2.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk utils.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk makefun.c
gcc -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk -I/usr/X11R6/include  -c  sockets.c
gcc -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk -I/usr/X11R6/include  -c  clxsocket.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk init_pari.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk nsocket.c
gcc -c -march=athlon-mp -O3 -pipe -Wall -DVOL=volatile -fsigned-char -pipe -O3-fomit-frame-pointer  -I/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o -I../h -I../gcl-tk sfasl.c
In file included from sfasl.c:40:
sfaslbfd.c: In function `fasload':
sfaslbfd.c:266: error: structure has no member named `_raw_size'
sfaslbfd.c:291: error: structure has no member named `_raw_size'
sfaslbfd.c:356: error: structure has no member named `_raw_size'
make[1]: *** [sfasl.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcl-2.6.4/work/gcl-2.6.4/o'
make: *** [unixport/saved_pre_gcl] Error 2

!!! ERROR: dev-lisp/gcl-2.6.4 failed.
!!! Function src_compile, Line 107, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

And my emerge info:Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) MP 2000+
Gentoo Base System version 1.6.5
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3ds X acl acpi acpi4linux alsa ared aredmem artworkextra atlas auctex avi ba-completion berkdb bitmap-fonts blas bmp bootspla cddb cdf cdparanoia cdr clisp cmucl codecs crypt cscope css cups divx4linux dnd dvd dvdr dvdread encode erandom esd evms2 f77 faac faad fam fftw flac foomaticdb freetype gcl gd gdbm gif gimp ginac gnome gnomedb gphoto2 gpm gsl gstreamer gtk gtk2 guile hal hdf hdf5 ieee1394 imagemagick imap imlib jp2 jpeg kde kerberos krb4 lapack latex ldap libg++ libwww lm_sensors lzw mad matroska mikmod mime mmap mmx mmx2 mono motif mozilla mozsvg mp3 mpeg mpeg4 mpi ncurses nls nptl nvidia objc oggvorbis openal opengl oss pam pda pdf pdflib perl pic plotutils png ppds pythonqt quicktime readline rtc samba scanner sdl slang spell sse sse2 ssl stroke svga tcltk tcpd tetex tiff transcode truetype truetype-fonts type1 type1-fonts usb x86 xfs xinerama xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc zlib"
Comment 2 M. Edward Borasky 2004-11-03 18:48:29 UTC
Well ... it's been some time since I filed this. Looks like it has been fixed.

DreamGate root # emerge -pv gcl

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-lisp/gcl-2.6.4  +X +ansi -custreloc -debug -dlopen +emacs -gprof +readline +tcltk 0 kB

Total size of downloads: 0 kB

DreamGate root #

So it compiled at some point in the past. Here's a current "emerge info" if that helps narrow this down.

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.25-gentoo-r9 i686)
=================================================================
System uname: 2.4.25-gentoo-r9 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac aalib alsa ansi apache2 apm arts atlas auctex audiofile avi berkdb bitmap-fonts blas bzlib cdf cdr cmucl crypt cups curl directfb dvd emacs emacs-w3 encode escreen esd etwin f77 faad fastcgi fbcon fftw flac fltk fluidsynth foomaticdb gd gdbm ggi gif ginac gnome gpm graphviz gstreamer gtk gtk2 gtkhtml guile hdf hdf5 imagemagick imlib jack jack-tmpfs java jbig jpeg kde ladcca ldap libg++ libsamplerate libwww mad mikmod mmx mmx2 motif mozdevelop mozillamozsvg mpeg mpeg4 mysql nas ncurses netcdf nethack nls oggvorbis opengl oss pamparse-clocks pcre pdflib perl pg-hier pg-intdatetime pg-vacuumdelay plotutils png portaudio postgres python qhull qt quicktime readline ruby sdl slang sndfile sox spell ssl svg svga szip tcltk tcpd tetex tiff truetype x86 xemacs xml xml2 xmms xv zlib"


Can you close this as "Unable to reproduce?" or "fixed by newer compiler?"
Comment 3 Howard B. Golden 2004-11-05 13:21:40 UTC
Re: Comment #1 and comment #2:

I obtain exactly the same errors as Alexander. Therefore, please keep this bug open.
Comment 4 Howard B. Golden 2004-11-05 14:46:48 UTC
Re: My comment #3: It appears to me that the definition of the bfd.h structure has been changed in the binutils bfd. The member "_raw_size" has been renamed "rawsize" or "size". It is hard for me to figure out which version of binutils this change occurred in.

There is a separate copy of binutils included with gcl. I wonder if this version of binutils should be used instead of the system version or if the problem is upstream.

The following bug has been reported upstream in gcl:

"bug #10522 overview: BFD and possibly other build / run incompatibilities for Fedora Core 3 Test 2 LINUX"

http://savannah.gnu.org/bugs/?func=detailitem&item_id=10522

-- Extract from that bug follows: --

Problem 1 -- <bfd.h> incoppatible with o/sfaslbfd.c

Problem 2 -- Attempting a trivial estimated fix for #1 yielded an apparently non-functional GCL

...

Inspecting /usr/include/bfd.h seemed to indicate that perhaps replacing
_raw_size in source file o/sfaslbfd.c with the member name 'rawsize'
might be correct for this <bfd.h> header file.

That replacement of '_raw_size' with 'rawsize'  was done, and GCL 'make' proceeded without immediately apparent errors, however upon running Maxima (maxima-5.9.1  http://maxima.sourceforge.net/ ) which used the built GCL, immediate GCL LISP execution errors were encountered which were not observed when running this version of GCL (2.6.5) with the same version of Maxima (5.9.1) under a Suse 9.0 / i386 LINUX system, so this is circumstantial evidence that there are other problems with the GCL compile resulting from the attempted fix or other errors..
Comment 5 M. Edward Borasky 2004-11-05 20:50:27 UTC
I don't know if this is relevant, but I have Maxima 5.9.1 running on my <shudder>Windows</shudder> system and it was built with GCL. I forget which version of GCL, however.
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2004-12-09 08:51:26 UTC
This bug describes two problems.  Firstly there is the original reporter's 
segfault and secondly there is a system BFD library source incompatibility.

The following errata contains a fix for the BFD incompatibility.  This will be 
incoroporated into portage soon.

http://www.gnu.org/software/gcl/ERRATA-2.6.5.html

M. Edward Borasky, if 2.6.4 works for you now, it might be due to the more precise
selection of linking options introduced into the GCL Gentoo port.
Comment 7 M. Edward Borasky 2004-12-09 18:50:56 UTC
Both GCL 2.6.4 and 2.6.5 work for me now straight out of Portage, so on my end, you can close this.
Comment 8 Matthew Kennedy (RETIRED) gentoo-dev 2004-12-12 21:53:24 UTC
Thanks.