Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 11:19:34 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        tech lists <tech-lists@zyxst.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: build failure with crochet for rpi3 using freebsd-11-stable sources
Message-ID:  <CAJuc1zP1KOO%2B8hsSAWo%2BRdReC33B=wKcVeWD1VUwt=oxEK0Mug@mail.gmail.com>
In-Reply-To: <20170517135047.0803ad60@pumpkin.growveg.org>
References:  <20170517135047.0803ad60@pumpkin.growveg.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 May 2017 at 00:50, tech lists <tech-lists@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@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zP1KOO%2B8hsSAWo%2BRdReC33B=wKcVeWD1VUwt=oxEK0Mug>