Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 14:51:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194487] New: devel/llvm* and lang/clang* inconsistent target triple with base clang
Message-ID:  <bug-194487-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: jbeich@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194487-13>