unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Rob Browning <rlb@defaultvalue.org>
Cc: guile-devel@gnu.org
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	[thread overview]
Message-ID: <87el42fbrt.fsf@raven.i.defaultvalue.org> (raw)
In-Reply-To: <20030416174622.GA15410@debian.org> ("James A. Treacy"'s message of "Wed, 16 Apr 2003 13:46:22 -0400")

"James A. Treacy" <treacy@debian.org> 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)rlb@debussy:~$ grep Processor /proc/cpuinfo
  Processor       : StrongARM-110 rev 3 (v4l)
  (base)rlb@debussy:~$ 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.

Thanks

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


       reply	other threads:[~2003-04-16 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030416174622.GA15410@debian.org>
2003-04-16 20:05 ` Rob Browning [this message]
2003-04-16 20:29   ` Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile/gc_os_dep.c Rob Browning
2003-04-16 21:07   ` Rob Browning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87el42fbrt.fsf@raven.i.defaultvalue.org \
    --to=rlb@defaultvalue.org \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).