Date: Wed, 30 Jan 2002 10:34:39 +0100 From: Markus Wennrich <nick@schoko.org> To: Kris Kennaway <kris@obsecurity.org>, MANTANI Nobutaka <nobutaka@nobutaka.com>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/www/w3m Makefile Message-ID: <20020130093439.GE76441@yori.schoko.org> In-Reply-To: <20020129194602.A76179@xor.obsecurity.org> References: <200201300255.g0U2twu76455@freefall.freebsd.org> <20020129190211.A75663@xor.obsecurity.org> <87sn8ocxw2.wl@excalibur.nobutaka.com> <20020129194602.A76179@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
| (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=1, argv=0xbfbff8ac, envp=0xbfbff8b4) at
main.c:350
[...]
| (gdb) up
| #6 0x809a46c in newGeneralList () at textlist.c:23
| 23 GeneralList *tl = New(GeneralList);
| (gdb) l
| 18 }
| 19
| 20 GeneralList *
| 21 newGeneralList()
| 22 {
| 23 GeneralList *tl = New(GeneralList);
| 24 tl->first = tl->last = NULL;
| 25 tl->nitem = 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
--
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020130093439.GE76441>
