Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Aug 2018 00:12:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230399] devel/libunwind: fails to build with Clang 7
Message-ID:  <bug-230399-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230399

            Bug ID: 230399
           Summary: devel/libunwind: fails to build with Clang 7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danilo@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: dim@FreeBSD.org
            Blocks: 230355
          Assignee: danilo@FreeBSD.org
             Flags: maintainer-feedback?(danilo@FreeBSD.org)

$ cc -v
FreeBSD clang version 7.0.0 (branches/release_70 338892) (based on LLVM
7.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

$ make
[...]
Making all in tests
/bin/sh ../libtool  --tag=3DCC    --mode=3Dlink cc  -O2 -pipe -O3
-fno-omit-frame-pointer -march=3Dnative  -fstack-protector -fexceptions -Wa=
ll
-Wsign-compare   -fstack-protector -fuse-ld=3Dbfd -o Gperf-simple Gperf-sim=
ple.o
../src/libunwind-x86_64.la ../src/libunwind.la
libtool: link: cc -O2 -pipe -O3 -fno-omit-frame-pointer -march=3Dnative
-fstack-protector -fexceptions -Wall -Wsign-compare -fstack-protector
-fuse-ld=3Dbfd -o .libs/Gperf-simple Gperf-simple.o=20
../src/.libs/libunwind-x86_64.so
/tmp/a/overlay/ports/devel/libunwind/work/libunwind-1.2.1/src/.libs/libunwi=
nd.so
../src/.libs/libunwind.so -lgcc_s -llzma -Wl,-rpath -Wl,/usr/local/lib
/usr/lib/libgcc_s.so: undefined reference to `__gxx_personality_v0'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

build log: https://ptpb.pw/pyiT


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
--=20
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-230399-7788>