Bug 215030 - devel/llvm39: Fails to build: can't find -ldl
Summary: devel/llvm39: Fails to build: can't find -ldl
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2016-12-03 22:09 UTC by Yuri Victorovich
Modified: 2017-05-23 16:48 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2016-12-03 22:09:29 UTC
Please see log here: http://pastebin.com/BCPzJAfV
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-12-04 11:23:48 UTC
@Yuri, Please include logs as attachments, compressed if required or (ideally) edited (snipped) to only show relevant sections. This ensures that all relevant information is in one place

Also, is this reproducible for any other clang/llvmXY ports?
Comment 2 Brooks Davis freebsd_committer freebsd_triage 2016-12-05 19:22:20 UTC
It looks like chromium has a broken configuration test resulting it in thinking libdl exists.  It claims to have found dlopen() in dl, but we don't have a libdl on FreeBSD because that functionality is in libc.

As far as I can tell, this has nothing to do with devel/llvm39.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2016-12-05 19:48:58 UTC
Thanks Brooks,

This was discussed on the chromium@ ML, I posted the link to this bug there.

Yuri
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2016-12-05 21:42:06 UTC
The standalone build of llvm39 fails too for me:
> /usr/bin/ld: cannot find -ldl
> c++: error: linker command failed with exit code 1 (use -v to see invocation)
> [4/4] Linking CXX shared library lib/freebsd/libclang_rt.asan-x86_64.so
ninja: build stopped: subcommand failed.
> *** Error code 1
Comment 5 Brooks Davis freebsd_committer freebsd_triage 2017-05-23 16:48:39 UTC
I've never been able to reproduce this and no-one else has reported it so I'm closing this report.