head -r323676 and ports -r450478 audio/liba52 for arm.armv6 (cortex-a7): unresolvable R_ARM_MOVW_ABS_NC relocation against symbol `__stderrp@@FBSD_1.0'

Mikaël Urankar mikael.urankar at gmail.com
Mon Sep 25 06:59:59 UTC 2017


2017-09-24 22:29 GMT+02:00 Mark Millard <markmi at dsl-only.net>:
> My prodriere amd64 -> armv6 (cortex-a7) cross build of
> some ports based based on /usr/ports/ -r450478 and
> head -r323676 got:
>
> (cd . && ln -s parse.o parse.lo)
> /bin/sh ../libtool --mode=link /nxb-bin/usr/bin/cc  -pipe -mcpu=cortex-a7  -g -fno-strict-aliasing -O2 -pipe  -fomit-frame-pointer  -prefer-non-pic  -o liba52.la -rpath /usr/local/lib -no-undefined bitstream.lo imdct.lo bit_allocate.lo parse.lo downmix.lo -lm
> rm -fr .libs/liba52.la .libs/liba52.* .libs/liba52.*
> /nxb-bin/usr/bin/cc -shared  bitstream.lo imdct.lo bit_allocate.lo parse.lo downmix.lo  -lm  -Wl,-soname -Wl,liba52.so.0 -o .libs/liba52.so.0.0.0
> /nxb-bin/usr/bin/ld: imdct.lo(.text+0x890): unresolvable R_ARM_MOVW_ABS_NC relocation against symbol `__stderrp@@FBSD_1.0'
> /nxb-bin/usr/bin/ld: final link failed: Nonrepresentable section on output
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> gmake[2]: *** [Makefile:196: liba52.la] Error 1
> gmake[2]: Leaving directory '/wrkdirs/usr/ports/audio/liba52/work/a52dec-0.7.4/liba52'
> gmake[1]: *** [Makefile:152: all-recursive] Error 1
> gmake[1]: Leaving directory '/wrkdirs/usr/ports/audio/liba52/work/a52dec-0.7.4'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1

It seems similar to this bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215974


More information about the freebsd-toolchain mailing list