Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 54738
Alias:
Product:
Component:
Status: RESOLVED
Resolution: NEEDINFO
Assigned To: Common Lisp Bugs <common-lisp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Timm Murray <tmurray-gentoo@wumpus-cave.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge-info Output from emerge info text/plain Ole Tange 2004-09-18 03:34 0000 2.50 KB Details
2.41-makemake.in.patch makemake.in patch for clisp 2.41 patch Francois Bissey 2008-01-13 07:26 0000 2.13 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 54738 depends on: Show dependency tree
Bug 54738 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-22 07:07 0000
Reproducible: Always
Steps to Reproduce:
1.emerge clisp

Actual Results: 
The build runs until here:

----
./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))"
Cannot map memory to address 0xe66fa000 .
 errno = ENOMEM: Not enough memory.
Trying to make room through a GC...
Cannot map memory to address 0xe66fa000 .
 errno = ENOMEM: Not enough memory.
Trying to make room through a GC...
Cannot map memory to address 0xe66fa000 .
 errno = ENOMEM: Not enough memory.
Trying to make room through a GC...
make: *** [interpreted.mem] Segmentation fault

!!! ERROR: dev-lisp/clisp-2.33.2 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! (no error message)
-----

After the build fails:

-----
$ free
             total       used       free     shared    buffers     cached
Mem:        513568     412868     100700          0       6972     189072
-/+ buffers/cache:     216824     296744
Swap:      1004052          0    1004052
-----

So there is a 100MB of real RAM free, and swap space is untouched. I do have my VM swappiness value (/proc/sys/vm/swappiness) set to 62, but have not experianced problems elsewhere with this setting, even with large ebuilds.

Expected Results:  
Completion of build and install.


$ emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirror.tucdemonic.org/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 X Xaw3d acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb dvd encode esd ethereal fbcon foomaticdb gdbm gif gnome gpm gps gstreamer gtk gtk2 gtkhtml guile hardened imlib ipv6 jabber java jikes joystick jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl png pnp postgres python qt quicktime readline ruby samba sdl slang spell sse ssl svga tcpd truetype unicode usb videos wxwindows x86 xinerama xml2 xmms xosd xv zlib"

------- Comment #1 From Matthew Kennedy (RETIRED) 2004-06-22 11:22:32 0000 -------
Hi Timm.  Did you encounter the same problem with clisp-2.33.1 or
clisp-2.33?

------- Comment #2 From Chris White (RETIRED) 2004-06-22 13:26:44 0000 -------
A similiar issue in 2.33.1 as well:

./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))"
Cannot map memory to address 0xe66f8000 .
 errno = ENOMEM: Not enough memory.
Trying to make room through a GC...
make: *** [interpreted.mem] ?????????????

!!! ERROR: dev-lisp/clisp-2.33.1 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! (no error message)

------- Comment #3 From Timm Murray 2004-06-23 07:22:44 0000 -------
2.33.1 gives me the same error Chris White shows (except that the ?????????
marks after the "make: *** [interpreted.mem] ?????????????" line say
"Segmentation Fault").

2.33 dies with almost exactly the same:

./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and
(load \"init.lisp\") (sys::%saveinitmem) (ext::exit))"
Cannot map memory to address 0xe66f9000 .
 errno = ENOMEM: Not enough memory.
Trying to make room through a GC...
make: *** [interpreted.mem] Segmentation fault

!!! ERROR: dev-lisp/clisp-2.33 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! (no error message)

------- Comment #4 From Matthew Kennedy (RETIRED) 2004-06-27 13:43:05 0000 -------
Are either of you using kernel security features such as GRSEC when
you encounter this problem?

------- Comment #5 From Timm Murray 2004-06-28 08:09:08 0000 -------
Nope, I don't have any additional kernel security options in use.

------- Comment #6 From Matthew Kennedy (RETIRED) 2004-07-03 21:49:10 0000 -------
I can't reproduce this problem, but here are some things you might
consider trying (in no particular order):

*  Remove dev-libs/libsigsegv from DEPEND and unmerge it.  Then
   emerge clisp.

*  Try dev-libs/libsigsegv-2.1

*  Unpack clisp-2.33.2 tar-archive and try building it manually
   outside of portage.

*  Consult upstream authors.


------- Comment #7 From Timm Murray 2004-07-06 09:49:29 0000 -------
* Tried dev-libs/libsigsegv-2.1. Same result.
* Removed libsigsegv from DEPEND and unmerged it. Same result.
* Took orginal tarball and built it manually. Same result.

Guess I need to go upstream.

------- Comment #8 From Ole Tange 2004-09-18 03:32:50 0000 -------
I can confirm the same error on dev-lisp/clisp-2.33.2-r1.
My emerge-info is attached.

------- Comment #9 From Ole Tange 2004-09-18 03:34:00 0000 -------
Created an attachment (id=39836) [details]
Output from emerge info

------- Comment #10 From Matthew Kennedy (RETIRED) 2006-04-24 15:06:09 0000 -------
Does this problem still persist with clisp-2.38-r2?  I am really out of ideas.

------- Comment #11 From Jakub Moc (RETIRED) 2007-08-07 06:34:17 0000 -------
*** Bug 187983 has been marked as a duplicate of this bug. ***

------- Comment #12 From Marijn Schouten 2007-08-07 09:46:11 0000 -------
Bug 187983 shows problem persists with 2.41

------- Comment #13 From Jakub Moc (RETIRED) 2007-10-09 17:23:29 0000 -------
*** Bug 195269 has been marked as a duplicate of this bug. ***

------- Comment #14 From Galdor 2007-10-09 19:42:03 0000 -------
Tried out of portage with 2.41 tarball, still get the same error.

------- Comment #15 From Stelian Ionescu 2007-10-17 22:28:53 0000 -------
I'm almost sure this is a compiler problem. With both clisp 2.41 and 2.42, when
emerging with gcc-3.4.6 all goes well, while compiling with gcc-4.2.2 leads to
the segfault when trying to save the image. I'll try 4.0* and 4.1* too

------- Comment #16 From Marijn Schouten 2007-10-18 12:35:26 0000 -------
(In reply to comment #15)
> I'm almost sure this is a compiler problem. With both clisp 2.41 and 2.42,
> when emerging with gcc-3.4.6 all goes well, while compiling with gcc-4.2.2
> leads to the segfault when trying to save the image. I'll try 4.0* and 4.1*
> too

On x86 that is, clisp-2.42 compiles fine with gcc-4.2.2 on amd64. 

------- Comment #17 From Stelian Ionescu 2007-10-18 22:32:12 0000 -------
I confirm that i686-pc-linux-gnu-3.4.6 and i686-pc-linux-gnu-4.1.2 work fine,
while i686-pc-linux-gnu-4.2.2 causes the infamous segfault.

------- Comment #18 From Kent Fredric 2008-01-02 23:19:50 0000 -------
CLISP bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1836142&group_id=1355&atid=101355

Blames GCC 4.2.2 itself
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34300

still faulting with clisp-2.43 

ln -s ../src/danish.lisp danish.lisp
rm -f dutch.lisp
ln -s ../src/dutch.lisp dutch.lisp
rm -f deprecated.lisp
ln -s ../src/deprecated.lisp deprecated.lisp
./lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW
-x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)"
make: *** [interpreted.mem] Segmentation fault
 *
 * ERROR: dev-lisp/clisp-2.43 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2388:  Called die
 * The specific snippet of code:
 *       emake -j1 || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed"
 *  The die message:
 *   emake failed

------- Comment #19 From Francois Bissey 2008-01-13 07:25:43 0000 -------
Got hit by this in 2.41. Got wondering why the version of clisp-2.41 
shipped with sage (http://www.sagemath.org/) compiled fine, I reviewed
their patches. They include the one we have in Gentoo for the linux header
and the one that I will attach which was labeled as an "itanium fix".
Well it fixed the clisp compilation for me on x86 and I suspect it works
on ppc as well but I will have to try tomorrow.

emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0,
2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) XP 2600+
Timestamp of tree: Sat, 12 Jan 2008 06:46:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.citylink.co.nz/gentoo http://mirrors.tds.net/gentoo
http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo
ftp://mirrors.tds.net/gentoo http://gentoo.eliteitminds.com"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/scratch"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
/usr/portage/local/layman/science /usr/local/portage
/home/francois/Work/Gentoo-sage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl alsa amr ao asf audiofile berkdb bidi
bitmap-fonts bootsplash branding bzip2 cairo cddb cdf cdparanoia cli composite
cracklib crypt cups curl dbus dga dmi dri dts dv dvd dvdr dvdread encode exif
expat fb fbcon ffmpeg fftw flac foomaticdb fortran fpx gdbm geoip gif gimpprint
glut gmp gpm graphviz gs gstreamer gtk gtk2 hal iconv idn imagemagick imlib
imlib2 ipv6 isdnlog jack java jbig joystick jpeg jpeg2k kde kdehiddenvisibility
kpathsea ladspa lame lapack lcms libsamplerate lzo mad matroska midi mikmod
mime mmx mmx2 mmxext mng motif mp3 mp4 mpeg mplayer mudflap musepack
musicbrainz ncurses netcdf network nls nptl nptlonly ogg openal openexr opengl
openmp pcre pdf perl png portaudio posix ppds pppd python qt3 qt4 quicktime
readline real reflection sdl session sndfile sox spell spl sqlite3 sse ssl svg
svga szip tcl tcltk tcpd tetex tga theora tiff tk truetype truetype-fonts
type1-fonts unicode usb vcd vidix vorbis wavpack wmf x264 x86 xanim xcb
xcomposite xine xml xorg xpm xsl xv xvid xvmc zeroconf zlib" ALSA_CARDS="cmipci
via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty
extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null
plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en_GB fr" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #20 From Francois Bissey 2008-01-13 07:26:51 0000 -------
Created an attachment (id=140849) [details]
makemake.in patch for clisp 2.41

------- Comment #21 From Stelian Ionescu 2008-01-13 16:20:29 0000 -------
That patch is at best a workaround: it forces -O0, thus causing GCC to do *no*
optimizations at all and eliding the bug, but I suppose we could apply it for
the moment.

------- Comment #22 From Francois Bissey 2008-01-14 02:30:44 0000 -------
(In reply to comment #21)
> That patch is at best a workaround: it forces -O0, thus causing GCC to do *no*
> optimizations at all and eliding the bug, but I suppose we could apply it for
> the moment.
> 

Agreed, it is just a work around. If someone wants to track which optimization
option(s) between -O0 and -O1 cause the error and do a proper report to the gcc
team that's fine by me. I just don't have the time to do that in the next
month,
in the meantime I have a working clisp.

------- Comment #23 From Kevin Lacquement 2008-02-11 06:18:11 0000 -------
(In reply to comment #22)

> Agreed, it is just a work around. If someone wants to track which optimization
> option(s) between -O0 and -O1 cause the error and do a proper report to the gcc
> team that's fine by me. I just don't have the time to do that in the next
> month,
> in the meantime I have a working clisp.
> 

It also appears to be the "official" workaround, until a bug is fixed in GCC.

------- Comment #24 From Ashu Tiwary 2008-02-19 03:51:57 0000 -------
dev-lisp/clisp-2.43-r1 now compiles cleanly w/ gcc 4.2.3

liberte # grep dev-lisp/clisp /etc/portage/package.use
dev-lisp/clisp X fastcgi gtk svm pcre postgres readline zlib new-clx

liberte # gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/scratch/portage/tmp/portage/sys-devel/gcc-4.2.3/work/gcc-4.2.3/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.2.3
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.3/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.3/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --enable-secureplt --disable-libunwind-exceptions
--disable-multilib --enable-libmudflap --disable-libssp --enable-java-awt=gtk
--with-arch=i686 --enable-objc-gc
--enable-languages=c,c++,java,objc,obj-c++,treelang,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.2.3 (Gentoo 4.2.3 p1.0)

liberte # emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1,
2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Timestamp of tree: Tue, 19 Feb 2008 01:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=prescott -mtune=prescott -mmmx -msse -msse2 -msse3
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config
/var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=prescott -mtune=prescott -mmmx -msse -msse2 -msse3
-fomit-frame-pointer"
DISTDIR="/mnt/sdb/portage/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
ftp://ftp.gtlib.gatech.edu/pub/gentoo
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
ftp://mirror.datapipe.net/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/
ftp://mirror.utdlug.org/linux/distributions/gentoo/ "
LANG="C"
LC_ALL="C"
LINGUAS="en en_US hi_IN"
MAKEOPTS="-j3"
PKGDIR="/mnt/sdb/portage/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/scratch/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/sdb/portage/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv
ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd
python readline reflection session spl ssl tcpd truetype-fonts type1-fonts
unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias asis auth_basic auth_digest
authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio
env expires ext_filter file_cache filter headers ident imagemap include info
log_config log_forensic logio mem_cache mime mime_magic negotiation proxy
proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif
speling status unique_id userdir usertrack version vhost_alias"
APACHE2_MPMS="worker" CAMERAS="adc65 agfa-cl20 aox barbie canon casio
clicksmart310 digigr8 digita dimera directory enigma13 fuji gsmart300 hp215
iclick jamcam jd11 kodak konica largan lg_gsm mars minolta mustek panasonic
pccam300 pccam600 polaroid ptp2 ricoh samsung sierra sipix smal sonix sonydscf1
sonydscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba"
ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse synaptics vmmouse
void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LINGUAS="en en_US hi_IN" LIRC_DEVICES="all"
USERLAND="GNU" VIDEO_CARDS="nvidia nv vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #25 From Markus Rothe 2008-04-17 13:16:17 0000 -------
this happens on my ppc64 machine with gcc-4.1.2 and gcc-4.3.0, too.

------- Comment #26 From Marijn Schouten 2008-04-17 13:22:39 0000 -------
That's strange, those versions are reported as not having the gcc bug. Only
4.2.2 is supposed to fail (on x86).

------- Comment #27 From Martin Väth 2008-04-17 19:06:32 0000 -------
(In reply to comment #26)
> That's strange, those versions are reported as not having the gcc bug. Only
> 4.2.2 is supposed to fail (on x86).

4.3 fails also on x86, but at a different place:

./lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW
-x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)"
[...]
Welcome to GNU CLISP 2.43 (2007-11-18) <http://clisp.cons.org/>
[...]
Type :h and hit Enter for context help.

*** - EXPORT: argument should be a symbol or a list of symbols, not 
*** - Internal error: statement in file "io.d", line 7009 has been reached!!
Please see <http://clisp.cons.org/impnotes/faq.html#faq-bugs> for bug reporting
instructions.
*** - EVAL: undefined function EXT::EXIT
Bye.
mv lispimag.mem interpreted.mem
mv: cannot stat `lispimag.mem': No such file or directory

Anyway, with this -O0 patch here, everything works,
provided of course, that the patch is modified so that also -O0 is
used for 4.3 and not only for 4.2...

------- Comment #28 From Martin Väth 2008-04-17 19:10:35 0000 -------
I forgot to mention: On amd64 you can even use heavy optimization with gcc-4.3
and not have this problem. The only "bad" flag for amd64/gcc-4.3 which I
found is -frename-registers (and from experience with earlier versions
probably also -fPIC -DNDEBUG -DG_DISABLE_ASSERT -DNO_DEBUG).

------- Comment #29 From Marijn Schouten 2009-01-05 18:11:58 0000 -------
Does anyone still experience this problem in clisp-2.47?

------- Comment #30 From NaiL 2009-03-26 17:09:07 0000 -------
(In reply to comment #29)
> Does anyone still experience this problem in clisp-2.47?
> 

Yes, I have similar problem in clisp 2.47.

But, I use GCC version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5, ssp-3.4.6-1.0,
pie-8.7.10)

That is my error msg:
./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -lp
../src/ -x '(and (load "../src/init.lisp") (sys::%saveinitmem) (ext::exit))
(ext::exit t)'
Cannot map memory to address 0x6aba4000 .
[../src/spvw_mmap.d:353] errno = EINVAL: Invalid argument.
Trying to make room through a GC...
Cannot map memory to address 0x6aba4000 .
[../src/spvw_mmap.d:353] errno = EINVAL: Invalid argument.
Trying to make room through a GC...
Cannot map memory to address 0x6aba4000 .
[../src/spvw_mmap.d:353] errno = EINVAL: Invalid argument.
Trying to make room through a GC...
make: *** [interpreted.mem] Killed

------- Comment #31 From Stelian Ionescu 2009-03-26 19:51:52 0000 -------
Please try to compile clisp with a regular(non-hardened) compiler. Hardened
compilers and kernels are incompatible with clisp.

------- Comment #32 From Marijn Schouten 2009-07-29 11:02:17 0000 -------
Closing. Please reopen if you can reproduce with >=2.48 on a non-hardened
system.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug