lang/gcc5 issue

The Doctor doctor at doctor.nl2k.ab.ca
Mon Apr 10 16:31:23 UTC 2017


All right, when I turn on all options, I am getting

Configuring stage 2 in ./gcc
In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/directives.c:21:0:
./config.h:350:19: error: multiple types in one declaration
#define ptrdiff_t int
	    ^
./config.h:350:19: error: declaration does not declare anything [-fpermissive]
In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/directives-only.c:19:0:
./config.h:350:19: error: multiple types in one declaration
#define ptrdiff_t int
		^
					./config.h:350:19: error: declaration does not declare anything [-fpermissive]
					In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/expr.c:19:0:
					./config.h:350:19: error: multiple types in one declaration
					 #define ptrdiff_t int
							    ^
							    ./config.h:350:19: error: declaration does not declare anything [-fpermissive]
							    In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/mkdeps.c:23:0:
							    ./config.h:350:19: error: multiple types in one declaration
							     #define ptrdiff_t int
										^
										./config.h:350:19: error: declaration does not declare anything [-fpermissive]
										In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/files.c:23:0:
										./config.h:350:19: error: multiple types in one declaration
										 #define ptrdiff_t int
												    ^
												    ./config.h:350:19: error: declaration does not declare anything [-fpermissive]
												    In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/errors.c:25:0:
												    ./config.h:350:19: error: multiple types in one declaration
												     #define ptrdiff_t int
															^
															./config.h:350:19: error: declaration does not declare anything [-fpermissive]
															In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/identifiers.c:25:0:
															./config.h:350:19: error: multiple types in one declaration
															 #define ptrdiff_t int
																	    ^
																	    ./config.h:350:19: error: declaration does not declare anything [-fpermissive]
																	    In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/line-map.c:22: :
																	    ./config.h:350:19: error: multiple types in one declaration
																	     #define ptrdiff_t int
																				^
																				./config.h:350:19: error: declaration does not declare anything [-fpermissive]
																				In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/macro.c:25:0:
																				./config.h:350:19: error: multiple types in one declaration
																				 #define ptrdiff_t int
																						    ^
																						    ./config.h:350:19: error: declaration does not declare anything [-fpermissive]
																						    In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/lex.c:22:0:
																						    ./config.h:350:19: error: multiple types in one declaration
																						     #define ptrdiff_t int
																									^
																									./config.h:350:19: error: declaration does not declare anything [-fpermissive]
																									In file included from /usr/ports/lang/gcc5/work/gcc-5.4.0/libcpp/charset.c:20:0:
																									./config.h:350:19: error: multiple types in one declaration
																									 #define ptrdiff_t int
																											    ^
																											    ./config.h:350:19: error: declaration does not declare anything [-fpermissive]
																											    gmake[5]: *** [Makefile:224: mkdeps.o] Error 1
																											    gmake[5]: *** Waiting for unfinished jobs....
																											    gmake[5]: *** [Makefile:224: errors.o] Error 1
																											    gmake[5]: *** [Makefile:224: directives-only.o] Error 1
																											    gmake[5]: *** [Makefile:224: identifiers.o] Error 1
																											    configure: creating cache ./config.cache
																											    checking build system type... x86_64-portbld-freebsd11.0
																											    checking host system type... gmake[5]: *** [Makefile:224: files.o] Error 1
																											    x86_64-portbld-freebsd11.0
																											    checking target system type... gmake[5]: *** [Makefile:224: line-map.o] Error 1
																											    x86_64-portbld-freebsd11.0
																											    checking LIBRARY_PATH variable... ok
																											    checking GCC_EXEC_PREFIX variable... ok
																											    checking whether to place generated files in the source directory... no
																											    checking whether a default linker was specified... yes (/usr/local/bin/ld - GNU ld)
																											    checking whether a default assembler was specified... yes (/usr/local/bin/as - GNU as)
																											    checking for x86_64-portbld-freebsd11.0-gcc...  /usr/ports/lang/gcc5/work/.build/./prev-gcc/xgcc -B/usr/ports/lang/gcc5/work/.build/./prev-gcc/ -B/usr/local/x86_64-portbld-freebsd11.0/bin/ -B/usr/local/x86_64-portbld-freebsd11.0/bin/ -B/usr/local/x86_64-portbld-freebsd11.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd11.0/include -isystem /usr/local/x86_64-portbld-freebsd11.0/sys-include
																											    gmake[5]: *** [Makefile:224: expr.o] Error 1
																											    gmake[5]: *** [Makefile:224: directives.o] Error 1
																											    checking for C compiler default output file name... gmake[5]: *** [Makefile:224: macro.o] Error 1
																											    gmake[5]: *** [Makefile:224: lex.o] Error 1
																											    a.out
																											    checking whether the C compiler works... yes
																											    checking whether we are cross compiling... no
																											    checking for suffix of executables...
																											    checking for suffix of object files... o
																											    checking whether we are using the GNU C compiler... gmake[5]: *** [Makefile:224: charset.o] Error 1
																											    gmake[5]: Leaving directory '/usr/ports/lang/gcc5/work/.build/libcpp'
																											    gmake[4]: *** [Makefile:7913: all-stage2-libcpp] Error 2
																											    gmake[4]: *** Waiting for unfinished jobs....
																											    yes


What is causing this conflict?
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
God is dead! Yahweh lives! Jesus his only begotten Son is the Risen Saviour!!


More information about the freebsd-ports mailing list