From owner-freebsd-ruby@FreeBSD.ORG Tue Apr 14 21:21:21 2015 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1443C8BB for ; Tue, 14 Apr 2015 21:21:21 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D431820D for ; Tue, 14 Apr 2015 21:21:20 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3ELLKbY076487 for ; Tue, 14 Apr 2015 21:21:20 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Tue, 14 Apr 2015 21:21:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: usenet@ulrich-grey.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 21:21:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199048 --- Comment #14 from Ulrich Grey --- (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.