pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49787: lang/guile won't build on Solaris



>Number:         49787
>Category:       pkg
>Synopsis:       lang/guile won't build on Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 26 04:15:00 +0000 2015
>Originator:     Brad Forschinger
>Release:        2014Q4
>Organization:
>Environment:
SunOS x 5.10 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
cc: Sun C 5.12 SunOS_sparc Patch 148917-08 2014/09/10

>Description:

gmake[3]: Entering directory `/usr/pkgsrc/lang/guile/work/guile-1.8.8/libguile'
source='gc_os_dep.c' object='libguile_la-gc_os_dep.lo' libtool=yes \
DEPDIR=.deps depmode=none /usr/pkg/bin/pdksh ../build-aux/depcomp \
/usr/pkg/bin/pdksh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -D_REENTRANT  -pthread  -O -I. -pthrea
d -I/usr/pkg/include -I/usr/include -c -o libguile_la-gc_os_dep.lo `test -f 'gc_os_dep.c' || echo './'`gc_os_dep.c
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I/usr/pkgsrc/lang/guile/work/.buildlink/include -D_REENTRANT -pthread -O -I. -pthread -c gc_os_dep.c  -KPIC -DPIC -o .libs/libguile_la-gc_os_dep.o
"gc_os_dep.c", line 1938: undefined symbol: USERLIMIT
cc: acomp failed for gc_os_dep.c
gmake[3]: *** [libguile_la-gc_os_dep.lo] Error 1

>How-To-Repeat:

>Fix:

--- gc_os_dep.c.orig    Thu Mar 26 15:07:39 2015
+++ gc_os_dep.c Thu Mar 26 15:08:05 2015
@@ -720,9 +720,6 @@
 /*      but reportedly breaks under 2.8.  It appears that the stack     */
 /*      base is a property of the executable, so this should not break  */
 /*      old executables.                                                */
-/*      HEURISTIC2 probably works, but this appears to be preferable.   */
-#       include <sys/vm.h>
-#       define STACKBOTTOM ((ptr_t) USRSTACK)
 #      ifndef USE_MMAP
 #          define USE_MMAP
 #      endif



Home | Main Index | Thread Index | Old Index