NetBSD-Bugs archive

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

Re: bin/44235: lint1 fails when compiling mesa for sparc



The following reply was made to PR bin/44235; it has been noted by GNATS.

From: henning petersen <henning.petersen%t-online.de@localhost>
To: gnats-bugs%NetBSD.org@localhost, christos%NetBSD.org@localhost
Cc: 
Subject: Re: bin/44235: lint1 fails when compiling mesa for sparc
Date: Sat, 18 Dec 2010 21:40:39 +0100

 Am 18.12.2010 20:15, schrieb Izumi Tsutsui:
 > The following reply was made to PR bin/44235; it has been noted by GNATS.
 >
 > From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
 > To: gnats-bugs%NetBSD.org@localhost, christos%NetBSD.org@localhost
 > Cc: gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost, 
 > tsutsui%ceres.dti.ne.jp@localhost
 > Subject: Re: bin/44235: lint1 fails when compiling mesa for sparc
 > Date: Sun, 19 Dec 2010 04:10:20 +0900
 >
 >  > Trying to run a build.sh -x with -m sparc reproducable fails for me with a
 >  > lint1 core dump.
 >  
 >  This also happens on hpcmips and dreamcast targets on i386 5.99.41 host,
 >  and reverting src/usr.bin/xlint/lint1/tree.c rev 1.65 solves coredump.
 >  
 >  ---
 >  Izumi Tsutsui
 >  
 >
 
 
 I think that failure is
          strg1->st_wcp = xrealloc(strg1->st_wcp, sizeof(*strg1->st_wcp));
 change to
          strg1->st_wcp = xrealloc(strg1->st_wcp, len * sizeof(*strg1->st_wcp));
 
 
 Henning Petersen
 


Home | Main Index | Thread Index | Old Index