Discussion:
YA set of new 64bit packages
Corinna Vinschen
2013-02-22 12:45:27 UTC
Permalink
I just uploaded

ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130222.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130222.x86_64.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/bootstrap.sh
ftp://cygwin.com/pub/cygwin/64bit/x86_64-pc-cygwin-binutils-20130222.patch
ftp://cygwin.com/pub/cygwin/64bit/x86_64-pc-cygwin-gcc-20130222.patch

This enables shared libgcc, libstdc++, and friends. It also contains a
*backward* *incompatible* change to the DLL entry points. If your
application uses the get_osfhandle or the setmode function, you have to
rebuild. This affected gawk, so I uploaded a new gawk package, too:

ftp://cygwin.com/pub/cygwin/64bit/install/gawk-4.0.2-2.x86_64.tar.xz

There may be other uploaded packages affected as well, so there's no
guarantee that everything in the 64bit install dir still works.

Ok, I guess that's it for the weekend.


Happy testing,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Andy Koppe
2013-02-22 13:38:28 UTC
Permalink
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130222.tar.xz
With this, I'm still getting the issue with w32api libs not being
found. It's not holding me up in any way though, so I don't mind if
you want to ignore it.

$ x86_64-pc-cygwin-gcc test.c
/home/andy/opt/x86_64-pc-cygwin/bin/../lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -ladvapi32
/home/andy/opt/x86_64-pc-cygwin/bin/../lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -lshell32
/home/andy/opt/x86_64-pc-cygwin/bin/../lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -luser32
/home/andy/opt/x86_64-pc-cygwin/bin/../lib/gcc/x86_64-pc-cygwin/4.8.0/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -lkernel32
collect2: error: ld returned 1 exit status

$ x86_64-pc-cygwin-gcc --version
x86_64-pc-cygwin-gcc (GCC) 4.8.0 20130222 (experimental)

A workaround is to add -L`x86_64-pc-cygwin-gcc
-print-file-name=w32api` to the command line.

Andy
Corinna Vinschen
2013-02-22 14:35:07 UTC
Permalink
Post by Andy Koppe
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130222.tar.xz
With this, I'm still getting the issue with w32api libs not being
found. It's not holding me up in any way though, so I don't mind if
you want to ignore it.
$ x86_64-pc-cygwin-gcc test.c
cannot find -ladvapi32
cannot find -lshell32
cannot find -luser32
cannot find -lkernel32
collect2: error: ld returned 1 exit status
$ x86_64-pc-cygwin-gcc --version
x86_64-pc-cygwin-gcc (GCC) 4.8.0 20130222 (experimental)
A workaround is to add -L`x86_64-pc-cygwin-gcc
-print-file-name=w32api` to the command line.
Andy
Does it help if you add a symlink /usr/cygnus -> /home/andy/opt?
Alternatively try a symlink /ext/redhat, or install the toolchain there
In my build env /ext/redhat is the real dir, /opt/redhat and /usr/cygnus
are historical symlinks I'm often still using for configuring. Old
customs die hard...


Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Corinna Vinschen
2013-02-22 20:32:58 UTC
Permalink
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130222.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130222.x86_64.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/bootstrap.sh
ftp://cygwin.com/pub/cygwin/64bit/x86_64-pc-cygwin-binutils-20130222.patch
ftp://cygwin.com/pub/cygwin/64bit/x86_64-pc-cygwin-gcc-20130222.patch
This enables shared libgcc, libstdc++, and friends. It also contains a
*backward* *incompatible* change to the DLL entry points. If your
application uses the get_osfhandle or the setmode function, you have to
ftp://cygwin.com/pub/cygwin/64bit/install/gawk-4.0.2-2.x86_64.tar.xz
There may be other uploaded packages affected as well, so there's no
guarantee that everything in the 64bit install dir still works.
Ok, I guess that's it for the weekend.
Not quite. I added

ftp://cygwin.com/pub/cygwin/64bit/install/coreutils-8.14-2.x86_64.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/grep-2.6.3-2.x86_64.tar.xz

since both were affected by the aforementioned, backward incompatible
change.

/me is going to have a weekend now.


Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Corinna Vinschen
2013-02-25 15:17:24 UTC
Permalink
Post by Corinna Vinschen
Post by Corinna Vinschen
I just uploaded
[...stuff...]
Ok, I guess that's it for the weekend.
Not quite. I added
ftp://cygwin.com/pub/cygwin/64bit/install/coreutils-8.14-2.x86_64.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/grep-2.6.3-2.x86_64.tar.xz
since both were affected by the aforementioned, backward incompatible
change.
/me is going to have a weekend now.
Not quite as I expected, but over the weekend I came up with a patch to
enable exception handling on x86_64. Thanks to Kai Tietz for giving the
clue about RtlVirtualUnwind.

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


Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Corinna Vinschen
2013-02-28 11:25:42 UTC
Permalink
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130228.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130228.x86_64.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/x86_64-pc-cygwin-gcc-20130227.patch

The Linux toolchain also contains headers and libs of the expat package.
I needed them to cross-build a native GDB.


Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Corinna Vinschen
2013-02-28 17:26:48 UTC
Permalink
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130228-2.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130228-2.x86_64.tar.xz

This fixes the problem that the size of setjmp_buf was too small due
to a bug in newlib(*).


Corinna

(*) http://sourceware.org/ml/gdb-patches/2013-02/msg00741.html
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Teemu Nätkinniemi
2013-03-01 08:23:31 UTC
Permalink
Post by Corinna Vinschen
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130228-2.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130228-2.x86_64.tar.xz
This fixes the problem that the size of setjmp_buf was too small due
to a bug in newlib(*).
After installing this I get the following error: "The procedure entry
point cygwin_conv_to_full_posix_path could not be located in the dynamic
link library G:\cygwin64\bin\bash.exe"
Corinna Vinschen
2013-03-01 08:35:22 UTC
Permalink
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130228-2.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130228-2.x86_64.tar.xz
This fixes the problem that the size of setjmp_buf was too small due
to a bug in newlib(*).
After installing this I get the following error: "The procedure
entry point cygwin_conv_to_full_posix_path could not be located in
the dynamic link library G:\cygwin64\bin\bash.exe"
Really? Bash is still using this old entry point? This API is
deprecated since 1.7.0, so I took the liberty to remove it from x86_64
Cygwin entirely.

Eric? Can you please switch bash to the recent cygwin_conv_path API?

For the time being, use dash or tcsh, or patch bash yourself to use
cygwin_conv_path.


Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Teemu Nätkinniemi
2013-03-01 09:06:06 UTC
Permalink
Post by Corinna Vinschen
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130228-2.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130228-2.x86_64.tar.xz
This fixes the problem that the size of setjmp_buf was too small due
to a bug in newlib(*).
After installing this I get the following error: "The procedure
entry point cygwin_conv_to_full_posix_path could not be located in
the dynamic link library G:\cygwin64\bin\bash.exe"
Really? Bash is still using this old entry point? This API is
deprecated since 1.7.0, so I took the liberty to remove it from x86_64
Cygwin entirely.
I checked Bash executable with Dependency walker and setmode seems to be
missing as well.
Corinna Vinschen
2013-03-01 09:10:48 UTC
Permalink
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130228-2.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130228-2.x86_64.tar.xz
This fixes the problem that the size of setjmp_buf was too small due
to a bug in newlib(*).
After installing this I get the following error: "The procedure
entry point cygwin_conv_to_full_posix_path could not be located in
the dynamic link library G:\cygwin64\bin\bash.exe"
Really? Bash is still using this old entry point? This API is
deprecated since 1.7.0, so I took the liberty to remove it from x86_64
Cygwin entirely.
I checked Bash executable with Dependency walker and setmode seems
to be missing as well.
Ok, but that only requires a rebuild. Bash will pick up the new
_setmode function via the setmode macro. I explained the change in my
OP from 2013-02-22.


Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
Teemu Nätkinniemi
2013-03-01 12:04:24 UTC
Permalink
Post by Corinna Vinschen
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130228-2.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130228-2.x86_64.tar.xz
This fixes the problem that the size of setjmp_buf was too small due
to a bug in newlib(*).
After installing this I get the following error: "The procedure
entry point cygwin_conv_to_full_posix_path could not be located in
the dynamic link library G:\cygwin64\bin\bash.exe"
Really? Bash is still using this old entry point? This API is
deprecated since 1.7.0, so I took the liberty to remove it from x86_64
Cygwin entirely.
I checked Bash executable with Dependency walker and setmode seems
to be missing as well.
Ok, but that only requires a rebuild. Bash will pick up the new
_setmode function via the setmode macro. I explained the change in my
OP from 2013-02-22.
It would be nice to have all the sources and/or patches available to
64-bit binaries that are available.
Corinna Vinschen
2013-03-01 12:28:25 UTC
Permalink
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Teemu Nätkinniemi
Post by Corinna Vinschen
Post by Corinna Vinschen
I just uploaded
ftp://cygwin.com/pub/cygwin/64bit/binary-toolchain-x86_64-pc-linux-x-x86_64-pc-cygwin-20130228-2.tar.xz
ftp://cygwin.com/pub/cygwin/64bit/install/base-cygwin-toolchain-install-first-20130228-2.x86_64.tar.xz
This fixes the problem that the size of setjmp_buf was too small due
to a bug in newlib(*).
After installing this I get the following error: "The procedure
entry point cygwin_conv_to_full_posix_path could not be located in
the dynamic link library G:\cygwin64\bin\bash.exe"
Really? Bash is still using this old entry point? This API is
deprecated since 1.7.0, so I took the liberty to remove it from x86_64
Cygwin entirely.
I checked Bash executable with Dependency walker and setmode seems
to be missing as well.
Ok, but that only requires a rebuild. Bash will pick up the new
_setmode function via the setmode macro. I explained the change in my
OP from 2013-02-22.
It would be nice to have all the sources and/or patches available to
64-bit binaries that are available.
As far as the packages I uploaded are concerned, the patches are either
upstream, or in ftp://cygwin.com/pub/cygwin/64bit, or I didn't patch
the project at all.


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