From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: i guess we're frozen & stuff Date: Tue, 11 Aug 2009 11:01:39 -0700 (PDT) Message-ID: <170035.80458.qm@web37902.mail.mud.yahoo.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250013951 2179 80.91.229.12 (11 Aug 2009 18:05:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 18:05:51 +0000 (UTC) To: =?utf-8?B?SnVoYW5pIFZpaGVyw6Rrb3NraQ==?= , guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Aug 11 20:05:44 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MavjC-0002df-Kt for guile-devel@m.gmane.org; Tue, 11 Aug 2009 20:05:42 +0200 Original-Received: from localhost ([127.0.0.1]:46815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MavjB-0007dK-0c for guile-devel@m.gmane.org; Tue, 11 Aug 2009 14:05:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MavfT-00061t-DT for guile-devel@gnu.org; Tue, 11 Aug 2009 14:01:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MavfN-0005zj-HY for guile-devel@gnu.org; Tue, 11 Aug 2009 14:01:50 -0400 Original-Received: from [199.232.76.173] (port=37137 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MavfN-0005ze-5h for guile-devel@gnu.org; Tue, 11 Aug 2009 14:01:45 -0400 Original-Received: from web37902.mail.mud.yahoo.com ([209.191.91.164]:41873) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MavfL-0003Lf-4S for guile-devel@gnu.org; Tue, 11 Aug 2009 14:01:44 -0400 Original-Received: (qmail 80617 invoked by uid 60001); 11 Aug 2009 18:01:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250013699; bh=bS9RL+V8Z0CKAl9GbOA/CBZknPEEQKPG6CAeaoffr8M=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nwwFPJXE29h5IpHmGsH3jvYiFq3GtCwANrYSnuAF5niOPMos/4zN7EgMEF1I4Hjp67PIcwF5aJuoLbMwVnz6nNbAEBCj8ema1eb4aIgC8Fz5rl7jd5qxnHw43BWTBc+io6bPJSEAoxa/po/vzFyiMwZl4ZW2PXFz7mbsXm/vy/Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=End4OOqUEhxWIflVWoDLP6EHCvxPNtfQv2uQe7TwbLosuS9Lno/jkhZfr0LzgNa0mzTY6m65yhd0SGttJsGsyGLOtnw6qwbElZFNgrFpFnOaaoXR0aEhLlNyJ3ZsNSa4hxYErDNp4l2wEyCzwKwrS9CPKAy8fA4LanWGK6JTho8=; X-YMail-OSG: jGTk3z8VM1k1JPJ0NSe.4z2h2N04IJsf7nwtTx6JxEHmoBO2L3du7iJlgv7.iDhUOA7D8R7VZvqVvCwVgdJWaLQy7bmv784ITN36cv7UptwMMZKEppeWVohxU8rAi8ZMqcYuH5zLk6akJO7SWRfeAF6YEUDjfzlFM6BqPnw2Kbmwz0yOH3928ut8f4P8ZPKpakmq44Le4d1x5awcBnDlq4V7iK7HlI8.nZ5wWJtKY2SyfpaE6lALQXsXXXcqZQBznjyOT72x63GsMway_sp2ItCawGnOUrjcxZUjg7YddsjiGAbti4_17qB71DYVQJJOJVan2mdLxi_3PAsrTQ-- Original-Received: from [207.8.91.2] by web37902.mail.mud.yahoo.com via HTTP; Tue, 11 Aug 2009 11:01:39 PDT X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.289.15 In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9073 Archived-At: > From: Juhani Viher=C3=A4koski moonshine@kapsi.fi=0A=0A> Hi,=0A>=C2=A0=0A>= For me the build of the current master fails with:=0A>=C2=A0=0A> libtool: = compile:=C2=A0 gcc -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=3D1 -I.. -I..=C2=A0= =0A-I../lib=C2=A0=0A> -I../lib -pthread -Wall -Wmissing-prototypes -Werror = -fvisibility=3Dhidden -O3=C2=A0=0A-g=C2=A0=0A> -march=3Dathlon-xp -MT libgu= ile_la-strings.lo -MD -MP -MF=C2=A0=0A> .deps/libguile_la-strings.Tpo -c st= rings.c=C2=A0 -fPIC -DPIC -o=C2=A0=0A> .libs/libguile_la-strings.o=0A> cc1:= warnings being treated as errors=0A> strings.c: In function =E2=80=98scm_s= tring_append=E2=80=99:=0A> strings.c:1300: error: =E2=80=98data=E2=80=99 ma= y be used uninitialized in this function=0A> make[3]: *** [libguile_la-stri= ngs.lo] Error 1=0A>=C2=A0=0A> It is easy to disable -Werror or set the offe= nding variable to NULL, but with=C2=A0=0Amy=C2=A0=0A> limited knowledge of = Guile internals it seems that this uninitialized pointer=C2=A0=0Ais=C2=A0= =0A> indeed passed to scm_i_make_string or scm_i_make_wide_string which do = not seem=C2=A0=0A=0A> to reserve space for it and even dereference the poin= ter. Might be just me,=C2=A0=0Abut=C2=A0=0A> it seems there is something we= ird going on here..=0A>=C2=A0=0A=0AThis one's okay, I think.=C2=A0 The allo= cation is made in make_stringbuf and `data'=C2=A0=0Ais set to point to its = buffer.=0A=0AWe'll have to set it to NULL in scm_string_append and other pl= aces to quiet=C2=A0=0Awarnings.=0A=0A> -- Juhani=0A=0AThanks,=0A=0A-Mike