[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
Tue May 8 02:11:35 UTC 2018


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

--- Comment #7 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Mark Millard from comment #6)

The WITHOUT_LIB32= based build completed.

So it looks to me like the -B handling logic in the build
environment for FreeBSD may need some work for lib32 capable
contexts for cross-toolchain builds.


I'll note that gcc/g++ reports for its -B option:

QUOTE
`-B' prefixes that effectively specify directory names also apply to libraries
in the linker, because the compiler translates these options into `-L' options
for the linker. They also apply to includes files in the preprocessor, because
the compiler translates these options into `-isystem' options for the
preprocessor. In this case, the compiler appends `include' to the prefix.
END QUOTE

This would make using a non-directory different than pointing -B to a
directory,
at least for gcc/g++ cross tools.


But I did not find any wording about the handling of multiple -B's on
the command line.

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


More information about the freebsd-bugs mailing list