9.2 -> 10.0 Compille error.

wishmaster artemrts at ukr.net
Tue Jan 21 20:38:43 UTC 2014



 
 --- Original message ---
 From: "Adam Vande More" <amvandemore at gmail.com>
 Date: 21 January 2014, 21:23:52
  


> 
> 
> 
> On Tue, Jan 21, 2014 at 9:35 AM, wishmaster wrote:
> Hi,

anybody has had this error?

cc   -O2 -pipe -march=pentium4 -fpic -fvisibility=hidden -DVISIBILITY_HIDDEN -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -c /usr/src/lib/libcompiler_rt/../../contrib/compiler-rt/lib/absvdi2.c -o absvdi2.o
cc: unrecognized option '-Qunused-arguments'
cc1: error: unrecognized command line option "-Wno-empty-body"
cc1: error: unrecognized command line option "-Wno-string-plus-int"
cc1: error: unrecognized command line option "-Wno-tautological-compare"
cc1: error: unrecognized command line option "-Wno-parentheses-equality"
cc1: error: unrecognized command line option "-Wno-enum-conversion"
cc1: error: unrecognized command line option "-Wno-knr-promoted-parameter"
*** Error code 1

Stop.
bmake[3]: stopped in /usr/src/lib/libcompiler_rt
*** Error code 1

Stop.
bmake[2]: stopped in /usr/src
*** Error code 1

Stop.
bmake[1]: stopped in /usr/src
*** Error code 1

Stop.
bmake: stopped in /usr/src
*** [buildworld] Error code 1

Stop in /usr/src.


> 
> 
> 
> Make sure you are running ALL the steps IN ORDER.
> 
> 
> 
> http://www.freebsd.org/doc/handbook/makeworld.html
> 
  Thanks Adam, but I have been using FreeBSD since 2006 and always use rebuild world/kernel. I know this steps like Gebet.

 Well, I have found problem. Two options were commented

#WITHOUT_CDDL=true
#WITHOUT_CROSS_COMPILER=true 

and now all fine.



More information about the freebsd-questions mailing list