Bug 87484 - [patch] devel/boehm-gc does not compile on amd64 with THREADING
Summary: [patch] devel/boehm-gc does not compile on amd64 with THREADING
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-15 15:10 UTC by Vasil Dimov
Modified: 2005-10-23 01:02 UTC (History)
1 user (show)

See Also:


Attachments
boehm-gc_threads-amd64.diff (2.86 KB, patch)
2005-10-15 15:10 UTC, Vasil Dimov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vasil Dimov 2005-10-15 15:10:15 UTC
devel/boehm-gc fails to compile on amd64 when option THREADING is
defined.

Included patch just adds the missing macros. I have not tested it
in other means than: 1. it compiles ok; 2. make check does not
emit errors.

I indulged in adding a check target to aid with testing, fixing the
innocent configure warning and changing HAS_CONFIGURE to GNU_CONFIGURE,
because it is GNU configure we actually have.

How-To-Repeat: 
# uname -m
amd64

/usr/ports/devel/boehm-gc# make clean rmconfig
/usr/ports/devel/boehm-gc# make  (turn on THREADING)
...
cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"gc 6.6\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=6 -DPACKAGE=\"gc\" -DVERSION=\"6.6\" -DGC_FREEBSD_THREADS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I./include -pthread -fexceptions -pipe -g -march=athlon64 -fexceptions -MT pthread_support.lo -MD -MP -MF .deps/pthread_support.Tpo -c pthread_support.c  -fPIC -DPIC -o .libs/pthread_support.lo
pthread_support.c: In function `GC_pthread_sigmask':
pthread_support.c:965: error: `SIGRTMIN' undeclared (first use in this function)
pthread_support.c:965: error: (Each undeclared identifier is reported only once
pthread_support.c:965: error: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/devel/boehm-gc/work/gc6.6.
*** Error code 1

Stop in /usr/ports/devel/boehm-gc/work/gc6.6.
*** Error code 1

Stop in /usr/ports/devel/boehm-gc.
Comment 1 Norikatsu Shigemura freebsd_committer 2005-10-15 15:42:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nobutaka

Over to maintainer.
Comment 2 MANTANI Nobutaka freebsd_committer 2005-10-23 01:01:44 UTC
State Changed
From-To: open->closed

Committed, thanks!