Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2015 21:21:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 199048] lang/ruby21: configure error: something wrong with LDFLAGS=" -Wl,-rpath,/usr/lib:/usr/local/lib
Message-ID:  <bug-199048-21402-qckdEBh27S@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199048-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199048-21402@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 #14 from Ulrich Grey <usenet@ulrich-grey.de> ---
(In reply to mikael.urankar from comment #13)

I have built ruby-2.1.6 with:

.if ${ARCH} == "armv6" || ${ARCH} == "armv6hf"
CONFIGURE_ARGS+=        --with-setjmp-type=_setjmp
.endif

added to the Makefile. The build finished successfully (FreeBSD 11.0-CURRENT #1
r281266M arm on a wandboard-quad).
Here is the output of make test:

root@wqtest:/usr/ports/lang/ruby21/work/ruby-2.1.6 # make test
    CC = cc
    LD = ld
    LDSHARED = cc -shared
    CFLAGS = -O -pipe -mfloat-abi=softfp  -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 = -lexecinfo -lgmp -lcrypt -lm -lpthread -L/usr/local/lib 
FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
./tool/rubytest.rb:20: warning: Insecure world writable dir /usr/local/DEVEL in
PATH, mode 040777
sample/test.rb:system 
/usr/local/DEVEL/ports/lang/ruby21/work/ruby-2.1.6/sample/test.rb:1970:
warning: Insecure world writable dir /usr/local/DEVEL in PATH, mode 040777     
                                                             O
test succeeded
PASS all 1008 tests
./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  --
--disable-gems "./bootstraptest/runner.rb" --ruby="ruby21 --disable-gems"  
./KNOWNBUGS.rb
2015-04-14 21:12:33 +0000
Driver is ruby 2.1.6p336 (2015-04-13 revision 50298) [armv6-freebsd11]
./bootstraptest/runner.rb:156: warning: Insecure world writable dir
/usr/local/DEVEL in PATH, mode 040777
Target is ruby 2.1.6p336 (2015-04-13 revision 50298) [armv6-freebsd11]

KNOWNBUGS.rbPASS 0
No tests, no problem
root@wqtest:/usr/ports/lang/ruby21/work/ruby-2.1.6 #

-- 
You are receiving this mail because:
You are the assignee for the bug.



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