[Bug 194487] New: devel/llvm* and lang/clang* inconsistent target triple with base clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 20 14:51:21 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194487

            Bug ID: 194487
           Summary: devel/llvm* and lang/clang* inconsistent target triple
                    with base clang
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at vfemail.net

Created attachment 148504
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148504&action=edit
clang35 fix

Since base r222183 clang in base uses x86_64-unknown-freebsd* on amd64. Apart
from the issue described in that commit wrong build arch also affects
profiling:

  $ clang35 -fprofile-generate foo.c
  /usr/local/bin/ld: cannot find
/usr/local/llvm35/bin/../lib/clang/3.5.0/lib/freebsd/libclang_rt.profile-amd64.a:
No such file or directory
  clang: error: linker command failed with exit code 1 (use -v to see
invocation)

When updating devel/compiler-rt to a new version it builds
libclang_rt.profile-x86_64.a, not libclang_rt.profile-amd64.a.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list