gnu/gcc-4.1-20060728/gcc/toplev.c:533:1: error: redefinition of 'floor_log2' floor_log2 (unsigned HOST_WIDE_INT x) ^ In file included from gnu/gcc-4.1-20060728/gcc/toplev.c:59:0: gnu/gcc-4.1-20060728/gcc/toplev.h:175:1: note: previous definition of 'floor_log2' was here floor_log2 (unsigned HOST_WIDE_INT x) ^ gnu/gcc-4.1-20060728/gcc/toplev.c:568:1: error: redefinition of 'exact_log2' exact_log2 (unsigned HOST_WIDE_INT x) ^ In file included from gnu/gcc-4.1-20060728/gcc/toplev.c:59:0: gnu/gcc-4.1-20060728/gcc/toplev.h:181:1: note: previous definition of 'exact_log2' was here exact_log2 (unsigned HOST_WIDE_INT x) ^ http://package23.nyi.freebsd.org/data/103amd64-default-PR216707/2017-02-03_20h32m45s/logs/errors/tigcc-0.96.b8_4.log http://package22.nyi.freebsd.org/data/103i386-default-PR216707/2017-02-03_20h32m46s/logs/errors/tigcc-0.96.b8_4.log
I'm honestly not sure how to fix this. It doesn't help that tigcc is basically building as gcc 4.1 either...
A commit references this bug: Author: jbeich Date: Sun Feb 5 07:19:09 UTC 2017 New revision: 433377 URL: https://svnweb.freebsd.org/changeset/ports/433377 Log: devel/tigcc: unbreak with gcc5 or later PR: 216810 Changes: head/devel/tigcc/Makefile
Inline linkage has changed resulting in the conflict of definitions, see https://gcc.gnu.org/gcc-5/porting_to.html