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: Fri, 13 Nov 2009 01:47:32 +0900
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI)

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




reply via email to

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