Opened 9 years ago

Closed 8 years ago

#28158 closed update (fixed)

i386-mingw32-binutils: update to 2.21

Reported by: mojca (Mojca Miklavec) Owned by: landonf@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: ryandesign (Ryan Schmidt)
Port: i386-mingw32-binutils

Description

ld from current version (1.19) of binutils in mingw32 segfaults when cross-compiling and including dll library. Apparently a newer version fixes the problem.

See also

http://lists.gnu.org/archive/html/bug-binutils/2011-01/msg00120.html

I would like to request a new version of binutils (probably 2.21) that apparently fixes the problem.

Thank you.

Attachments (1)

i386-mingw32-binutils-2.21-3.diff (1.2 KB) - added by ryandesign (Ryan Schmidt) 8 years ago.
beginnings of a patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by mojca (Mojca Miklavec)

Cc: mojca.miklavec.lists@… added

Cc Me!

comment:2 Changed 9 years ago by jmroot (Joshua Root)

Cc: mojca.miklavec.lists@… removed
Owner: changed from macports-tickets@… to landonf@…
Version: 1.9.2

Please remember to cc the maintainer. You do not need to be in cc when you are the reporter.

comment:3 Changed 9 years ago by mojca (Mojca Miklavec)

I have just learnt how to create my own ports and have tried to just replace the version (I'm sorry; the "-2" is ugly, but I just wanted to see if it works). So the difference between 2.19 and my new local 2.21 is approximately the following:

version			2.21
...
distname		binutils-${version}-2-mingw32-src
worksrcdir		binutils-${version}
use_xz			yes
extract.suffix		.tar.lzma
checksums		md5     f75122b3d253cc9054dc82d90c10455a \
			sha1    64e48bb360387c0de606d75fe878aa16d4843d37 \
			rmd160  9b27b8537e1764e75ac3510a6393a728dcb99b9c

I left the rest intact ... and ... yay! The package compiled fine and now cross-compilation works without segfaulting.

I'm sorry about CC-ing. I had no idea how bugreporting works exactly. I just saw a nice "CcMe!" button and I clicked it. (Maybe the button should be removed for the author if it is not needed, but I guess that nobody cares about that anyway.)

comment:4 Changed 8 years ago by ryandesign (Ryan Schmidt)

Keywords: haspatch added
Summary: update i386-mingw32-binutilsi386-mingw32-binutils: update to 2.21

Maybe the button should be removed for the author if it is not needed

I don't know whether Trac gives us the flexibility to do that.

Changed 8 years ago by ryandesign (Ryan Schmidt)

beginnings of a patch

comment:5 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Updated in r80347 (maintainer timeout)

Note: See TracTickets for help on using tickets.