Re: Attempting a xtoolchain-gcc head amd64->aarch64 cross buildworld failed for liblto_plugin.so loading error

2018-04-07 Thread Alexander Kabaev
On Sat, 7 Apr 2018 15:23:50 -0700 Mark Millard via freebsd-arm wrote: > My attempted, xtoolchain-gcc based, amd64->aarch64 > cross-buildworld-buildkernel failed with: > > --- libc.so.7.full --- > /usr/local/bin/aarch64-unknown-freebsd12.0-ld: >

Re: amd64-binutils file name structure for utils vs. for powerpc64-binutils and aarch64-binutils

2018-04-07 Thread Mark Millard via freebsd-toolchain
On 2018-Apr-7, at 4:37 PM, Alexander Kabaev wrote: > On Sat, 7 Apr 2018 18:43:17 -0400 > Alexander Kabaev wrote: > > Come to think of it, I am not sure I understand the problem. > amd64-binutils installs "proper" x86_64-freebsd-prefixed binaries. Did > you expect

head amd64->aarch64 buildkernel: clang using aarch64-binutils gets /tmp/cloudabi_vdso_armv6_on_64bit-2f26ed.o: error adding symbols: File in wrong format

2018-04-07 Thread Mark Millard via freebsd-toolchain
(Context: buildworld completed before builkernel started.) My attempt to do buildworld buildkernel via clang but using aarch64-binutils got the following failure during buildkernel. (Note the use of: -B/usr/local/aarch64-unknown-freebsd12.0/bin/ for clang.) --- cloudabi32_vdso.o ---

Re: amd64-binutils file name structure for utils vs. for powerpc64-binutils and aarch64-binutils

2018-04-07 Thread Alexander Kabaev
On Sat, 7 Apr 2018 18:43:17 -0400 Alexander Kabaev wrote: Come to think of it, I am not sure I understand the problem. amd64-binutils installs "proper" x86_64-freebsd-prefixed binaries. Did you expect amd64-freebsd-* ? -- Alexander Kabaev pgpByasv65uKB.pgp Description:

amd64-binutils file name structure for utils vs. for powerpc64-binutils and aarch64-binutils

2018-04-07 Thread Mark Millard via freebsd-toolchain
For: # pkg info "*binutils" aarch64-binutils-2.30_2,1 amd64-binutils-2.30_2,1 binutils-2.30_2,1 powerpc64-binutils-2.30_2,1 # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5

Re: amd64-binutils file name structure for utils vs. for powerpc64-binutils and aarch64-binutils

2018-04-07 Thread Alexander Kabaev
On Sat, 7 Apr 2018 15:30:08 -0700 Mark Millard via freebsd-toolchain wrote: > For: > > # pkg info "*binutils" > aarch64-binutils-2.30_2,1 > amd64-binutils-2.30_2,1 > binutils-2.30_2,1 > powerpc64-binutils-2.30_2,1 > > # svnlite info /usr/ports/ | grep "Re[plv]" >

Re: Attempting a xtoolchain-gcc head amd64->aarch64 cross buildworld failed for liblto_plugin.so loading error

2018-04-07 Thread Mark Millard via freebsd-toolchain
[The static build of binutils is what gets the lto involved.] On 2018-Apr-7, at 5:29 PM, Mark Millard wrote: > On 2018-Apr-7, at 3:35 PM, Alexander Kabaev wrote: > >> On Sat, 7 Apr 2018 15:23:50 -0700 >> Mark Millard via freebsd-arm wrote: >> >>> My attempted, xtoolchain-gcc based,

[Bug 227340] clang crashes with error in backend: Access past stack top

2018-04-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227340 Mark Linimon changed: What|Removed |Added Assignee|b...@freebsd.org

Attempt to xtoolchain-gcc buildworld for head with -mcpu=cortex-a53: arm64cpuid.S:23: Error: selected processor does not support . . .

2018-04-07 Thread Mark Millard via freebsd-toolchain
It appears that the devel/aarch64-gcc toolchain refuses to assemble instructions that are not available to what was listed for -mcpu, even when a -march was also listed that allows such. For -mcpu=cortex-a53 and a -march=armv8-a+crypto : --- secure/lib/libcrypto__L ---