Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#47039 closed defect (worksforme)

llvm-3.4 does not build on 10.5.8

Reported by: janstary (Jan Starý) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: leopard Cc: larryv (Lawrence Velázquez), neverpanic (Clemens Lang)
Port: llvm-3.4

Description

sudo port install llvm-3.4 fails to build on MacOSX 10.5.8 using MacPorts 2.3.3; main.log attached

The error message is

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src" && /usr/bin/make -j2 -w all

Strangly, if I cd to there and run make -j2 -w all manually, the compilation seems to go on just fine.

This happens both wth the default variants as with -assertions -ocaml -polly -universal

Attachments (1)

main.log (1019.9 KB) - added by janstary (Jan Starý) 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by janstary (Jan Starý)

Attachment: main.log added

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

Cc: larryv@… cal@… added; jeremyhu larryv removed
Keywords: leopard added
Owner: changed from macports-tickets@… to jeremyhu@…

Trac requires complete email addresses.

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

Other than :info:build make: *** [all] Error 1, I don't see any problem in the log. It also built fine for me on my Leopard VM last month.

comment:3 in reply to:  2 Changed 10 years ago by janstary (Jan Starý)

Replying to jeremyhu@…:

Other than :info:build make: *** [all] Error 1, I don't see any problem in the log.

Well, obviously, the log ends with that message. But why does it fail?

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

That's my point. I don't see any other error in the log. There is no indication as to why it failed.

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

The relevant error in the log is:

:info:build {standard input}:38005:non-relocatable subtraction expression, "LC10" minus "L00000000018$pb"
:info:build {standard input}:38005:symbol: "L00000000018$pb" can't be undefined in a subtraction expression
:info:build {standard input}:37992:non-relocatable subtraction expression, "LC9" minus "L00000000018$pb"
:info:build {standard input}:37992:symbol: "L00000000018$pb" can't be undefined in a subtraction expression
:info:build {standard input}:unknown:Undefined local symbol L00000000018$pb
:info:build make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/CodeGen/SelectionDAG/Release+Debug/LegalizeDAG.o] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/CodeGen/SelectionDAG'
:info:build make[2]: *** [SelectionDAG/.makeall] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/CodeGen'
:info:build make[1]: *** [CodeGen/.makeall] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....

comment:6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

What version of Xcode do you have? What version of gcc-4.2 is that?

Does it work if you use macports-clang-3.3?

comment:7 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

comment:8 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

No response, and I have clang-3.4 on my Leopard VM, so closing.

Note: See TracTickets for help on using tickets.