Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Feb 2018 01:35:41 +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-9wudulTL3i@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 #16 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Steve Wills from comment #12)

No go for base/gcc either. . .

I got some more time and attempted base/gcc despite
the base/binutils failure (comments #14 and #15):

# make CROSS_TOOLCHAIN=3Dpowerpc64-gcc
CROSS_SYSROOT=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils
package

It retrieved many things not installed in order to build:

. . .
=3D=3D=3D>  Extracting for freebsd-gcc-6.3.0
=3D> SHA256 Checksum OK for gcc-6.3.0.tar.bz2.
=3D> SHA256 Checksum OK for mpfr-3.1.6.tar.xz.
=3D> SHA256 Checksum OK for gmp-6.1.2.tar.xz.
=3D> SHA256 Checksum OK for mpc-1.0.3.tar.gz.
. . .
=3D=3D=3D>   freebsd-gcc-6.3.0 depends on executable: makeinfo - not found
. . .
=3D> SHA256 Checksum OK for texinfo/6.5/texinfo-6.5.tar.xz.
=3D> SHA256 Checksum OK for texinfo/6.5/htmlxref.cnf.
=3D> SHA256 Checksum OK for texinfo/6.5/texi2dvi.
=3D> SHA256 Checksum OK for texinfo/6.5/texinfo.tex.
. . .
=3D=3D=3D>   texinfo-6.5,1 depends on executable: help2man - not found
. . .
=3D> SHA256 Checksum OK for help2man-1.47.5.tar.xz.
. . .
=3D=3D=3D>   help2man-1.47.5 depends on package: p5-Locale-gettext>=3D0 - n=
ot found
. . .
=3D> SHA256 Checksum OK for gettext-1.07.tar.gz.
. . .
=3D=3D=3D>   p5-Locale-gettext-1.07 depends on executable: msgfmt - not fou=
nd
. . .
=3D> SHA256 Checksum OK for gettext-0.19.8.1.tar.xz.
. . .

It did find a couple of things (besides pkg):

=3D=3D=3D>   gettext-tools-0.19.8.1 depends on package: libiconv>=3D1.14_11=
 - found
=3D=3D=3D>   gettext-tools-0.19.8.1 depends on shared library: libintl.so -=
 found=20
(/usr/local/lib/libintl.so)

[NOTE: that /usr/local/lib/libintl.so path vs. the later
/wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/=
intl/.libs/libintl.so
path.]


It failed building devel/gettext-tools with:

/wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/=
intl/.libs/libintl.so:
undefined reference to `pthread_create'



Details:

--- recode-sr-latin ---
libtool: link: /usr/local/bin/powerpc64-unknown-freebsd12.0-gcc -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
--sysroot=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils
-fstack-protector -o .libs/recode-sr-latin recode_sr_latin-recode-sr-latin.o
recode_sr_latin-filter-sr-latin.o  ../gnulib-lib/.libs/libgettextlib.so
/wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/=
intl/.libs/libintl.so
-L/usr/local/lib ../intl/.libs/libintl.so -lm -lncurses -Wl,-rpath
-Wl,/usr/local/lib
. . .
--- recode-sr-latin ---
/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
*** [recode-sr-latin] Error code 1

make[11]: stopped in
/wrkdirs/usr/ports/devel/gettext-tools/work/gettext-0.19.8.1/gettext-tools/=
src
--- 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

--=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-9wudulTL3i>