New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28158 (closed update: fixed)

Opened 2 years ago

Last modified 23 months ago

i386-mingw32-binutils: update to 2.21

Reported by: mojca.miklavec.lists@… Owned by: landonf@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: ryandesign@…
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

i386-mingw32-binutils-2.21-3.diff (1.2 KB) - added by ryandesign@… 23 months ago.
beginnings of a patch

Change History

comment:1 Changed 2 years ago by mojca.miklavec.lists@…

  • Cc mojca.miklavec.lists@… added

Cc Me!

comment:2 Changed 2 years ago by jmr@…

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

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

comment:3 Changed 2 years ago by mojca.miklavec.lists@…

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 23 months ago by ryandesign@…

  • Keywords haspatch added
  • Summary changed from update i386-mingw32-binutils to i386-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 23 months ago by ryandesign@…

beginnings of a patch

comment:5 Changed 23 months ago by ryandesign@…

  • Status changed from new to closed
  • Cc ryandesign@… added
  • Resolution set to fixed

Updated in r80347 (maintainer timeout)

Note: See TracTickets for help on using tickets.