From owner-cvs-all Wed Jan 30 1:35:28 2002 Delivered-To: cvs-all@freebsd.org Received: from yori.schoko.org (yori.schoko.org [62.109.128.56]) by hub.freebsd.org (Postfix) with ESMTP id 5E4C137B405; Wed, 30 Jan 2002 01:35:23 -0800 (PST) Received: (from nick@localhost) by yori.schoko.org (8.11.6/8.11.6) id g0U9YdL39691; Wed, 30 Jan 2002 10:34:39 +0100 (CET) (envelope-from nick) Date: Wed, 30 Jan 2002 10:34:39 +0100 From: Markus Wennrich To: Kris Kennaway , MANTANI Nobutaka , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/www/w3m Makefile Message-ID: <20020130093439.GE76441@yori.schoko.org> References: <200201300255.g0U2twu76455@freefall.freebsd.org> <20020129190211.A75663@xor.obsecurity.org> <87sn8ocxw2.wl@excalibur.nobutaka.com> <20020129194602.A76179@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20020129194602.A76179@xor.obsecurity.org> User-Agent: Mutt/1.3.27i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jan 29, 2002 at 07:46:03PM -0800, Kris Kennaway wrote: > > > I don't think this can be correct: CFLAGS should always be respected, > > > not hardcoded (and especially not to -O2). No, of course shouldn't -O2 be hardcorded, but the idea behind that was, that w3m core dumpes, when compiled _without_ -O2 (at least on my machines and some other machines here). Though the "-O2-Trick" seems not to work everywhere. The real problem is likely to be in boehm-gc.=20 | (gdb) bt | #0 0x280cf672 in GC_find_limit () from /usr/local/lib/libgc.so.1 | #1 0x280cf745 in GC_get_stack_base () from /usr/local/lib/libgc.so.1 | #2 0x280ce919 in GC_init_inner () from /usr/local/lib/libgc.so.1 | #3 0x280cb3b0 in GC_generic_malloc_inner () from /usr/local/lib/libgc.so.1 | #4 0x280cb4eb in GC_generic_malloc () from /usr/local/lib/libgc.so.1 | #5 0x280cb69a in GC_malloc () from /usr/local/lib/libgc.so.1 | #6 0x809a46c in newGeneralList () at textlist.c:23 | #7 0x804b63f in main (argc=3D1, argv=3D0xbfbff8ac, envp=3D0xbfbff8b4) at main.c:350 [...] | (gdb) up | #6 0x809a46c in newGeneralList () at textlist.c:23 | 23 GeneralList *tl =3D New(GeneralList); | (gdb) l | 18 } | 19 | 20 GeneralList * | 21 newGeneralList() | 22 { | 23 GeneralList *tl =3D New(GeneralList); | 24 tl->first =3D tl->last =3D NULL; | 25 tl->nitem =3D 0; | 26 return tl; | 27 } "New(GeneralList)" doesn't look too bad for me (though I'm not really a C coder) Maybe someone could look more into it? (compile boehm-gc with "-g" or contact the authors or something)? Maybe it's even a gcc/libc-problem? Thanks, Markus --=20 Why do scientists call it research when looking for something new? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message