Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#37300 closed defect (fixed)

ld64 @97.17: bug in PowerPC branch island generation

Reported by: internetzel Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: mfeiri, fang@…
Port: ld64

Description

When building current mozilla sources ld64 produces wrong PowerPC branch instructions, which lead to crashes when executing the linked code.

Attachments (1)

ld64-97.17.patch (1.2 KB) - added by internetzel 10 years ago.
bug fix

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by internetzel

Attachment: ld64-97.17.patch added

bug fix

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: mfeiri@… added
Owner: changed from macports-tickets@… to jeremyhu@…
Port: @97.17 removed

In the future, please Cc the port maintainer(s).

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

Summary: bug in PowerPC branch island generationld64 @97.17: bug in PowerPC branch island generation

comment:3 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yep. Thanks. I'll get this in for ya.

comment:4 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

r100514 (the issue doesn't exist in the other supported versions).

comment:5 Changed 10 years ago by Veence (Vincent)

Does that mean I must rebuild all the ports installed on my MacMini G4/10.4 box?

comment:6 Changed 10 years ago by internetzel

This bug can only affect binaries with a text segment size (that is code size) of more than 28 MB (per PowerPC architecture for universal binaries). Apple would have fixed this bug themselves if they had ever linked binaries that large before (the Xcode 3 default linker has always had this bug). So no, you don't have to rebuild your ports.

comment:7 Changed 10 years ago by fang@…

Cc: fang@… added

Cc Me!

Note: See TracTickets for help on using tickets.