Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2015 23:49:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 199048] lang/ruby21: configure error: something wrong with LDFLAGS=" -Wl,-rpath,/usr/lib:/usr/local/lib
Message-ID:  <bug-199048-7-26OpgvpPnZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199048-7@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199048-7@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199048

--- Comment #11 from Ulrich Grey <usenet@ulrich-grey.de> ---
Now I have compiled lang/ruby21 with lang/gcc5 with the original
ruby21/Makefile (enabled dtrace). This time I get an error:

===>  Building for ruby-2.1.5_2,1
--- showflags ---
--- dln.o ---
--- localeinit.o ---
--- probes.h ---
CC = gcc5
    LD = /usr/local/bin/ld
    LDSHARED = gcc5 -shared
    CFLAGS = -O -pipe -mfloat-abi=softfp  -Wl,-rpath=/usr/local/lib/gcc5
-fno-strict-aliasing -fPIC 
    XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow
-fvisibility=hidden -DRUBY_EXPORT
    CPPFLAGS = -I/usr/local/include   -I. -I.ext/include/armv6-freebsd11
-I./include -I.
    DLDFLAGS = -Wl,-soname,libruby21.so.21 -fstack-protector  
    SOLIBS = -lelf -lgmp -lcrypt -lm -lpthread -L/usr/local/lib 

...

processing probes in object files
rm -f probes.o
<jemalloc>:
/usr/home/FREEBSD/freebsdCURRENTpatch/head/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:990:
Failed assertion: "arena_mapbits_allocated_get(chunk, pageind) != 0"
dt_modtext:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(831):
DOODAD
dt_modtext:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(831):
DOODAD
dt_modtext:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(831):
DOODAD
dt_modtext:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(831):
DOODAD
Abort trap (core dumped)
*** [probes.o] Error code 134

make[2]: stopped in /usr/local/DEVEL/ports/lang/ruby21/work/ruby-2.1.5
1 error

make[2]: stopped in /usr/local/DEVEL/ports/lang/ruby21/work/ruby-2.1.5
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/local/DEVEL/ports/lang/ruby21
*** Error code 1

Stop.
make: stopped in /usr/local/DEVEL/ports/lang/ruby21

-- 
You are receiving this mail because:
You are on the CC list for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199048-7-26OpgvpPnZ>