Issues compiling latest -CURRENT (warning error flags + optimization level => no go)



Hi all,
I'm encountering a series of issues with code quality in building the
latest world. I have 4 PR's filed already, but I can't seem to find a way
around this issue:

cc -O3 -pipe -fno-strict-aliasing -march=prescott -DEDITLINE
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
-Wno-pointer-sign -c /usr/src/usr.sbin/ngctl/main.c
cc1: warnings being treated as errors
/usr/src/usr.sbin/ngctl/main.c: In function 'main':
/usr/src/usr.sbin/ngctl/main.c:325: warning: passing argument 1 of
'DoParseCommand' discards qualifiers from pointer target type
*** Error code 1

Stop in /usr/src/usr.sbin/ngctl.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I've tried the usual items: changing const to non-const, changing type
as fit, etc but the compile still keeps on failing. Also, I really don't
need netgraph... how do I officially skip over netgraph from the compile
stage? I think I can use NETGRAPH=no (not documented in the src.conf
manpage), but I want to know if there's a different means.
Thanks,
-Garrett
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • trouble compiling some ports
    ... of course with the ports up to date. ... won't compile with multipal jobs. ... stops with an error code 1 while still saying that everything is ok. ... Object directory not changed from original ...
    (freebsd-questions)
  • Compiling X11R6.8.2 or 6.8.1 or 6.8.0
    ... I am trying to install X11R6.8.2 on Solaris 8, so I can install Xvfb, so ... the sunmanagers search...Does it compile with gcc? ... *** Error code 2 ... make: Fatal error: Command failed for target `Pci.o' ...
    (SunManagers)
  • Re: [Slightly OT] Compilers for Angband
    ... Attempt to compile and make. ... linker reported error code 1. ... Clicked, right-clicked or doubleclicked (can't recall) on the error, ... that you really shouldn't miss if you intend to tweak the code. ...
    (rec.games.roguelike.angband)
  • Re: SAPI & .net
    ... When you compile you have the error code you give. ... returned because it can't find the CLSID in your Registry Settings. ... The Guid is the guid ...
    (microsoft.public.windowsce.platbuilder)
  • RE: I must be doing something wrong!
    ... *** Error code 1 ... Can you just catch the tree at a bad time when it will not compile? ... >port tells me 'it will not compile so dont even bother trying'. ...
    (freebsd-questions)