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

--- Comment #8 from [email protected] ---
(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.
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to