Discussion:
64 bit news
Corinna Vinschen
2013-03-04 20:24:49 UTC
Permalink
Hi guys,


I just uploaded new packages:

ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130304.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/x86_64-pc-cygwin-binutils-20130304.patch
ftp://cygwin.com/pub/cygwin/64bit/x86_64-pc-cygwin-gcc-20130304.patch

The binary toolchain contains libbfd, libintl and libiconv now to be
able to build dumper.exe. The downside is, it doesn't work. The Linux
cross ld crashes when trying lo link dumper, because glibc detects a
call to free() with an invalid pointer, somewhere in bfd code. Strange
enough, it works to build dumper with the native toolchain. If anybody
has fun trying to track down the problem, I'd be grateful for any help.

ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130304.x86_64.tar.xz

The above gcc patchset and the toolchains contain a few patches from
Yaakov, to create the correct calls to new in C++, as well as a few
other things.

I also uploaded a new package, a native GDB:

ftp://cygwin.com/pub/cygwin/64bit/install/gdb-7.5.50.20130304-cvs-1.x86_64.tar.xz

Only a few minor patches are necessary to get current CVS running:

ftp://cygwin.com/pub/cygwin/64bit/x86_64-pc-cygwin-gdb-20130304.patch


Have fun,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Yaakov (Cygwin/X)
2013-03-05 06:11:17 UTC
Permalink
Post by Corinna Vinschen
The binary toolchain contains libbfd, libintl and libiconv now to be
able to build dumper.exe. The downside is, it doesn't work. The Linux
cross ld crashes when trying lo link dumper, because glibc detects a
call to free() with an invalid pointer, somewhere in bfd code. Strange
enough, it works to build dumper with the native toolchain. If anybody
has fun trying to track down the problem, I'd be grateful for any help.
Hmm, I had no problem cross-compiling dumper from i686-cygwin. I
suppose the question is, how exactly did you build libintl? You
probably recall that correctly cross-compiling gettext-runtime requires
predefining a bunch of cache variables, as done in Ports[1].


Yaakov

[1]
http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/cygwin64-gettext;a=blob;f=cygwin64-gettext.cygport;h=56ac276;hb=HEAD
Corinna Vinschen
2013-03-05 08:39:41 UTC
Permalink
Post by Yaakov (Cygwin/X)
Post by Corinna Vinschen
The binary toolchain contains libbfd, libintl and libiconv now to be
able to build dumper.exe. The downside is, it doesn't work. The Linux
cross ld crashes when trying lo link dumper, because glibc detects a
call to free() with an invalid pointer, somewhere in bfd code. Strange
enough, it works to build dumper with the native toolchain. If anybody
has fun trying to track down the problem, I'd be grateful for any help.
Hmm, I had no problem cross-compiling dumper from i686-cygwin. I
suppose the question is, how exactly did you build libintl? You
probably recall that correctly cross-compiling gettext-runtime requires
predefining a bunch of cache variables, as done in Ports[1].
Problem solved. I messed up. I accidentally installed a native Linux
ELF libfd.a to the tooldir :-P

I'm going to upload a new binary-toolchain file.


Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Loading...