[Bug 233905] devel/ticcutils: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 10 05:44:06 UTC 2018


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

            Bug ID: 233905
           Summary: devel/ticcutils: fix build with GCC-based
                    architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri at freebsd.org
          Reporter: pkubaj at anongoth.pl
          Assignee: yuri at freebsd.org
             Flags: maintainer-feedback?(yuri at freebsd.org)

Created attachment 199999
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199999&action=edit
patch

This port needs CFLAGS+=-D_THREAD_SAFE to build on GCC architectures.

This is needed because of:
   1771 configure:17261: checking whether pthreads work with -pthread
   1772 configure:17355: gcc7 -o conftest -O2 -pipe 
-Wl,-rpath=/usr/local/lib/gcc7 -isystem /usr/local/include -fno-strict-aliasing
 -pthread -isystem /usr/lo
cal/include -I/usr/include -I/usr/include  -lboost_regex
-Wl,-rpath=/usr/local/lib/gcc7 -L/usr/local/lib/gcc7 -L/usr/local/lib 
-L/usr/lib -L/usr/lib conftest.
c  -lz  -lbz2 -ltar >&5
   1773 conftest.c:54:6: error: #error "_THREAD_SAFE must be defined"
   1774  #    error "_THREAD_SAFE must be defined"
   1775       ^~~~~

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

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


More information about the freebsd-ports-bugs mailing list