Opened 9 years ago
Closed 9 years ago
#48334 closed defect (invalid)
unison @2.48.3_1 build fails on OS X 10.11 beta with "ld: library not found for -lgcc_s.10.5"
Reported by: | kenyon@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | elcapitan | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | unison |
Description
Installing port unison @2.48.3_1, the build fails on OS X 10.11 (El Capitan) beta (15A215h), using Xcode 7.0 beta 3 (7A152u) and associated command line tools. Build also fails with the same error when compiling outside of MacPorts, just building the upstream tarball with the MacPorts-installed OCaml. So seems like maybe an upstream problem rather than MacPorts specific.
From main.log:
:info:destroot + /usr/bin/clang -Wl,-no_compact_unwind -o 'unison' '-Llwt' '-Lubase' '-Lsystem' '-Lfsmonitor' '-Lfsmonitor/linux' '-Lfsmonitor/windows' '-Lsystem/generic' '-Llwt/generic' '-L/opt/local/lib/ocaml' -mmacosx-version-min=10.5 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_unison/unison/work/.tmp/camlstartup829c9e.o' '/opt/local/lib/ocaml/std_exit.o' 'linktext.o' 'main.o' 'test.o' 'uitext.o' 'uicommon.o' 'strings.o' 'transport.o' 'recon.o' 'sortri.o' 'files.o' 'stasher.o' 'copy.o' 'update.o' 'fpcache.o' 'fswatchold.o' 'globals.o' 'remote.o' 'xferhint.o' 'transfer.o' 'terminal.o' 'checksum.o' 'tree.o' 'common.o' 'clroot.o' 'lock.o' 'os.o' 'fileinfo.o' 'props.o' 'fswatch.o' 'external.o' 'osx.o' 'abort.o' 'fingerprint.o' 'fs.o' 'fspath.o' 'path.o' 'name.o' 'fileutil.o' 'pred.o' 'case.o' 'uutil.o' 'lwt/lwt_unix.o' 'lwt/generic/lwt_unix_impl.o' 'lwt/lwt_util.o' 'lwt/lwt.o' 'lwt/pqueue.o' 'ubase/proplist.o' 'ubase/trace.o' 'ubase/prefs.o' 'ubase/uarg.o' 'ubase/util.o' 'ubase/safelist.o' 'ubase/myMap.o' 'ubase/projectInfo.o' 'system.o' 'system/generic/system_impl.o' 'system/system_generic.o' 'bytearray.o' 'unicode.o' 'unicode_tables.o' 'ubase/rx.o' '/opt/local/lib/ocaml/bigarray.a' '/opt/local/lib/ocaml/str.a' '/opt/local/lib/ocaml/unix.a' '/opt/local/lib/ocaml/stdlib.a' '-lbigarray' '-lcamlstr' '-lunix' 'osxsupport.o' 'pty.o' 'bytearray_stubs.o' '/opt/local/lib/ocaml/libasmrun.a' :info:destroot ld: library not found for -lgcc_s.10.5 :info:destroot clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:destroot File "caml_startup", line 1: :info:destroot Error: Error during linking :info:destroot make: *** [unison] Error 2
Change History (4)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | elcapitan added |
---|---|
Port: | unison added |
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
comment:3 Changed 9 years ago by kenyon@…
After installing today's Command Line Tools update, unison builds and runs fine under MacPorts.
comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Then we'll assume it was a bug in an early Xcode 7 beta, and therefore not a MacPorts bug.
Note: See
TracTickets for help on using
tickets.
I have seen this before as well, on Yosemite, with Xcode 7 beta. I think it is either a bug in Xcode 7 beta, or else a change that I do not understand.
Here's what's in Xcode 6.4:
Here's what's in Xcode 7 beta 3:
Whereas Xcode 6.4 (and earlier) provided dynamic libraries for libgcc_s, Xcode 7 beta only provides text files with a tbd extension, which is not an extension I'm familiar with.
I'm also not sure where the request to use
-lgcc_s.10.5
in the unison build is coming from.