ports/117458: Bad system call (core dumped) when compiling w3m
Xiao-Yong Jin
xj2106 at columbia.edu
Wed Oct 24 17:30:03 UTC 2007
>Number: 117458
>Category: ports
>Synopsis: Bad system call (core dumped) when compiling w3m
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 24 17:30:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Xiao-Yong Jin
>Release: 7.0-BETA1
>Organization:
>Environment:
FreeBSD neutralino.homeunix.net 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Sat Oct 20 00:47:13 UTC 2007 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When doing make install clean under www/w3m, it fails with the following message
cc -I. -I. -O2 -fno-strict-aliasing -pipe -fomit-frame-pointer -march=pent
ium4m -I/usr/include/openssl -I/usr/local/include -I/usr/local/include -D
HAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/local/libexec/w3m\" -DCGIBIN_DIR=\"/usr/
local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/local/share/w3m\" -DETC_DIR=
\"/usr/local/etc\" -DCONF_DIR=\"/usr/local/etc/w3m\" -DRC_DIR=\"~/.w3m\"
-DLOCALEDIR=\"/usr/local/share/locale\" -o mktable mktable.o dummy.o -L/usr
/local/lib -lm -L. -lindep -L/usr/local/lib -lgc
sort funcname.tab | nawk -f ./functable.awk > functable.tab
./mktable 100 functable.tab > functable.c
Bad system call (core dumped)
*** Error code 140
Stop in /usr/ports/www/w3m/work/w3m-0.5.2.
*** Error code 1
Stop in /usr/ports/www/w3m.
The core file gives out backtrace using gdb as follows
#0 0x28102adb in ksem_init () from /lib/libc.so.7
#1 0x280f8489 in sem_init () from /lib/libc.so.7
#2 0x280ab019 in GC_stop_init () from /usr/local/lib/libgc.so.1
#3 0x280aa6df in GC_thr_init () from /usr/local/lib/libgc.so.1
#4 0x280a6ed6 in GC_init_inner () from /usr/local/lib/libgc.so.1
#5 0x280a2c36 in GC_generic_malloc_inner ()
from /usr/local/lib/libgc.so.1
#6 0x280a2d96 in GC_generic_malloc () from /usr/local/lib/libgc.so.1
#7 0x280a30f2 in GC_malloc () from /usr/local/lib/libgc.so.1
#8 0x08049aa8 in Strnew_charp ()
#9 0x00000064 in ?? ()
#10 0x00000000 in ?? ()
#11 0x281bb200 in __tsd_lock () from /lib/libc.so.7
#12 0x08048a52 in main ()
FYI, here is the /etc/make.conf
# cat /etc/make.conf
CPUTYPE?=pentium4m
CFLAGS= -O2 -fno-strict-aliasing -pipe -fomit-frame-pointer
COPTFLAGS= -O -pipe -fomit-frame-pointer
# added by use.perl 2007-10-23 03:00:23
PERL_VER=5.8.8
PERL_VERSION=5.8.8
>How-To-Repeat:
Probably using the same make.conf as stated above, and do make install clean under ports/www/w3m.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list