[Bug 227918] [PATCH] remove exists check for CROSS_BINUTILS_PREFIX for external clang builds on secondary arches

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 11 18:21:55 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227918

--- Comment #12 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Kenneth Salerno from comment #11)

Actually my assumptions behind my interpretation were wrong. The
failed build step used (in order):

-B/usr/local/powerpc64-unknown-freebsd12.0/bin
-B/usr/obj/powerpc64vtsc_xtoolchain-llvm/powerpc.powerpc64/usr/src/powerpc.powerpc64/obj-lib32/tmp/usr/lib32

The content of the 2nd area was not what I was assuming. The two areas have:

$ ls -lT /usr/local/powerpc64-unknown-freebsd12.0/bin/
total 60000
-r-xr-xr-x  2 root  wheel  5619170 Apr 21 20:52:06 2018 ar
-r-xr-xr-x  2 root  wheel  7213389 Apr 21 20:52:12 2018 as
-r-xr-xr-x  4 root  wheel  7552620 Apr 21 20:52:17 2018 ld
-r-xr-xr-x  4 root  wheel  7552620 Apr 21 20:52:17 2018 ld.bfd
-r-xr-xr-x  2 root  wheel  5493387 Apr 21 20:52:06 2018 nm
-r-xr-xr-x  2 root  wheel  6411715 Apr 21 20:52:06 2018 objcopy
-r-xr-xr-x  2 root  wheel  7475890 Apr 21 20:52:06 2018 objdump
-r-xr-xr-x  2 root  wheel  5619185 Apr 21 20:52:06 2018 ranlib
-r-xr-xr-x  2 root  wheel  1584214 Apr 21 20:52:06 2018 readelf
lrwxr-xr-x  1 root  wheel       44 Apr 21 20:52:27 2018 size ->
../../bin/powerpc64-unknown-freebsd12.0-size
-r-xr-xr-x  2 root  wheel  6411722 Apr 21 20:52:06 2018 strip

vs.

$ ls -lT
/usr/obj/powerpc64vtsc_xtoolchain-llvm/powerpc.powerpc64/usr/src/powerpc.powerpc64/obj-lib32/tmp/usr/lib32/
total 648
drwxr-xr-x  2 root  wheel     512 May  7 18:48:21 2018 dtrace
drwxr-xr-x  2 root  wheel     512 May  7 18:48:21 2018 i18n
-rwxr-xr-x  1 root  wheel   32538 May  7 18:48:28 2018 libc_nonshared.a
-rwxr-xr-x  1 root  wheel  409886 May  7 18:48:27 2018 libcompiler_rt.a
lrwxr-xr-x  1 root  wheel      16 May  7 18:48:27 2018 libgcc.a ->
libcompiler_rt.a
-rwxr-xr-x  1 root  wheel  157554 May  7 18:48:27 2018 libgcc_eh.a
-rwxr-xr-x  1 root  wheel    2320 May  7 18:48:26 2018 libssp_nonshared.a

The rejection of some of the assembler notation for lib32's build steps may not
be traceable to this at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list