Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137179 - dev-lisp/lush-1.1 won't build after upgrade to gcc-4.1.1 (from 3.4.6)
Summary: dev-lisp/lush-1.1 won't build after upgrade to gcc-4.1.1 (from 3.4.6)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-18 08:50 UTC by PL Hayes
Modified: 2006-06-20 09:16 UTC (History)
0 users

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


Attachments
gcc4 diff from cvs (lush-1.1-gcc4.diff,2.48 KB, patch)
2006-06-19 15:37 UTC, Hanno Zysik (geki)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PL Hayes 2006-06-18 08:50:34 UTC
i686-pc-linux-gnu-gcc  -march=athlon-xp -pipe -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -march=i686 -I../include -pthread  -c date.c
date.c:66: error: static declaration of 'ansidatenames' follows non-static declaration
../include/header.h:808: error: previous declaration of 'ansidatenames' was here
date.c: In function 'date_serialize':
date.c:317: error: invalid storage class for function 'make_date'
date.c:323: warning: implicit declaration of function 'make_date'
date.c:323: warning: assignment makes pointer from integer without a cast
date.c: At top level:
date.c:405: error: conflicting types for 'make_date'
date.c:323: error: previous implicit declaration of 'make_date' was here
make[1]: *** [date.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/lush-1.1/work/lush-1.1/src'
make: *** [all] Error 2

The website at http://lush.sf.net says:

IMPORTANT NOTE: New features and fixes are being added to the CVS version of Lush on a daily basis. In particular, compatibility with gcc 4.x,...

So it's not really surprising.
Comment 1 Hanno Zysik (geki) 2006-06-19 15:37:04 UTC
Created attachment 89584 [details, diff]
gcc4 diff from cvs
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2006-06-20 09:16:51 UTC
--- ChangeLog   2006-02-13 16:12:44.000000000 -0600
+++ ChangeLog.new       2006-06-20 11:16:02.000000000 -0500
@@ -2,6 +2,11 @@
 # Copyright 2000-2006 Gentoo Foundation and Matthew Kennedy <mkennedy@gentoo.org>; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-lisp/lush/ChangeLog,v 1.7 2006/02/13 22:12:44 mkennedy Exp $
 
+  20 Jun 2006; Matthew Kennedy <mkennedy@gentoo.org> +files/1.1-gcc4.patch,
+  lush-1.1.ebuild:
+  Include fix for GCC4 compilation; Resolves Bug #137179; Thanks to Hanno
+  Meyer-Thurow for tracking the patch down.
+
   13 Feb 2006; Matthew Kennedy <mkennedy@gentoo.org> lush-1.0.ebuild,
   lush-1.1.ebuild:
   Modular X dependencies.