unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Re: Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile/gc_os_dep.c
       [not found] <20030416174622.GA15410@debian.org>
@ 2003-04-16 20:05 ` Rob Browning
  2003-04-16 20:29   ` Rob Browning
  2003-04-16 21:07   ` Rob Browning
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Browning @ 2003-04-16 20:05 UTC (permalink / raw)
  Cc: guile-devel

"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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile/gc_os_dep.c
  2003-04-16 20:05 ` Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile/gc_os_dep.c Rob Browning
@ 2003-04-16 20:29   ` Rob Browning
  2003-04-16 21:07   ` Rob Browning
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Browning @ 2003-04-16 20:29 UTC (permalink / raw)
  Cc: guile-devel

Rob Browning <rlb@defaultvalue.org> writes:

>> 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.

I checked with the latest libgc and found that they'd added defines
for the s390.  After copying those over, it looks like Guile now
correctly builds and passes "make check" on the s390.

This fix will show up in Guile 1.6.4 and in the next Debian packages.

Thanks again.

-- 
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile/gc_os_dep.c
  2003-04-16 20:05 ` Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile/gc_os_dep.c Rob Browning
  2003-04-16 20:29   ` Rob Browning
@ 2003-04-16 21:07   ` Rob Browning
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Browning @ 2003-04-16 21:07 UTC (permalink / raw)
  Cc: guile-devel

Rob Browning <rlb@defaultvalue.org> writes:

>   #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.

OK.  Looks like that fixed "make check" on arm.

-- 
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-16 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20030416174622.GA15410@debian.org>
2003-04-16 20:05 ` Bug#189315: guile-1.6: [arm,s390] arch is not recognized in libguile/gc_os_dep.c Rob Browning
2003-04-16 20:29   ` Rob Browning
2003-04-16 21:07   ` Rob Browning

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).