Date: Tue, 10 May 2005 03:51:53 +0300 From: Abu Khaled <khaled.abu@gmail.com> To: "J.D. Bronson" <jbronson@wixb.com> Cc: Kent Stewart <kstewart@owt.com> Subject: Re: build world failure help needed Message-ID: <a64c109e05050917517d39e65e@mail.gmail.com> In-Reply-To: <6.2.3.0.2.20050509110438.00b4c468@cheyenne.wixb.com> References: <6.2.3.0.2.20050509075508.00ad3490@cheyenne.wixb.com> <200505090856.19931.kstewart@owt.com> <6.2.3.0.2.20050509110438.00b4c468@cheyenne.wixb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/9/05, J.D. Bronson <jbronson@wixb.com> wrote: > At 10:56 AM 05/09/2005, Kent Stewart wrote: > >On Monday 09 May 2005 05:56 am, J.D. Bronson wrote: > > > I am trying to build world on 5.4-RC4 and need some assistance > > > troubleshooting the build... > > > > > > it builds fine until: > > > > > > =3D=3D=3D> bin/ls > > > /usr/bin/gcc -O2 -pipe -DCOLORLS -Wsystem-headers -Werror -Wall > > > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c > > > /usr/src/bin/ls/cmp.c > > > /usr/bin/gcc -O2 -pipe -DCOLORLS -Wsystem-headers -Werror -Wall > > > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c > > > /usr/src/bin/ls/ls.c > > > /usr/src/bin/ls/ls.c: In function `main': > > > /usr/src/bin/ls/ls.c:330: warning: passing arg 1 of `tgetstr' > > > discards qualifiers from pointer target type > > > /usr/src/bin/ls/ls.c:331: warning: passing arg 1 of `tgetstr' > > > discards qualifiers from pointer target type > > > /usr/src/bin/ls/ls.c:332: warning: passing arg 1 of `tgetstr' > > > discards qualifiers from pointer target type > > > /usr/src/bin/ls/ls.c:333: warning: passing arg 1 of `tgetstr' > > > discards qualifiers from pointer target type > > > /usr/src/bin/ls/ls.c:338: warning: passing arg 1 of `tgetstr' > > > discards qualifiers from pointer target type > > > /usr/src/bin/ls/ls.c:340: warning: passing arg 1 of `tgetstr' > > > discards qualifiers from pointer target type > > > *** Error code 1 > > > > > > >You aren't seeing the error. This usually means you are running -jx of > >some size for x. You have run with no -j to see the error. If you time > >the build, you will probably see a smaller build time on non-smp > >systems when you don't provide a -j. > > > >Kent >=20 > that was with NO '-j' flag >=20 > if I go into /usr/src/bin/ls and try to make it manually it bombs as well= : >=20 > # make > Warning: Object directory not changed from original /usr/src/bin/ls > /usr/bin/gcc -O2 -pipe -DCOLORLS -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c cmp.c > /usr/bin/gcc -O2 -pipe -DCOLORLS -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c ls.c > ls.c: In function `main': > ls.c:330: warning: passing arg 1 of `tgetstr' discards qualifiers > from pointer target type > ls.c:331: warning: passing arg 1 of `tgetstr' discards qualifiers > from pointer target type > ls.c:332: warning: passing arg 1 of `tgetstr' discards qualifiers > from pointer target type > ls.c:333: warning: passing arg 1 of `tgetstr' discards qualifiers > from pointer target type > ls.c:338: warning: passing arg 1 of `tgetstr' discards qualifiers > from pointer target type > ls.c:340: warning: passing arg 1 of `tgetstr' discards qualifiers > from pointer target type > *** Error code 1 >=20 > Stop in /usr/src/bin/ls. >=20 > so I looked at this closly. if I remove the " -DCOLORLS " from the > make file...it will build. >=20 > In addition, if we copy these files in /usr/src/bin/ls to /tmp, it > will build fine...so then I looked at all the CFLAGS and tested with > and without each one... >=20 > -Wwrite-strings =3D causes the build to fail. >=20 > I dont know what any of this means...so hopefully someone can tell me > more based on this finding. >=20 >=20 > -- > J.D. Bronson > Off The Hook Phone Repair, Inc. > For Fast Repairs: CALL US - IF YOU CAN > Office: 414.978.8282 // Pager: 414.314.8282 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 Are you using GCC from ports. I am not sure about this but i tried to buildworld once using GCC from the ports and got into trouble. Can you post what you have in /etc/make.conf so others can look into this. --=20 Kind regards Abu Khaled
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a64c109e05050917517d39e65e>