Opened 13 years ago

Closed 13 years ago

#27984 closed defect (wontfix)

llvm: build fails on Tiger

Reported by: rssolis@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: tiger Cc: mfeiri, tenomoto (Takeshi Enomoto), ryandesign (Ryan Carsten Schmidt)
Port: llvm

Description (last modified by ryandesign (Ryan Carsten Schmidt))

My computer:

  • Mac mini
  • OS X version 10.4.11
  • 1.83 GHz Intel Core 2 Duo

Here's what I get:

firecat:~ rsolis$ sudo port install g95
Password:
--->  Computing dependencies for g95
--->  Dependencies to be installed: odcctools llvm
--->  Building llvm
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install llvm
Log for llvm is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/main.log
Error: The following dependencies were not installed: odcctools llvm
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
firecat:~ rsolis$ 

Error log is printed below:

:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Nothing to be done for `all'.
:info:build make[3]: Nothing to be done for `all'.
:info:build make[3]: Nothing to be done for `all'.
:info:build make[2]: Nothing to be done for `all'.
:info:build make[3]: Nothing to be done for `all'.
:info:build make[3]: Nothing to be done for `all'.
:info:build make[2]: Nothing to be done for `all'.
:info:build llvm[1]: Linking Release Shared Library libLLVM-2.8.dylib
:info:build ld: multiple definitions of symbol ___floatdisf
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_floatdisf.o) private external definition of ___floatdisf in section (__TEXT,__text)
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_floatdisf_s.o) definition of ___floatdisf
:info:build ld: multiple definitions of symbol ___floatdidf
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_floatdidf.o) private external definition of ___floatdidf in section (__TEXT,__text)
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_floatdidf_s.o) definition of ___floatdidf
:info:build ld: multiple definitions of symbol ___divdi3
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_divdi3.o) private external definition of ___divdi3 in section (__TEXT,__text)
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_divdi3_s.o) definition of ___divdi3
:info:build ld: multiple definitions of symbol ___udivdi3
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o) private external definition of ___udivdi3 in section (__TEXT,__text)
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_udivdi3_s.o) definition of ___udivdi3
:info:build ld: multiple definitions of symbol ___umoddi3
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o) private external definition of ___umoddi3 in section (__TEXT,__text)
:info:build /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_umoddi3_s.o) definition of ___umoddi3
:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed
:info:build make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/llvm-2.8/Release/lib/libLLVM-2.8.dylib] Error 1
:info:build make: *** [all] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/llvm-2.8" && /usr/bin/make all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for llvm): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install llvm
:notice:build Log for llvm is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/main.log

* Thanks for any assstance! - Ruben Solis

Change History (6)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: mfeiri@… added
Description: modified (diff)
Keywords: tiger added
Owner: changed from macports-tickets@… to erickt@…
Port: llvm added
Summary: attempt to install g95 failsattempt to install llvm on tiger fails

Please remember to preview and use WikiFormatting (or better, use an attachment for lengthy output), fill in the Port field, and cc the maintainers.

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

Cc: takeshi@… added

Why does odcctools depend on llvm anyway?

comment:3 Changed 13 years ago by mfeiri

Unfortunately llvm doesnt support tiger anymore. I'd guess odcctools depends on llvm to support llvm bitcode in odld. This is the reason why the ld64 port depends on llvm.

I dont understand why g95 depends on odcctools on tiger. It doesnt require odcctools on newer systems. In any case, I'm afraid that support for tiger in llvm is simply not something we can provide. It might be possible to make llvm an optional dependency in odcctools. But odcctools is unmaintained and at this point in time it would be generally hard to justify special effort just for tiger. Sorry.

comment:4 Changed 13 years ago by jmroot (Joshua Root)

You should make llvm error out early on Tiger like so:

platform darwin 8 {
    pre-fetch {
        return -code error "LLVM does not build on Tiger."
    }
}

comment:5 in reply to:  3 Changed 13 years ago by jmroot (Joshua Root)

Replying to mfeiri@…:

It might be possible to make llvm an optional dependency in odcctools. But odcctools is unmaintained and at this point in time it would be generally hard to justify special effort just for tiger.

It took very little effort to remove the dependency on darwin 8 (r75160). Reporter, could you try building odcctools after you sync that change?

comment:6 in reply to:  4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Resolution: wontfix
Status: newclosed
Summary: attempt to install llvm on tiger failsllvm: build fails on Tiger

Replying to jmr@…:

You should make llvm error out early on Tiger

r77828

Note: See TracTickets for help on using tickets.