This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITP] chicken-4.9.0.1
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 10 Dec 2014 16:52:48 +0100
- Subject: Re: [ITP] chicken-4.9.0.1
- Authentication-results: sourceware.org; auth=none
- References: <20141210112536 dot GR12089 at pestilenz dot org> <54883C6E dot 6040808 at gmail dot com> <20141210131424 dot GS12089 at pestilenz dot org> <54885B98 dot 9040601 at gmail dot com> <20141210145001 dot GW12089 at pestilenz dot org> <54886208 dot 5000605 at gmail dot com> <20141210153323 dot GZ12089 at pestilenz dot org>
On 12/10/2014 4:33 PM, Christian Kellermann wrote:
* Marco Atzeri <marco.atzeri@gmail.com> [141210 16:09]:
Thanks insteresting. Which gcc is this? Are you sure you build with
a 64 bit assembler there?
Please note that the 32bit version of the Assembler don't have that
row.
Interesting, we only ran into this with Apple's Mach-O assembler.
It works with a gcc-4.8.3 / 4.9.1 on my debian box, so I have to
see where the difference is.
https://sourceware.org/binutils/docs/as/Type.html#Type
see COFF Version
Does it work for you if you omit the #ifdef block (or comment out
the line)?
build stop later at:
gcc -shared -o cygchicken-0.dll -Wl,--dll -Wl,--add-stdcall-alias \
-Wl,--enable-stdcall-fixup -Wl,--warn-unresolved-symbols \
-Wl,--dll-search-prefix=cyg -Wl,--allow-multiple-definition \
-Wl,--allow-shlib-undefined \
-Wl,--out-implib=libchicken.dll.a -Wl,--export-all-symbols \
-Wl,--enable-auto-import \
-Wl,--whole-archive library.o eval.o data-structures.o ports.o
files.o extra s.o lolevel.o utils.o tcp.o
srfi-1.o srfi-4.o srfi-13.o srfi-14.o srfi-18.o srfi
-69.o posixunix.o irregex.o scheduler.o profiler.o stub.o
expand.o modules.o chi cken-syntax.o
chicken-ffi-syntax.o build-version.o runtime.o apply-hack.x86-64.o
\
-Wl,--no-whole-archive -lm
runtime.o:runtime.c:(.text+0x24c9e): undefined reference to
`C_do_apply_hack'
runtime.o:runtime.c:(.text+0x24c9e): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol
`C_do_apply_hack'
collect2: error: ld returned 1 exit status
rules.make:232: recipe for target 'cygchicken-0.dll' failed
make[1]: *** [cygchicken-0.dll] Error 1
Kind regards,
Christian