Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2017 11:57:01 -0400
From:      Anton Yuzhaninov <citrin+bsd@citrin.ru>
To:        freebsd-ports@freebsd.org
Subject:   Re: I had to revert /usr/local/aarch64-freebsd from 2.28 for its bin/ld to work for -r315870 buildworld (adm64 -> arm64 cross build)
Message-ID:  <793195cb-db98-8427-b14a-f8d72f073100@citrin.ru>
In-Reply-To: <906EDF27-C387-4188-978F-66B81E31093B@dsl-only.net>
References:  <906EDF27-C387-4188-978F-66B81E31093B@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/23/17 23:31, Mark Millard wrote:
> Building /usr/obj/pine64_clang/arm64.aarch64/usr/src/lib/libc/libc.so.7.full
> --- libc.so.7.full ---
> building shared library libc.so.7
> /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+0x146e): 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)

workaround working for me is

WITHOUT_DEBUG_FILES=yes in /etc/src.conf

but there is a bug somewhere (in linker from binutils or in llvm).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?793195cb-db98-8427-b14a-f8d72f073100>