[Bug 242053] devel/binutils 2.33.1 Failed build: ld: error: undefined symbol: bswap_identity_64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 16 19:49:44 UTC 2020


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

freebsd at bengrimm.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd at bengrimm.net

--- Comment #15 from freebsd at bengrimm.net ---
Is this the same issue? Only on FreeBSD 12.1-p2 amd64 (Poudriere):

https://pastebin.pl/view/652f7bb1

First and Last lines from Poudriere build:

=>> Building devel/binutils
build started at Sun Feb 16 20:29:34 CET 2020
port directory: /usr/ports/devel/binutils
package name: binutils-2.33.1_2,1
building for: FreeBSD Ben-FreeBSD12amd64-default-job-01 12.1-RELEASE-p2 FreeBSD
12.1-RELEASE-p2 amd64
maintained by: bapt at FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/binutils/Makefile 525129 2020-02-04
08:38:59Z manu $
Poudriere version: 3.3.99.20191210
Host OSVERSION: 1201000
Jail OSVERSION: 1201000
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1201000
UNAME_v=FreeBSD 12.1-RELEASE-p2
UNAME_r=12.1-RELEASE-p2
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20191210
MASTERMNT=/usr/local/poudriere/data/.m/Ben-FreeBSD12amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/usr/local/poudriere/data/.m/Ben-FreeBSD12amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=Ben-FreeBSD12amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/Ben-FreeBSD12amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=native
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=native
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for binutils-2.33.1_2,1:
     NLS=on: Native Language Support
     RELRO=off: enable -z relro in ELF linker by default
     STATIC=off: Build static executables and/or libraries
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bapt at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-system-zlib  --with-gmp=/usr/local  --with-mpfr=/usr/local 
--enable-targets=all  --enable-threads=yes --disable-werror 
--enable-deterministic-archives  --with-sysroot=/ 
--enable-x86-relax-relocations=no --enable-nls --enable-relro=no --enable-gold
--enable-plugins --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/binutils/work-native 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/binutils/work-native 
HOME=/wrkdirs/usr/ports/devel/binutils/work-native TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/devel/binutils/work-native/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
ac_cv_func_sbrk=0 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/binutils/work-native 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/binutils/work-native 
HOME=/wrkdirs/usr/ports/devel/binutils/work-native TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/devel/binutils/work-native/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
PREFIX=/usr/local  LOCALBASE=/usr/local  CC="clang" CFLAGS="-O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " 
CPP="clang-cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="
-fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="clang++" CXXFLAGS="-O2
-pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
 -Wno-c++11-narrowing -isystem /usr/local/include "  MANPREFIX="/usr/local"
BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"
 BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644" 
BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 NLS="" NO_NLS="@comment " RELRO="@comment " NO_RELRO="" STATIC="@comment "
NO_STATIC="" GOLD="" OSREL=12.1 PREFIX=%D LOCALBASE=/usr/local 
RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/binutils" 
EXAMPLESDIR="share/examples/binutils"  DATADIR="share/binutils" 
WWWDIR="www/binutils"  ETCDIR="etc/binutils"
--End PLIST_SUB--

--SUB_LIST--
 NLS="" NO_NLS="@comment " RELRO="@comment " NO_RELRO="" STATIC="@comment "
NO_STATIC="" PREFIX=/usr/local LOCALBASE=/usr/local 
DATADIR=/usr/local/share/binutils DOCSDIR=/usr/local/share/doc/binutils
EXAMPLESDIR=/usr/local/share/examples/binutils  WWWDIR=/usr/local/www/binutils
ETCDIR=/usr/local/etc/binutils
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/Ben-FreeBSD12amd64-make.conf ####
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs

OPTIONS_UNSET=X11

WITH_PKGNG=yes

CC=clang
CXX=clang++
CPP=clang-cpp

#DEFAULT_VERSIONS=  perl5=5.28 python=2.7 python2=2.7 php=72 apache=2.6
mysql=56 ssl=openssl
#DEFAULT_VERSIONS=  perl5=5.30 python=2.7 python2=2.7 php=73 apache=2.6
mysql=56 ssl=openssl
DEFAULT_VERSIONS=  perl5=5.30 python=3.6 python3=3.6 php=73 apache=2.6 mysql=56
ssl=openssl

WITH_SSP_PORTS=yes

SENDMAIL_CF_DIR= /usr/local/share/sendmail/cf
WITH_CCACHE_BUILD=yes

# aanzetten voor bijv. DCC
DISABLE_LICENSES=yes
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_00792546=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581)
(based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread model: posix
InstalledDir: /usr/bin
_ALTCCVERSION_00792546=none
_CXXINTERNAL_bf0c4528=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final
366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread model:
posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker"
"/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out"
"/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib"
"/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed"
"-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o"
"/usr/lib/crtn.o"
CC_OUTPUT_00792546_58173849=yes
CC_OUTPUT_00792546_9bdba57c=yes
CC_OUTPUT_00792546_6a4fe7f5=yes
CC_OUTPUT_00792546_6bcac02b=yes
CC_OUTPUT_00792546_67d20829=yes
CC_OUTPUT_00792546_bfa62e83=yes
CC_OUTPUT_00792546_f0b4d593=yes
CC_OUTPUT_00792546_308abb44=yes
CC_OUTPUT_00792546_f00456e5=yes
CC_OUTPUT_00792546_65ad290d=yes
CC_OUTPUT_00792546_f2776b26=yes
CC_OUTPUT_00792546_b2657cc3=yes
CC_OUTPUT_00792546_380987f7=yes
CC_OUTPUT_00792546_160933ec=yes
CC_OUTPUT_00792546_fb62803b=yes
_OBJC_CCVERSION_00792546=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final
366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd12.1 Thread model:
posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_00792546=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.1-RELEASE-p2
OSREL=12.1
OSVERSION=1201000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
_SMP_CPUS=12
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---

ranlib libgold.a
clang++ -W -Wall    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-frandom-seed=dwp  -pthread -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -Wno-c++11-narrowing -isystem
/usr/local/include   -fstack-protector-strong  -o dwp dwp.o libgold.a
../libiberty/libiberty.a  /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib   -lz -L/usr/local/lib
clang++ -W -Wall    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-frandom-seed=ld-new  -pthread -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -Wno-c++11-narrowing -isystem
/usr/local/include   -fstack-protector-strong  -o ld-new main.o i386.o x86_64.o
sparc.o powerpc.o arm.o arm-reloc-property.o tilegx.o mips.o aarch64.o
aarch64-reloc-property.o s390.o libgold.a ../libiberty/libiberty.a 
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib   -lz -L/usr/local/lib
clang++ -W -Wall    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-frandom-seed=incremental-dump  -pthread -O2 -pipe -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing  -Wno-c++11-narrowing -isystem
/usr/local/include  -pthread -fstack-protector-strong  -o incremental-dump
incremental-dump.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o
tilegx.o mips.o aarch64.o aarch64-reloc-property.o s390.o libgold.a
../libiberty/libiberty.a /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib   -lz -L/usr/local/lib
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1/gold'
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1/gold'
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1/gold'
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1'
gmake[1]: *** [Makefile:851: all] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/devel/binutils/work-native/binutils-2.33.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/binutils
=>> Cleaning up wrkdir
===>  Cleaning for binutils-2.33.1_2,1
build of devel/binutils | binutils-2.33.1_2,1 ended at Sun Feb 16 20:30:23 CET
2020
build time: 00:00:49
!!! build failure encountered !!!

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


More information about the freebsd-ports-bugs mailing list