From owner-freebsd-arm@freebsd.org Fri Feb 19 19:43:18 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5431AAEEFE for ; Fri, 19 Feb 2016 19:43:18 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-153.reflexion.net [208.70.211.153]) (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 826361126 for ; Fri, 19 Feb 2016 19:43:17 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 3477 invoked from network); 19 Feb 2016 19:43:32 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 19 Feb 2016 19:43:32 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Fri, 19 Feb 2016 14:43:20 -0500 (EST) Received: (qmail 12202 invoked from network); 19 Feb 2016 19:43:20 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 19 Feb 2016 19:43:20 -0000 X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 028E11C43B3 for ; Fri, 19 Feb 2016 11:43:12 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: I've submitted 207324 for lang/lua52 needing to use -fPIC (kyua build blocked, clang380-import context) Message-Id: Date: Fri, 19 Feb 2016 11:43:15 -0800 To: freebsd-arm Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 19:43:19 -0000 When attempting to build devel/kyua on a rpi2b under = projects/clang380-import -r295601 via portmaster -DK devel/kyua the = attempt failed in lang/lua52 with: --- lapi.o --- /usr/bin/clang -target armv6--freebsd11.0-gnueabi -march=3Darmv7-a = -mcpu=3Dcortex-a7 -mfloat-abi=3Dsoftfp -mno-unaligned-access = -B/usr/local/arm-gnueabi-freebsd/bin/ -Wall -DLUA_COMPAT_ALL -pipe = -mfloat-abi=3Dsoftfp -isystem /usr/local/include -g = -fno-strict-aliasing -I/usr/local/include -isystem /usr/local/include = -DLUA_USE_LINUX -c lapi.c -o lapi.o . . . --- liblua-5.2.so --- /usr/local/arm-gnueabi-freebsd/bin/ld: lapi.o: relocation = R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a = shared object; recompile with -fPIC lapi.o: error adding symbols: Bad value clang: error: linker command failed with exit code 1 (use -v to see = invocation) *** [liblua-5.2.so] Error code 1 (The buildworld and these compiles were set up to make rpi2b specific = builds rather than a generic armv6 builds.) =3D=3D=3D Mark Millard markmi at dsl-only.net