build failure with crochet for rpi3 using freebsd-11-stable sources

Jonathan Chen jonc at chen.org.nz
Wed May 17 23:19:36 UTC 2017


On 18 May 2017 at 00:50, tech lists <tech-lists at zyxst.net> wrote:
> Hello list,
>
> Building on a r318366 freebsd-11-stable machine, using
> freebsd/crochet installed today with fresh (r318397) sources, I'm
> getting the following error trying to build, for the raspberry pi3, a
> freebsd-11-stable image:
>
> --- libc.so.7.full ---
> /usr/local/aarch64-freebsd/bin/ld: getutxent.pico(.debug_info+0x3b):
> R_AARCH64_ABS64 used with TLS symbol
> udb /usr/local/aarch64-freebsd/bin/ld:
> getutxent.pico(.debug_info+0x58): R_AARCH64_ABS64 used with TLS symbol
> uf /usr/local/aarch64-freebsd/bin/ld: utxdb.pico(.debug_info+0x5a):
> R_AARCH64_ABS64 used with TLS symbol
> futx_to_utx.ut /usr/local/aarch64-freebsd/bin/ld:
> jemalloc_tsd.pico(.debug_info+0x3c): R_AARCH64_ABS64 used with TLS
> symbol __je_tsd_tls /usr/local/aarch64-freebsd/bin/ld:
> jemalloc_tsd.pico(.debug_info+0x1433): R_AARCH64_ABS64 used with TLS
> symbol __je_tsd_initialized /usr/local/aarch64-freebsd/bin/ld:
> cxa_thread_atexit_impl.pico(.debug_info+0x3b): R_AARCH64_ABS64 used
> with TLS symbol dtors /usr/local/aarch64-freebsd/bin/ld:
> xlocale.pico(.debug_info+0x403): R_AARCH64_ABS64 used with TLS symbol
> __thread_locale /usr/local/aarch64-freebsd/bin/ld:
> setrunelocale.pico(.debug_info+0x3c): R_AARCH64_ABS64 used with TLS
> symbol _ThreadRuneLocale cc: error: linker command failed with exit
> code 1 (use -v to see invocation) *** [libc.so.7.full] Error code 1
>

There's a bug report filed:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218198

The workaround is add the following in /etc/src.conf:
  WITHOUT_DEBUG_FILES=yes

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-arm mailing list