Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Feb 2018 02:07:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 224217] [patch] Fix cross build of base/ ports
Message-ID:  <bug-224217-32340-YCjFEUoLoM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224217-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224217-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224217

--- Comment #17 from Mark Millard <marklmi26-fbsd@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=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils -isy=
stem
/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include
-DLIBICONV_PLUG -g -fstack-protector -fno-strict-aliasing=20
--sysroot=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils -isy=
stem
/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include -isy=
stem
/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/include/c++/=
v1
-nostdinc++ -DLIBICONV_PLUG=20
--sysroot=3D/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?=3D/wrkdirs

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224217-32340-YCjFEUoLoM>