Opened 13 years ago

Closed 10 years ago

#34200 closed defect (worksforme)

arb: ld: lto: could not merge in mkptypes.o because Unknown instruction for architecture x86_64

Reported by: tonybert@… Owned by: matt.cottrell@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: fangliu@…, ivan.gregor@…
Port: arb

Description (last modified by mf2k (Frank Schima))

new post-doc trying to install arb on osx 10.7.3, macbook pro. continually getting a build error. have updated ports, still see the same.

Attachments (2)

main.log (92.0 KB) - added by tonybert@… 13 years ago.
mainII.log (113.7 KB) - added by tonybert@… 13 years ago.

Download all attachments as: .zip

Change History (17)

Changed 13 years ago by tonybert@…

Attachment: main.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: build failure removed
Summary: arb 2.0.4arb: ld: lto: could not merge in mkptypes.o because Unknown instruction for architecture x86_64

Since this was not a clean build attempt, could you please "sudo port clean arb", then try again, then attach the new main.log?

comment:2 Changed 13 years ago by tonybert@…

hi, i tried your suggestion, then the re-install. attached is the new log. thanks!

Changed 13 years ago by tonybert@…

Attachment: mainII.log added

comment:3 Changed 13 years ago by matt.cottrell@…

What do you get from:

gcc --version

I get

gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

comment:4 Changed 13 years ago by tonybert@…

greetings, yes, I see the same.

comment:5 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

What version of Xcode do you have?

What kind of processor is in your Mac?

comment:7 Changed 13 years ago by tonybert@…

Xcode version 4.2.1, Build 4D502. Mac OSX Version 10.7.3, Processor 1.7 GHz INtel Core i5, Memory 4GB 1333 HHz DDR3, Startup Disk Macintosh HD

comment:8 in reply to:  7 Changed 13 years ago by matt.cottrell@…

Replying to tonybert@…:

Xcode version 4.2.1, Build 4D502. Mac OSX Version 10.7.3, Processor 1.7 GHz INtel Core i5, Memory 4GB 1333 HHz DDR3, Startup Disk Macintosh HD

Please upgrade Xcode to the latest version (4.3.2) and try again.

comment:9 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: fangliu@… added; matt.cottrell@… removed
Owner: changed from macports-tickets@… to matt.cottrell@…

Has duplicate #34815.

comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #34835.

comment:11 Changed 12 years ago by mfeiri

Compilation with -O4 activates link time optimizations. It looks like arb can not handle that. A patch was applied upstream to not trigger LTO, see http://bugs.arb-home.de/changeset/8675/trunk/Makefile. Either pull in that patch, or force a non-LTO compiler, or wait for the upstream update.

comment:12 Changed 12 years ago by mattcottrell

The patch that you refer to

http://bugs.arb-home.de/changeset/8675/trunk/Makefile

is in trunk. It is waiting in the wings for the next stable arb release. I work closely with the upstream arb developers and they graciously incorporate into the arb source all of the OS X patches that I pass along to them, including this one. Thanks.

comment:13 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ivan.gregor@… added

Has duplicate #36373. Is this still a problem with 5.5?

comment:14 Changed 10 years ago by mattcottrell

This ticket can be closed. It is no longer relevant.

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

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.