[Bug 224217] [patch] Fix cross build of base/ ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 4 02:07:44 UTC 2018


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

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

Looks like I should have noted that I already had
a perl in place:

checking for perl... /usr/local/bin/perl

This might go along with devel/bison and devel/gmake
as possibly required --but possibly not automatically
built if missing.

I should have shown that hostname and urlget also got the
pthread_create notice:

--- hostname ---
/wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/intl/.libs/libintl.so:
undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
*** [hostname] Error code 1

make[11]: stopped in
/wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/src
--- urlget ---
/wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/intl/.libs/libintl.so:
undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
*** [urlget] Error code 1

make[11]: stopped in
/wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/src



One odd thing that I saw in the output was:
(note the "Unable to load interpreter" and
the long command text but still getting a yes)

checking whether the C++ compiler
(/usr/local/bin/powerpc64-unknown-freebsd12.0-g++ -O2 -pipe
--sysroot=/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils -isystem
/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include
-DLIBICONV_PLUG -g -fstack-protector -fno-strict-aliasing 
--sysroot=/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils -isystem
/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include -isystem
/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include/c++/v1
-nostdinc++ -DLIBICONV_PLUG 
--sysroot=/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils
-fstack-protector) works... Unable to load interpreter
yes

But its later "checking" that referenced
/usr/local/bin/powerpc64-unknown-freebsd12.0-g++
seemed to go okay.


Note: /wrkdirs is from my /etc/make.conf having:

WRKDIRPREFIX?=/wrkdirs

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-pkg mailing list