Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: More lint problems...



On Sat, Apr 26, 2008 at 11:14:57PM +0000, Christos Zoulas wrote:
> In article <Pine.NEB.4.64.0804261601470.17192%quicky.whooppee.com@localhost>,
> Paul Goyette  <paul%whooppee.com@localhost> wrote:
> >Just updated to get the last bsd.lib.mk
> >
> >Cleaned out all of the tools and object directories
> >
> >Tried a 'build.sh release' on port amd64 (port i386 attempt is still 
> >running)
> >
> >Got the following results:
> >#   compile  libm/llib-lm.ln
> >rm -f llib-lm.ln
> >CC=/build/tools/x86_64/amd64/bin/x86_64--netbsd-gcc 
> >/build/tools/x86_64/amd64/bi
> >n/x86_64--netbsd-lint -Cm e_acosf.ln e_acosh.ln e_acoshf.ln e_asinf.ln 
[...]
> >coshf.ln catanhf.ln nan.ln nanf.ln nanl.ln 
> >-L/build/dest/amd64/usr/libdata -lc
> >Lint pass2:
> >x86_64--netbsd-lint2: 
> >/build/src/tools/lint2/../../usr.bin/xlint/lint2/read.c,86
> >8: input file error: cabs.ln,10 (undefined type: X u)
> >*** [llib-lm.ln] Error code 1
> 
> Do you have emit2.c 1.12, and rm -f *.ln?

Looks like lint1/emit1.c need the following fix:

Index: usr.bin/xlint/lint1/emit1.c
===================================================================
RCS file: /cvsroot/src/usr.bin/xlint/lint1/emit1.c,v
retrieving revision 1.17
diff -u -p -r1.17 emit1.c
--- usr.bin/xlint/lint1/emit1.c 25 Apr 2008 22:18:34 -0000      1.17
+++ usr.bin/xlint/lint1/emit1.c 26 Apr 2008 23:20:05 -0000
@@ -123,7 +123,7 @@ outtype(type_t *tp)
                case ENUM:      t = 'T';        s = 'e';        break;
                case STRUCT:    t = 'T';        s = 's';        break;
                case UNION:     t = 'T';        s = 'u';        break;
-               case DCOMPLEX:  t = 'X';        s = 'u';        break;
+               case DCOMPLEX:  t = 'X';        s = '\0';       break;
                case FCOMPLEX:  t = 'X';        s = 's';        break;
                default:
                        LERROR("outtyp()");


-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index