Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2017 20:07:41 +0800
From:      Li-Wen Hsu <lwhsu@freebsd.org>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>,  freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD Ports <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:  <CAKBkRUwSry8Zhgys8E%2B2RLQCVwkcT6mLmMD2Ak87OF_0Wf24Ew@mail.gmail.com>
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 Fri, Mar 24, 2017 at 11:31 AM, Mark Millard <markmi@dsl-only.net> 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)
>

I also see this on our CI server:
https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/ , this job began
failing since aarch64-binutils upgraded to 2.28 on pkg.freebsd.org.

Should we revert this change for now?  Or the fix is being prepared?

Best,
Li-Wen


-- 
Li-Wen Hsu <lwhsu@FreeBSD.org>
https://lwhsu.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUwSry8Zhgys8E%2B2RLQCVwkcT6mLmMD2Ak87OF_0Wf24Ew>