Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 11:43:15 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   I've submitted 207324 for lang/lua52 needing to use -fPIC (kyua build blocked, clang380-import context)
Message-ID:  <F783EBCE-80EA-499C-A760-3E6F3EEBD404@dsl-only.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F783EBCE-80EA-499C-A760-3E6F3EEBD404>