Tracker item #3461175, was opened at 2011-12-16 17:17
Message generated for change (Comment added) made by mvanzin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3461175&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Eugene Varnavsky (varnav)
Assigned to: Nobody/Anonymous (nobody)
Summary: FreeBSD port fails to build with GCC 4.6.3

Initial Comment:
I have FreeBSD 8.2 with GCC 4.6.3 installed like it is described in handbook:

http://www.freebsd.org/doc/en/articles/custom-gcc/article.html

I get the following error from gcc while trying to build the port:

unrecognized command line option '-fformat-extensions'

----------------------------------------------------------------------

>Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-12-19 15:00

Message:
My FreeBSD 7.1 VM has this in /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

So the flag is coming from FreeBSD's makefiles, not ours. If the new
compiler doesn't support it, I guess they have to fix the instructions.

----------------------------------------------------------------------

Comment By: Eugene Varnavsky (varnav)
Date: 2011-12-16 22:16

Message:
Looks like the problem arises in making of /modules/freebsd/vmemctl/ when
some files from kernel source are linked.

No, it's pure setup according to instructions in handbook. I tried to add
or remove CPUTYPE and CFLAGS variables in make.conf - no effect. Commenting
out CC=gcc46 in make.conf helps.

----------------------------------------------------------------------

Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-12-16 18:27

Message:
I don't see any plane in our sources where that switch is added to gcc's
command line. Are you sure you don't have some local config file or env
variable that has it?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3461175&group_id=204462

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to