[Top][All Lists]

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

Re: Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile

From: Rob Browning
Subject: Re: Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile/gc_os_dep.c
Date: Wed, 16 Apr 2003 15:05:58 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

"James A. Treacy" <address@hidden> writes:

> Package: guile-1.6
> Version: 1.6.3-4
> Severity: important
> Arm and s390 are not recognized in libguile/gc_os_dep.c, resulting in the
> following error:
> gc_os_dep.c:361: syntax error before '--' token
> s390 does not appear in the file at all.

OK.  I'm not sure how to fix this one.  We'll have to look in to it.

> In the case of arm, something slightly different is going on. The
> following code exists:
> # if defined(LINUX) && defined(arm)
> #    define ARM32
> #    define mach_type_known
> # endif
> but the error is still tripped by the following later at line 361:
> # ifndef mach_type_known
>    --> unknown machine type
> # endif

Appears that much like the recent sparc problem, arm is not defined,
but __arm__ is:

  (base)address@hidden:~$ grep Processor /proc/cpuinfo
  Processor       : StrongARM-110 rev 3 (v4l)
  (base)address@hidden:~$ gcc -E -dM - < /dev/null
  #define __linux__ 1 
  #define __ARM_ARCH_3__ 1 
  #define __arm__ 1 
  #define linux 1 
  #define __GNUC_MINOR__ 95 
  #define __CHAR_UNSIGNED__ 1 
  #define __unix 1 
  #define __unix__ 1 
  #define __APCS_32__ 1 
  #define __GNUC__ 2 
  #define __linux 1 
  #define __ELF__ 1 
  #define unix 1 

I've fixed this one in the 1.6 and 1.7 CVS trees.  The fix will show
up in Debian with the next set of packages.


Rob Browning
rlb,, and
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4

reply via email to

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