[kde-freebsd] [Bug 208120] devel/cmake strips necessary rpath when installing any gnu compiler from ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 6 09:07:54 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208120
--- Comment #8 from groot at kde.org ---
(In reply to Raphael Kubo da Costa from comment #7)
> lang/gcc's pkg-message says:
> > To ensure binaries built with this toolchain find appropriate versions
> > of the necessary run-time libraries, you may want to link using
>
> >
> > -Wl,-rpath=/usr/local/lib/gcc48
>
> >
> > For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
> > transparently.
That's fine. I think the issue is more about the expectations when using a
different build system on top. In other words, what do you get with
USES=compiler and cmake as a build system inside the port?
I would expect a port using CMake as build system and USES=fortran to link to
the right bits.
With the attached self-contained example, on 10.2 amd64, the resulting
executable does indeed link to the right libgcc_s.so, so it seems that CMake is
already doing the right thing in at least some cases.
I'll try the same thing on my BB for the ARM case next.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list