Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277062 - dev-scheme/guile-lib-0.1.3 fails to compile with hardened toolchain
Summary: dev-scheme/guile-lib-0.1.3 fails to compile with hardened toolchain
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 16:58 UTC by Bruce Guenter
Modified: 2010-08-02 17:45 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 Bruce Guenter 2009-07-08 16:58:00 UTC
The error is similar to bug 274383, but not quite identical.

>>> Emerging (1 of 2) dev-scheme/guile-lib-0.1.3
 * guile-lib-0.1.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking guile-lib-0.1.3.tar.gz to /var/tmp/portage/dev-scheme/guile-lib-0.1.3/work
>>> Source unpacked in /var/tmp/portage/dev-scheme/guile-lib-0.1.3/work
>>> Compiling source in /var/tmp/portage/dev-scheme/guile-lib-0.1.3/work/guile-lib-0.1.3 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for guile... /usr/bin/guile
checking for guile-config... /usr/bin/guile-config
checking for guile-tools... /usr/bin/guile-tools
checking libguile compile flags...   -pthread
checking libguile link flags...  -pthread -lguile -lltdl  -Wl,-O1,--sort-common -lgmp -lcrypt -lm -lltdl
checking if (srfi srfi-34) is available... yes
checking if (srfi srfi-35) is available... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating unit-tests/Makefile
make -j1 
Making all in src
make[1]: Entering directory `/var/tmp/portage/dev-scheme/guile-lib-0.1.3/work/guile-lib-0.1.3/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/dev-scheme/guile-lib-0.1.3/work/guile-lib-0.1.3/src'
Making all in doc
make[1]: Entering directory `/var/tmp/portage/dev-scheme/guile-lib-0.1.3/work/guile-lib-0.1.3/doc'
guile --debug --use-srfi=13 -l ./guile-library.scm \
	 -c '(for-each (lambda (m) (format #t "~a.scm\n" (string-join (map symbol->string m) "/"))) (map car *modules*))' \
	 > guile-libraryscmfiles
../dev-environ ./make-texinfo.scm ./guile-library.scm >guile-library.texi
WARNING: (config load): imported module (srfi srfi-34) overrides core binding `raise'
Backtrace:
In unknown file:
   ?: 394* [syntmp-chi-151 #(syntax-object # #) (# # # # ...) (())]
   ?: 395  [call-with-values #<procedure #f ()> #<procedure #f #>]
     ...
   ?: 396  [#<procedure #f (syntmp-tmp-695)> ...
   ?: 397*  [#<procedure #f #> # #]
   ?: 398   (cond (# #) (# #) (else #))
      ...
   ?: 399   [syntmp-match-1403 cons any (()) ...
   ?: 400*   [syntmp-match-1403 (# #) each-any (()) ...]
   ?: 401    (cond (# #f) (# #) (# #) ...)
       ...
   ?: 402    (let* (#) (and syntmp-l-1414 #))
   ?: 403*   [syntmp-match-each-any-1400 (# #) (())]
   ?: 404    (cond (# #) (# #) (# #) ...)
   ?: 405    (let* ((syntmp-l-1424 #)) (and syntmp-l-1424 (cons # syntmp-l-1424)))
   ?: 406*   [syntmp-match-each-any-1400 (#) (())]
   ?: 407    (cond (# #) (# #) (# #) ...)
       ...
   ?: 408    [cons ...
   ?: 409*    [syntmp-wrap-143 (cons syntmp-default-576 syntmp-k-args-575) (())]
   ?: 410     (cond (# syntmp-x-867) (# #) (# syntmp-x-867) ...)
   ?: 411*    (and (null? #) (null? #))
   ?: 412*    [null? ...
   ?: 413*     (syntmp-wrap-marks-118 syntmp-w-868)

<unnamed port>: In expression (syntmp-wrap-marks-118 syntmp-w-868):
<unnamed port>: Stack overflow

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
make[1]: *** [guile-library.texi] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-scheme/guile-lib-0.1.3/work/guile-lib-0.1.3/doc'
make: *** [all-recursive] Error 1

# emerge --info
# emerge --info
Portage 2.1.6.13 (hardened/x86, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.3.2
Timestamp of tree: Wed, 08 Jul 2009 12:00:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r3
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=pentium4 -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/local/clockspeed/etc /var/service"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -mtune=pentium4 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="buildpkg collision-protect distlocks fixpackages notitles parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--sort-common"
MAKEOPTS="-j1"
PKGDIR="/home/portage/packages/ivanova"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/home/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gnome /home/bruce/portage /home/bruce/FutureQuest/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit adns apache2 bash-completion berkdb c++ cdr cgi chroot cli cpdflib crypt css ctype curl curlwrappers deprecated edl encode erandom ethereal evo expat extensions guile hardened hardenedphp hbci iconv imap innodb ipv6 justify ldap maildir mbox memlimit mime mmx mysql mysqli ncurses networking nfs nls nptl nptlonly ocamlopt pam pcre pdo perl php png posix postgres postgresql python qmail readline regex samba sendfile session shared slang smime soap sockets sqlite sqlite3 ssl suhosin symlink tabs tcpd threads threadsafe unicode usb utf8 uudeview webdav-neon x86 xml xml2 zeroconf 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel 	mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage 	siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware 	voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2009-07-17 14:00:55 UTC
please try guile-lib-0.1.6
Comment 2 Bruce Guenter 2009-07-20 14:23:45 UTC
dev-scheme/guile-lib-0.1.6 still fails at the same point, but with a different error message:

../dev-environ ./make-texinfo.scm ./guile-library.scm >guile-library.texi
Backtrace:
In unknown file:
   ?: 396* [syntmp-chi-151 #(syntax-object # #) (# # # # ...) (())]
   ?: 397  [call-with-values #<procedure #f ()> #<procedure #f #>]
     ...
   ?: 398  [#<procedure #f (syntmp-tmp-695)> ...
   ?: 399*  [#<procedure #f #> # #]
   ?: 400   (cond (# #) (# #) (else #))
      ...
   ?: 401   [syntmp-match-1403 cons any (()) ...
   ?: 402*   [syntmp-match-1403 (# #) each-any (()) ...]
   ?: 403    (cond (# #f) (# #) (# #) ...)
       ...
   ?: 404    (let* (#) (and syntmp-l-1414 #))
   ?: 405*   [syntmp-match-each-any-1400 (# #) (())]
   ?: 406    (cond (# #) (# #) (# #) ...)
   ?: 407    (let* ((syntmp-l-1424 #)) (and syntmp-l-1424 (cons # syntmp-l-1424)))
   ?: 408*   [syntmp-match-each-any-1400 (#) (())]
   ?: 409    (cond (# #) (# #) (# #) ...)
       ...
   ?: 410    [cons ...
   ?: 411*    [syntmp-wrap-143 (cons syntmp-default-581 syntmp-k-args-580) (())]
   ?: 412     (cond (# syntmp-x-867) (# #) (# syntmp-x-867) ...)
   ?: 413*    (and (null? #) (null? #))
   ?: 414*    [null? ...
   ?: 415*     (syntmp-wrap-marks-118 syntmp-w-868)

<unnamed port>: In expression (syntmp-wrap-marks-118 syntmp-w-868):
<unnamed port>: Stack overflow
Comment 3 Magnus Granberg gentoo-dev 2010-08-01 18:54:22 UTC
make[1]: Leaving directory `/var/tmp/portage/dev-scheme/guile-lib-0.1.6/work/guile-lib-0.1.6'
>>> Source compiled.
looks like it works fine.
Portage 2.1.8.3 (hardened/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-hardened-r1 i686)
=================================================================
System uname: Linux-2.6.34-hardened-r1-i686-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 25 Jul 2010 21:45:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=i686"
CHOST="i686-pc-linux-gnu"
Comment 4 Bruce Guenter 2010-08-02 17:26:42 UTC
I have since upgraded the original system (from 32-bit to 64-bit) and can no longer reproduce this issue myself neither.
Comment 5 Magnus Granberg gentoo-dev 2010-08-02 17:45:47 UTC
This bug looks like fixed in newer version.
Reopen if it still fails.