[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [Chicken-announce] CHICKEN 4.9.0rc1 is available
From: |
John Cowan |
Subject: |
Re: [Chicken-hackers] [Chicken-announce] CHICKEN 4.9.0rc1 is available |
Date: |
Fri, 18 Apr 2014 13:38:42 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Mario Domenech Goulart scripsit:
> The first release candidate for CHICKEN 4.9.0 has been released. It's
> available at
> http://code.call-cc.org/dev-snapshots/2014/04/17/chicken-4.9.0rc1.tar.gz
It fails under Cygwin64 (this is the first time I've installed this
version of Cygwin). Here are two patches that help it along.
The first one is about making sure ARCH is set correctly:
--- Makefile.cygwin.orig 2014-04-18 13:09:05.398891100 -0400
+++ Makefile.cygwin 2014-04-18 13:09:26.715110300 -0400
@@ -33,7 +33,7 @@
# platform configuration
-ARCH ?= x86
+ARCH ?= $(shell sh $(SRCDIR)/config-arch.sh)
HACKED_APPLY ?= 1
DLLSINPATH = 1
And this one eliminates the following complaint from the assembler:
apply-hack.x86-64.S: Assembler messages:
apply-hack.x86-64.S:32: Warning: .type pseudo-op used outside of .def/.endef
ignored.
apply-hack.x86-64.S:32: Error: junk at end of line, first unrecognized
character is `_'
rules.make:184: recipe for target 'apply-hack.x86-64.o' failed
--- apply-hack.x86-64.S 2014-04-18 13:15:27.088722500 -0400
+++ apply-hack.x86-64.S.orig 2014-04-18 13:12:09.893443600 -0400
@@ -28,8 +28,7 @@
.text
.globl _C_do_apply_hack
-#if defined(__APPLE__) || defined(__CYGWIN__)
-#else
+#ifndef __APPLE__
.type _C_do_apply_hack, @function
#endif
With those in place, all goes well until the attempt to build cygchicken-0.dll,
which fails with:
runtime.o:runtime.c:(.text+0x24c67): undefined reference to `C_do_apply_hack'
runtime.o:runtime.c:(.text+0x24c67): relocation truncated to fit: R_X86_64_PC32
against undefined symbol `C_do_apply_hack'
/usr/bin/ld: runtime.o: bad reloc address 0x0 in section `.pdata'
collect2: error: ld returned 1 exit status
rules.make:232: recipe for target 'cygchicken-0.dll' failed
Since I don't know assembly language, I can't help further.
--
John Cowan http://www.ccil.org/~cowan address@hidden
In might the Feanorians / that swore the unforgotten oath
brought war into Arvernien / with burning and with broken troth.
and Elwing from her fastness dim / then cast her in the waters wide,
but like a mew was swiftly borne, / uplifted o'er the roaring tide.
--the Earendillinwe