>Number: 163464 >Category: kern >Synopsis: Invalid compiler flag in /sys/conf/kern.mk >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 19 23:30:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eugene Varnavsky >Release: 8.2 >Organization: >Environment: 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description: /sys/conf/kern.mk: CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ ${_wundef} ${_Wno_pointer_sign} -fformat-extensions -fformat-extensions parameter is invalid, does not present in GCC 4.2 docs and is not accepted (with error) by GCC 4.6 >How-To-Repeat: Install custom GCC as described in handbook: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html try to compile one of the ports that uses kernel sources: # cd /usr/ports/emulators/open-vm-tools # make >Fix: Remove the '-fformat-extensions' from string 15 of /sys/conf/kern.mk >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"