This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Segmentation fault with binutils 2.28.1


On 04/10/2017 04:52, 叶雨飞 wrote:
Guys,

If someone could show me some instructions on how to build and release
binutils for CYGWIN, I'm happy to do it this week.

Cheers.

Hi 叶雨飞,
only the maintainer can release it.

However to see how to build and test it, the easy way
is to download the cygwin source package
   mingw64-x86_64-binutils-2.28.1.12c1f20d-1-src.tar.xz
using setup or directly from a mirror.

The file contains the upstream source used for the build,
a patch and the cygport file.

$ tar -tf mingw64-x86_64-binutils-2.28.1.12c1f20d-1-src.tar.xz
mingw64-x86_64-binutils-2.28.1.12c1f20d-1.src/
mingw64-x86_64-binutils-2.28.1.12c1f20d-1.src/binutils-gdb-2.28.1.12c1f20d.tar.bz2
mingw64-x86_64-binutils-2.28.1.12c1f20d-1.src/config-rpath.patch
mingw64-x86_64-binutils-2.28.1.12c1f20d-1.src/mingw64-x86_64-binutils.cygport


cygport is the standard method for building and maintaining packages for
the Cygwin distribution.
https://sourceware.org/ml/cygwin-announce/2017-05/msg00042.html

Attached for your convenience the same patch and the modified
mingw64-x86_64-binutils.cygport for 2.19.1.

Assuming you have cygport and all the needed tools and libraries,
these commands will download the upstream source file and
build the full cygwin package

$ cygport mingw64-x86_64-binutils.cygport download
$ cygport mingw64-x86_64-binutils.cygport almostall

The build took ~ 1 hour on my PC.
I have not yet tested it.

Regards
Marco

Attachment: config-rpath.patch
Description: Text document

Attachment: mingw64-x86_64-binutils.cygport
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]