chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] chicken-3.4.0 and locale egg


From: Daishi Kato
Subject: Re: [Chicken-users] chicken-3.4.0 and locale egg
Date: Wed, 18 Nov 2009 00:25:15 +0900
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI)

Thanks for the suggestion.
Unfortunately, changing the optimization options
doesn't change the situation.

Daishi

At Thu, 12 Nov 2009 22:57:34 +0100,
Jörg F. Wittenberger wrote:
> 
> Hi,
> 
> my experience might not be related to your problem here at all.
> 
> YMMV
> 
> But the past days I spent much time to track down a - for me new -
> bug/problem relating to uhm, a special case:  I recently upgraded to
> ubuntu 9.10 on a amd64 plattform.  All sudden my program ran into all
> sorts of problems.  After some testing those did not look as
> reproducible as at the beginning.  Instead they appeared to be sort of
> random.
> 
> The temporary solution: don't use gcc version 4.4.1-4ubuntu8 on amd64
> with -O3.  -O2 does work for me.  So much for MY special case.
> 
> I feel compelled to add that I recall having tracked down another bug on
> a 64bit platform for a prior gcc version some years ago wrt. RScheme
> generated code.
> 
> Take care.
> 
> /Jörg
> 
> Am Freitag, den 13.11.2009, 01:47 +0900 schrieb Daishi Kato:
> > At Tue, 8 Sep 2009 18:34:23 -0700,
> > Kon Lovett wrote:
> > > 
> > > 
> > > On Sep 8, 2009, at 5:38 PM, Daishi Kato wrote:
> > > 
> > > > Hi Kon. Thank you very much for a quick response.
> > > >
> > > > I tried 0.5.1 and it was successful on one computer.
> > > > As for the other computer, I'm compiling with -m32 on x86_64,
> > > > so it's probably my special problem.
> > > 
> > > Please try to track this down. Sounds like a bug w/ Chicken 3.
> > 
> > Hi, it's been a while, but I found a difference.
> > 
> > Host(neuron): CentOS 5.4 (-m32 on x86_64) -> works fine
> > Host(lobule): Ubuntu 8.04 (-m32 on x86_64) -> error!
> > 
> > The error is like this:
> > 
> > CHICKEN
> > (c)2008 The Chicken Team
> > (c)2000-2007 Felix L. Winkelmann
> > Version 3.4.0 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook ]
> > compiled 2009-11-13 on lobule (Linux)
> > 
> > #;1> (use locale)
> > ; loading /usr/local/chicken-3.4.0-32/lib/chicken/3/locale.so ...
> > ; loading /usr/local/chicken-3.4.0-32/lib/chicken/3/locale-builtin.so ...
> > ; loading /usr/local/chicken-3.4.0-32/lib/chicken/3/locale-posix.so ...
> > ; loading /usr/local/chicken-3.4.0-32/lib/chicken/3/locale-categories.so ...
> > ; loading /usr/local/chicken-3.4.0-32/lib/chicken/3/lookup-table.so ...
> > ; loading /usr/local/chicken-3.4.0-32/lib/chicken/3/locale-components.so ...
> > ; loading /usr/local/chicken-3.4.0-32/lib/chicken/3/locale-errors.so ...
> > ; loading /usr/local/chicken-3.4.0-32/lib/chicken/3/locale-timezone.so ...
> > Error: (string-parse-start+end) bad argument type - not a string: #f
> > 
> >         Call history:
> > 
> >         <syntax>                (use locale)
> >         <syntax>                (##core#require-extension (quote locale))
> >         <syntax>                (begin (begin (##sys#require (quote 
> > locale))) (##core#undefined))
> >         <syntax>                (begin (##sys#require (quote locale)))
> >         <syntax>                (##sys#require (quote locale))
> >         <syntax>                (quote locale)
> >         <syntax>                (##core#undefined)
> >         <eval>          (##sys#require (quote locale))  <--
> > 
> > 
> > 
> > I used the same Makefile, with this patch:
> > 
> > 
> > % diff Makefile.linux Makefile.linux32
> > 32c32
> > < ARCH = $(shell sh $(SRCDIR)/config-arch.sh)
> > ---
> > > ARCH = x86
> > 39c39,40
> > < C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
> > ---
> > > C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -m32
> > > LINKER_OPTIONS = -m32
> > 
> > 
> > 
> > 
> > 
> > and resulting chicken-config.h was different:
> > 
> > 
> > % diff neuron-chicken-config.h lobule-chicken-config.h
> > 30,31c30,31
> > < #define C_BUILD_TAG "compiled 2009-07-27 on localhost.localdomain (Linux)"
> > < #define C_SVN_REVISION 11987
> > ---
> > > #define C_BUILD_TAG "compiled 2009-11-13 on lobule (Linux)"
> > > #define C_SVN_REVISION 0
> > 39c39
> > < # define C_INSTALL_CFLAGS "-fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H 
> > -Os -fomit-frame-pointer"
> > ---
> > > # define C_INSTALL_CFLAGS "-fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H 
> > > -m32 -Os -fomit-frame-pointer"
> > 42c42
> > < # define C_INSTALL_LDFLAGS " "
> > ---
> > > # define C_INSTALL_LDFLAGS "-m32 "
> > 69c69
> > < # define C_DEFAULT_TARGET_STACK_SIZE (256*1024)
> > ---
> > > # define C_DEFAULT_TARGET_STACK_SIZE (128*1024)
> > 87c87
> > < # define C_TARGET_CFLAGS "-fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H 
> > -Os -fomit-frame-pointer"
> > ---
> > > # define C_TARGET_CFLAGS "-fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H 
> > > -m32 -Os -fomit-frame-pointer"
> > 90c90
> > < # define C_TARGET_LDFLAGS " "
> > ---
> > > # define C_TARGET_LDFLAGS "-m32 "
> > 
> > 
> > 
> > 
> > 
> > any clue?
> > 
> > --daishi
> > 
> > 
> > _______________________________________________
> > Chicken-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/chicken-use
> 
> ******************************
>  XREA.COM -Free Web Hosting-
>  http://www.xrea.com/
> ******************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]