Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Dec 2015 15:43:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205139] lang/gcc: gcc and g++ symlinks break tigervnc build and possibly many other programs
Message-ID:  <bug-205139-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: lantw44@gmail.com
          Assignee: gerald@FreeBSD.org
             Flags: maintainer-feedback?(gerald@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.



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