[Bug 205139] lang/gcc: gcc and g++ symlinks break tigervnc build and possibly many other programs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 8 15:43:16 UTC 2015


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

            Bug ID: 205139
           Summary: lang/gcc: gcc and g++ symlinks break tigervnc build
                    and possibly many other programs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald at FreeBSD.org
          Reporter: lantw44 at gmail.com
          Assignee: gerald at FreeBSD.org
             Flags: maintainer-feedback?(gerald at FreeBSD.org)

Created attachment 163989
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163989&action=edit
tigervnc build log

gcc and g++ symlinks was added in r402352. This can cause problems on FreeBSD
10 because GNU autoconf tests gcc and g++ before testing cc and c++, so after
installing lang/gcc, most projects that use autotools are built with gcc from
ports instead of clang from base. Mixing g++ and clang++ can cause undefined
reference error or crash the program because of conflicts between libstdc++ and
libc++.

TigerVNC build log is attached. If gcc and g++ symlinks are removed, it can be
successfully built.

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


More information about the freebsd-ports-bugs mailing list