Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2014 10:28:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192131] New: cad/kidcad: build with GCC 4.8 fails with /usr/local/include/c++/v1/string:641:35: error: inlining failed in call to always_inline 'static bool std::__1::char_traits<char>::eq
Message-ID:  <bug-192131-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 192131
           Summary: cad/kidcad: build with GCC 4.8 fails with
                    /usr/local/include/c++/v1/string:641:35: error:
                    inlining failed in call to always_inline 'static bool
                    std::__1::char_traits<char>::eq
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: gerald@FreeBSD.org
                CC: cmt@burggraben.net, thierry@FreeBSD.org
            Blocks: 192025

We are working to change the default version of GCC from 4.7 (which
is end of life) to 4.8.

This port is one of a handful that blocks this migration since it fails
to build on FreeBSD/amd64 10 as follows:

cd /wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common &&
/usr/local/bin/g++48   -DKICAD_STABLE_VERSION -DWXUSINGDLL
-D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D__WXGTK__ -DwxUSE_UNICODE -O2 -pipe
-Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/include
-I/usr/local/include -DBOOST_HASH_NO_EXTENSIONS -nostdinc++ -isystem
/usr/local/include/c++/v1 -Wl,-rpath=/usr/local/lib/gcc48 -fPIC
-I/usr/local/include/wx-3.0 -Wno-narrowing -O1 -Wall -DNDEBUG
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/include
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/. -isystem
/usr/local/lib/wx/include/gtk2-unicode-3.0 -isystem /usr/local/include/wx-3.0
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/./dialogs
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/./dialog_about
-I/usr/local/include
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/../3d-viewer
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/../pcbnew
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/../polygon
-I/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017 -o
CMakeFiles/common.dir/richio.cpp.o -c
/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/richio.cpp
In file included from
/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/include/richio.h:32:0,
                 from
/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/richio.cpp:29:
/usr/local/include/c++/v1/string: In member function 'virtual std::__1::string
OUTPUTFORMATTER::Quotes(const string&)':
/usr/local/include/c++/v1/string:641:35: error: inlining failed in call to
always_inline 'static bool
std::__1::char_traits<char>::eq(std::__1::char_traits<char>::char_type,
std::__1::char_traits<char>::char_type) throw ()': indirect function call with
a yet undetermined callee
     static _LIBCPP_CONSTEXPR bool eq(char_type __c1, char_type __c2) _NOEXCEPT
                                   ^
In file included from /usr/local/include/c++/v1/string:439:0,
                 from
/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/include/richio.h:32,
                 from
/wrkdirs/usr/ports/cad/kicad/work/stable_2013-05-18_BZR4017/common/richio.cpp:29:
/usr/local/include/c++/v1/algorithm:1050:13: error: called from here
             if (__pred(*__first1, *__j))
             ^
*** Error code 1

The full log is at
package23.nyi.freebsd.org/data/10amd64-default-PR192025/2014-07-24_23h12m00s/logs/errors/kicad-2013.05.18.b4017,1.log

-- 
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-192131-13>