Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317175 - dev-scheme/guile-1.8.7: fails to build with gcc-4.5
Summary: dev-scheme/guile-1.8.7: fails to build with gcc-4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marijn Schouten (RETIRED)
URL: http://lists.gnu.org/archive/html/gui...
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks: gcc-4.5
  Show dependency tree
 
Reported: 2010-04-25 21:47 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2010-05-30 06:10 UTC (History)
6 users (show)

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


Attachments
adding epatch (guile-1.8.7.diff,327 bytes, patch)
2010-04-25 21:48 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing build issue with gcc 4.5 (guile-1.8.7-gcc45.patch,426 bytes, patch)
2010-04-25 21:49 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-25 21:47:26 UTC
In the original report (see URL) guile was said to fail with gcc-4.4.3. I've hit the problem after upgrading to gcc-4.5.0

/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -pthread -O2 -pipe -Wall -Wmissing-prototypes -pthread -Wl,--as-needed,--hash-style=gnu,-O1 -o guile guile-guile.o libguile.la -lgmp -lcrypt -lm -lltdl
libtool: link: x86_64-pc-linux-gnu-gcc -pthread -O2 -pipe -Wall -Wmissing-prototypes -pthread -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1 -o .libs/guile guile-guile.o  ./.libs/libguile.so /usr/lib64/libgmp.so -lcrypt -lm /usr/lib64/libltdl.so -ldl -pthread
cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc continuations.doc debug.doc deprecation.doc deprecated.doc discouraged.doc dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc extensions.doc feature.doc fluids.doc fports.doc futures.doc gc.doc goops.doc gsubr.doc gc-mark.doc gc-segment.doc gc-malloc.doc gc-card.doc guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc lang.doc list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc objects.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc properties.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc stime.doc strings.doc srfi-4.doc srfi-13.doc srfi-14.doc strorder.doc strports.doc struct.doc symbols.doc threads.doc throw.doc values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc ramap.doc unif.doc dynl.doc filesys.doc posix.doc regex-posix.doc | GUILE="/var/tmp/portage/dev-scheme/guile-1.8.7/work/guile-1.8.7/pre-inst-guile" ../scripts/snarf-check-and-output-texi          > guile-procedures.texi || { rm guile-procedures.texi; false; }
ERROR: unknown doc attribute: (location (string . alist.c) (int . 40) (hash . hash))
cat: write error: Broken pipe
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-25 21:48:26 UTC
Portage 2.1.8.3 (default/linux/amd64/10.0/developer, gcc-4.5.0-asneeded, glibc-2.11-r1, 2.6.31-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r4-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 25 Apr 2010 20:30:01 +0000
app-shells/bash:     4.1_p2-r1
dev-lang/python:     2.6.5-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect distlocks multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,--as-needed,--hash-style=gnu,-O1"
LINGUAS="en pl"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/myoverlay /usr/portage/local/hdf5"
SYNC="rsync://158.75.7.69/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support readline reflection sdl session snmp spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-25 21:48:56 UTC
Created attachment 229149 [details, diff]
adding epatch
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-25 21:49:55 UTC
Created attachment 229151 [details, diff]
fixing build issue with gcc 4.5
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2010-04-26 00:23:50 UTC
added to gcc-porting overlay.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2010-05-30 06:10:33 UTC
Fixed.